2 #ifndef _LIFECYCLECORBATEST_HXX_
3 #define _LIFECYCLECORBATEST_HXX_
5 #include <cppunit/extensions/HelperMacros.h>
7 #include <SALOMEconfig.h>
8 #include CORBA_CLIENT_HEADER(SALOME_Component)
9 #include CORBA_CLIENT_HEADER(SALOME_TestComponent)
10 #include "SALOME_NamingService.hxx"
12 class LifeCycleCORBATest : public CppUnit::TestFixture
14 CPPUNIT_TEST_SUITE( LifeCycleCORBATest );
15 CPPUNIT_TEST( testFindOrLoad_Component_LaunchContainer );
16 CPPUNIT_TEST( testFindOrLoad_Component_SameInstance );
17 CPPUNIT_TEST( testFindOrLoad_Component_PythonInCppContainer );
18 CPPUNIT_TEST( testFindOrLoad_Component_PythonSameInstance );
19 CPPUNIT_TEST( testFindOrLoad_Component_UnknownInCatalog );
20 CPPUNIT_TEST( testFindOrLoad_Component_LaunchContainerHostname );
21 CPPUNIT_TEST( testFindOrLoad_Component_SameContainer );
22 CPPUNIT_TEST( testFindOrLoad_Component_UnknownMachine );
23 CPPUNIT_TEST( testFindOrLoad_Component_ParamsEmpty );
24 CPPUNIT_TEST( testFindOrLoad_Component_ParamsLocalContainer );
25 CPPUNIT_TEST( testFindOrLoad_Component_ParamsContainerName );
26 CPPUNIT_TEST( testFindOrLoad_Component_RemoteComputer );
27 CPPUNIT_TEST( testFindOrLoad_Component_ParamsRemoteComputer );
28 CPPUNIT_TEST( testFindOrLoad_Component_ParamsRemoteComputer2 );
29 // CPPUNIT_TEST( testFindOrLoad_Component_ );
30 // CPPUNIT_TEST( testFindOrLoad_Component_ );
33 CPPUNIT_TEST_SUITE_END();
40 void testFindOrLoad_Component_LaunchContainer();
41 void testFindOrLoad_Component_SameInstance();
42 void testFindOrLoad_Component_PythonInCppContainer();
43 void testFindOrLoad_Component_PythonSameInstance();
44 void testFindOrLoad_Component_UnknownInCatalog();
45 void testFindOrLoad_Component_LaunchContainerHostname();
46 void testFindOrLoad_Component_SameContainer();
47 void testFindOrLoad_Component_UnknownMachine();
48 void testFindOrLoad_Component_ParamsEmpty();
49 void testFindOrLoad_Component_ParamsLocalContainer();
50 void testFindOrLoad_Component_ParamsContainerName();
51 void testFindOrLoad_Component_RemoteComputer();
52 void testFindOrLoad_Component_ParamsRemoteComputer();
53 void testFindOrLoad_Component_ParamsRemoteComputer2();
54 // void testFindOrLoad_Component_();
55 // void testFindOrLoad_Component_();
58 std::string GetRemoteHost();
60 SALOME_NamingService _NS;