]> SALOME platform Git repositories - modules/kernel.git/blob - src/LifeCycleCORBA/Test/LifeCycleCORBATest.hxx
Salome HOME
PR: merge from branch BR_UnitTests tag mergeto_trunk_17oct05
[modules/kernel.git] / src / LifeCycleCORBA / Test / LifeCycleCORBATest.hxx
1
2 #ifndef _LIFECYCLECORBATEST_HXX_
3 #define _LIFECYCLECORBATEST_HXX_
4
5 #include <cppunit/extensions/HelperMacros.h>
6
7 #include <SALOMEconfig.h>
8 #include CORBA_CLIENT_HEADER(SALOME_Component)
9 #include CORBA_CLIENT_HEADER(SALOME_TestComponent)
10 #include "SALOME_NamingService.hxx"
11
12 class LifeCycleCORBATest : public CppUnit::TestFixture
13 {
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_ );
31 //   CPPUNIT_TEST(  );
32 //   CPPUNIT_TEST(  );
33   CPPUNIT_TEST_SUITE_END();
34
35 public:
36
37   void setUp();
38   void tearDown();
39
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_();
56
57 protected:
58   std::string GetRemoteHost();
59   CORBA::ORB_var _orb;
60   SALOME_NamingService _NS;
61 };
62
63 #endif