
Public Member Functions | |
| def | setUp (self) |
| def | tearDown (self) |
| def | test001_FindOrLoad_Component_LaunchContainer (self) |
| def | test002_FindOrLoad_Component_SameInstance (self) |
| def | test003_FindOrLoad_Component_PythonInCppContainer (self) |
| def | test004_FindOrLoad_Component_PythonSameInstance (self) |
| def | test005_FindOrLoad_Component_UnknownInCatalog (self) |
| def | test006_FindOrLoad_Component_LaunchContainerHostname (self) |
| def | test007_FindOrLoad_Component_SameContainer (self) |
| def | test008_FindOrLoad_Component_UnknownMachine (self) |
Data Fields | |
| lcc | |
| def LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.setUp | ( | self | ) |
| def LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.tearDown | ( | self | ) |
| def LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.test001_FindOrLoad_Component_LaunchContainer | ( | self | ) |
get a local container (no hostname given), load an engine, check that the CORBA object is not null. check narrow
| def LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.test002_FindOrLoad_Component_SameInstance | ( | self | ) |
Check FindOrLoad_Component. Call 2 times FindOrLoad_Component with the same parameters, check if we get the same engine
References studyedit.StudyEditor.lcc(), KERNEL_PY.kernel.studyedit.StudyEditor.lcc(), and LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.lcc.
| def LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.test003_FindOrLoad_Component_PythonInCppContainer | ( | self | ) |
Check FindOrLoad_Component with Python Component on C++ Container, load an engine, check that the CORBA object is not null. check narrow
References studyedit.StudyEditor.lcc(), KERNEL_PY.kernel.studyedit.StudyEditor.lcc(), and LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.lcc.
| def LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.test004_FindOrLoad_Component_PythonSameInstance | ( | self | ) |
Check FindOrLoad_Component with Python Component on C++ Container, Call 2 times FindOrLoad_Component with the same parameters, check if we get the same engine,
References studyedit.StudyEditor.lcc(), KERNEL_PY.kernel.studyedit.StudyEditor.lcc(), and LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.lcc.
| def LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.test005_FindOrLoad_Component_UnknownInCatalog | ( | self | ) |
Check FindOrLoad_Component with a component name not in catalog. See list of catalog given to module catalog server. Here, we work with KERNEL_SRC/resources/KERNELCatalog.xml that contains only KERNEL, SalomeTestComponent and SALOME_TestComponentPy
References studyedit.StudyEditor.lcc(), KERNEL_PY.kernel.studyedit.StudyEditor.lcc(), and LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.lcc.
| def LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.test006_FindOrLoad_Component_LaunchContainerHostname | ( | self | ) |
Check FindOrLoad_Component with hostname given. get a local container : getHostName()/componentName, load an engine, check that the CORBA object is not null. check narrow
References Utils_Identity.getShortHostName(), studyedit.StudyEditor.lcc(), KERNEL_PY.kernel.studyedit.StudyEditor.lcc(), and LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.lcc.
| def LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.test007_FindOrLoad_Component_SameContainer | ( | self | ) |
Check FindOrLoad_Component with and without local hostname given. We must get the same container, the same instance of component
References Utils_Identity.getShortHostName(), studyedit.StudyEditor.lcc(), KERNEL_PY.kernel.studyedit.StudyEditor.lcc(), and LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.lcc.
| def LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.test008_FindOrLoad_Component_UnknownMachine | ( | self | ) |
Check FindOrLoad_Component: check behaviour when ask for an unknown computer. We must catch a Salome Exception with "unknown host" message
References studyedit.StudyEditor.lcc(), KERNEL_PY.kernel.studyedit.StudyEditor.lcc(), and LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.lcc.
| LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.lcc |
Referenced by studyedit.StudyEditor.findOrCreateComponent(), KERNEL_PY.kernel.studyedit.StudyEditor.findOrCreateComponent(), studyedit.StudyEditor.loadComponentEngine(), KERNEL_PY.kernel.studyedit.StudyEditor.loadComponentEngine(), LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.test002_FindOrLoad_Component_SameInstance(), LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.test003_FindOrLoad_Component_PythonInCppContainer(), LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.test004_FindOrLoad_Component_PythonSameInstance(), LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.test005_FindOrLoad_Component_UnknownInCatalog(), LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.test006_FindOrLoad_Component_LaunchContainerHostname(), LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.test007_FindOrLoad_Component_SameContainer(), and LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.test008_FindOrLoad_Component_UnknownMachine().