Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
62a1ced4
Commit
62a1ced4
authored
Dec 26, 2011
by
Pavel Vainerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
немного поменял тест
parent
ec93e3e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
ui.cc
tests/ui.cc
+12
-1
uitest.sh
tests/uitest.sh
+1
-1
No files found.
tests/ui.cc
View file @
62a1ced4
...
@@ -9,7 +9,18 @@ int main( int argc, const char **argv )
...
@@ -9,7 +9,18 @@ int main( int argc, const char **argv )
{
{
try
try
{
{
//UniSetTypes::Configuration* myconf = new UniSetTypes::Configuration(argc,argv,"test.xml");
// UniversalInterface* ui = new UniversalInterface(myconf);
//cout << "************************ myconf=" << myconf << " conf=" << UniSetTypes::conf << endl;
UniSetTypes
::
Configuration
*
myconf2
=
new
UniSetTypes
::
Configuration
(
argc
,
argv
,
"conf21300.xml"
);
UniversalInterface
*
ui2
=
new
UniversalInterface
(
myconf2
);
cout
<<
"************************ myconf2="
<<
myconf2
<<
" conf="
<<
UniSetTypes
::
conf
<<
endl
;
// cout << "Conf1: get=" << ui1->getValue(12) << endl;
cout
<<
"Conf2: get="
<<
ui2
->
getValue
(
200033
)
<<
endl
;
#if 0
uniset_init(argc,argv,"test.xml");
uniset_init(argc,argv,"test.xml");
UniversalInterface ui;
UniversalInterface ui;
...
@@ -51,7 +62,7 @@ int main( int argc, const char **argv )
...
@@ -51,7 +62,7 @@ int main( int argc, const char **argv )
cout << "id=" << id
cout << "id=" << id
<< " value=" << inf.value
<< " value=" << inf.value
<< " last changed: " << string(t_str) << endl;
<< " last changed: " << string(t_str) << endl;
#endif
}
}
catch
(
Exception
&
ex
)
catch
(
Exception
&
ex
)
{
{
...
...
tests/uitest.sh
View file @
62a1ced4
...
@@ -4,6 +4,6 @@ SID=$1
...
@@ -4,6 +4,6 @@ SID=$1
[
-z
"
$SID
"
]
&&
SID
=
1
[
-z
"
$SID
"
]
&&
SID
=
1
uniset-start.sh
-f
./ui
--confile
test.xml
--sid
$SID
uniset-start.sh
-f
./ui
--confile
test.xml
--sid
$SID
-ORBtraceLevel
20
#--unideb-add-levels system,info,level9
#--unideb-add-levels system,info,level9
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment