Commit 62a1ced4 authored by Pavel Vainerman's avatar Pavel Vainerman

немного поменял тест

parent ec93e3e1
...@@ -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 )
{ {
......
...@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment