23 #ifndef _LIFECYCLECORBATEST_HXX_
24 #define _LIFECYCLECORBATEST_HXX_
26 #include <cppunit/extensions/HelperMacros.h>
28 #include <SALOMEconfig.h>
29 #include CORBA_CLIENT_HEADER(SALOME_Component)
30 #include CORBA_CLIENT_HEADER(SALOME_TestComponent)
34 # if defined LIFECYCLECORBATEST_EXPORTS || defined LifeCycleCORBATest_EXPORTS
35 # define LIFECYCLECORBATEST_EXPORT __declspec( dllexport )
37 # define LIFECYCLECORBATEST_EXPORT __declspec( dllimport )
40 # define LIFECYCLECORBATEST_EXPORT
46 CPPUNIT_TEST( testFindOrLoad_Component_LaunchContainer );
47 CPPUNIT_TEST( testFindOrLoad_Component_SameInstance );
48 CPPUNIT_TEST( testFindOrLoad_Component_PythonInCppContainer );
49 CPPUNIT_TEST( testFindOrLoad_Component_PythonSameInstance );
50 CPPUNIT_TEST( testFindOrLoad_Component_UnknownInCatalog );
51 CPPUNIT_TEST( testFindOrLoad_Component_LaunchContainerHostname );
52 CPPUNIT_TEST( testFindOrLoad_Component_SameContainer );
53 CPPUNIT_TEST( testFindOrLoad_Component_UnknownMachine );
54 CPPUNIT_TEST( testFindOrLoad_Component_ParamsEmpty );
55 CPPUNIT_TEST( testFindOrLoad_Component_ParamsLocalContainer );
56 CPPUNIT_TEST( testFindOrLoad_Component_ParamsContainerName );
57 #ifdef SALOME_TEST_REMOTE
58 CPPUNIT_TEST( testFindOrLoad_Component_RemoteComputer );
59 CPPUNIT_TEST( testFindOrLoad_Component_ParamsRemoteComputer );
60 CPPUNIT_TEST( testFindOrLoad_Component_ParamsRemoteComputer2 );
62 CPPUNIT_TEST( testgetLocalFile_localComputer );
63 #ifdef SALOME_TEST_REMOTE
64 CPPUNIT_TEST( testgetLocalFile_remoteComputer );
69 CPPUNIT_TEST_SUITE_END();
76 void testFindOrLoad_Component_LaunchContainer();
77 void testFindOrLoad_Component_SameInstance();
78 void testFindOrLoad_Component_PythonInCppContainer();
79 void testFindOrLoad_Component_PythonSameInstance();
80 void testFindOrLoad_Component_UnknownInCatalog();
81 void testFindOrLoad_Component_LaunchContainerHostname();
82 void testFindOrLoad_Component_SameContainer();
83 void testFindOrLoad_Component_UnknownMachine();
84 void testFindOrLoad_Component_ParamsEmpty();
85 void testFindOrLoad_Component_ParamsLocalContainer();
86 void testFindOrLoad_Component_ParamsContainerName();
87 void testFindOrLoad_Component_RemoteComputer();
88 void testFindOrLoad_Component_ParamsRemoteComputer();
89 void testFindOrLoad_Component_ParamsRemoteComputer2();
90 void testgetLocalFile_localComputer();
91 void testgetLocalFile_remoteComputer();
96 std::string GetRemoteHost();