General KERNEL Documentation     End User KERNEL Services  


LifeCycleCORBA_SWIGTest::LifeCycleCORBA_SWIGTest Class Reference

Inheritance diagram for LifeCycleCORBA_SWIGTest::LifeCycleCORBA_SWIGTest:

Inheritance graph
Collaboration diagram for LifeCycleCORBA_SWIGTest::LifeCycleCORBA_SWIGTest:

Collaboration graph

Public Member Functions

def setUp
def tearDown
def test001_FindOrLoad_Component_LaunchContainer
def test002_FindOrLoad_Component_SameInstance
def test003_FindOrLoad_Component_PythonInCppContainer
def test004_FindOrLoad_Component_PythonSameInstance
def test005_FindOrLoad_Component_UnknownInCatalog
def test006_FindOrLoad_Component_LaunchContainerHostname
def test007_FindOrLoad_Component_SameContainer
def test008_FindOrLoad_Component_UnknownMachine

Data Fields

 lcc

Member Function Documentation

def LifeCycleCORBA_SWIGTest::LifeCycleCORBA_SWIGTest::setUp   self  ) 
 

def LifeCycleCORBA_SWIGTest::LifeCycleCORBA_SWIGTest::tearDown   self  ) 
 

def LifeCycleCORBA_SWIGTest::LifeCycleCORBA_SWIGTest::test001_FindOrLoad_Component_LaunchContainer   self  ) 
 

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      

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

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,

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

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

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

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


Field Documentation

LifeCycleCORBA_SWIGTest::LifeCycleCORBA_SWIGTest::lcc