23 #ifndef _LIFECYCLECORBATEST_HXX_
24 #define _LIFECYCLECORBATEST_HXX_
26 #include <cppunit/extensions/HelperMacros.h>
29 #include <SALOMEconfig.h>
30 #include CORBA_CLIENT_HEADER(SALOME_Component)
31 #include CORBA_CLIENT_HEADER(SALOME_TestComponent)
32 #include "SALOME_NamingService.hxx"
35 # if defined LIFECYCLECORBATEST_EXPORTS || defined LifeCycleCORBATest_EXPORTS
36 # define LIFECYCLECORBATEST_EXPORT __declspec( dllexport )
38 # define LIFECYCLECORBATEST_EXPORT __declspec( dllimport )
41 # define LIFECYCLECORBATEST_EXPORT
47 CPPUNIT_TEST( testFindOrLoad_Component_LaunchContainer );
48 CPPUNIT_TEST( testFindOrLoad_Component_SameInstance );
49 CPPUNIT_TEST( testFindOrLoad_Component_PythonInCppContainer );
50 CPPUNIT_TEST( testFindOrLoad_Component_PythonSameInstance );
51 CPPUNIT_TEST( testFindOrLoad_Component_UnknownInCatalog );
52 CPPUNIT_TEST( testFindOrLoad_Component_LaunchContainerHostname );
53 CPPUNIT_TEST( testFindOrLoad_Component_SameContainer );
54 CPPUNIT_TEST( testFindOrLoad_Component_UnknownMachine );
55 CPPUNIT_TEST( testFindOrLoad_Component_ParamsEmpty );
56 CPPUNIT_TEST( testFindOrLoad_Component_ParamsLocalContainer );
57 CPPUNIT_TEST( testFindOrLoad_Component_ParamsContainerName );
58 #ifdef SALOME_TEST_REMOTE
59 CPPUNIT_TEST( testFindOrLoad_Component_RemoteComputer );
60 CPPUNIT_TEST( testFindOrLoad_Component_ParamsRemoteComputer );
61 CPPUNIT_TEST( testFindOrLoad_Component_ParamsRemoteComputer2 );
63 CPPUNIT_TEST( testgetLocalFile_localComputer );
64 #ifdef SALOME_TEST_REMOTE
65 CPPUNIT_TEST( testgetLocalFile_remoteComputer );
70 CPPUNIT_TEST_SUITE_END();
77 void testFindOrLoad_Component_LaunchContainer();
78 void testFindOrLoad_Component_SameInstance();
79 void testFindOrLoad_Component_PythonInCppContainer();
80 void testFindOrLoad_Component_PythonSameInstance();
81 void testFindOrLoad_Component_UnknownInCatalog();
82 void testFindOrLoad_Component_LaunchContainerHostname();
83 void testFindOrLoad_Component_SameContainer();
84 void testFindOrLoad_Component_UnknownMachine();
85 void testFindOrLoad_Component_ParamsEmpty();
86 void testFindOrLoad_Component_ParamsLocalContainer();
87 void testFindOrLoad_Component_ParamsContainerName();
88 void testFindOrLoad_Component_RemoteComputer();
89 void testFindOrLoad_Component_ParamsRemoteComputer();
90 void testFindOrLoad_Component_ParamsRemoteComputer2();
91 void testgetLocalFile_localComputer();
92 void testgetLocalFile_remoteComputer();
97 std::string _getTraceFileName();
100 std::string GetRemoteHost();