Version: 9.12.0
LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest Class Reference
Inheritance diagram for LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest:

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
 

Member Function Documentation

◆ setUp()

def LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.setUp (   self)

◆ tearDown()

def LifeCycleCORBA_SWIGTest.LifeCycleCORBA_SWIGTest.tearDown (   self)

◆ test001_FindOrLoad_Component_LaunchContainer()

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

◆ test002_FindOrLoad_Component_SameInstance()

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.

◆ test003_FindOrLoad_Component_PythonInCppContainer()

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.

◆ test004_FindOrLoad_Component_PythonSameInstance()

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.

◆ test005_FindOrLoad_Component_UnknownInCatalog()

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.

◆ test006_FindOrLoad_Component_LaunchContainerHostname()

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.

◆ test007_FindOrLoad_Component_SameContainer()

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.

◆ test008_FindOrLoad_Component_UnknownMachine()

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.

Field Documentation

◆ lcc