Back to index

salome-smesh  6.5.0
Variables
unittests.usecase_meshJobManager Namespace Reference

Variables

tuple configReader = ConfigReader()
tuple defaultConfig = configReader.getDefaultConfig()
tuple file_concrete = os.path.join(spadder.getTestDataDir(),"concrete.med")
tuple file_steelbar = os.path.join(spadder.getTestDataDir(),"ferraill.med")
tuple component = salome.lcc.FindOrLoadComponent("FactoryServer","MeshJobManager")
tuple config
list meshJobParameterList = []
tuple param
tuple jobid = component.initialize(meshJobParameterList, "localhost")
tuple ok = component.start(jobid)
list run_states = ["CREATED", "IN_PROCESS", "QUEUED", "RUNNING", "PAUSED"]
list end_states = ["FINISHED", "ERROR"]
 all_states = run_states+end_states;
 ended = False
int nbiter = 0
tuple state = component.getState(jobid)
tuple meshJobResults = component.finalize(jobid)

Variable Documentation

Definition at line 83 of file usecase_meshJobManager.py.

tuple unittests.usecase_meshJobManager.component = salome.lcc.FindOrLoadComponent("FactoryServer","MeshJobManager")

Definition at line 52 of file usecase_meshJobManager.py.

Initial value:
00001 MESHJOB.ConfigParameter(resname=defaultConfig.resname,
00002                                  binpath=defaultConfig.binpath,
00003                                  envpath=defaultConfig.envpath)

Definition at line 53 of file usecase_meshJobManager.py.

Definition at line 33 of file usecase_meshJobManager.py.

tuple unittests.usecase_meshJobManager.defaultConfig = configReader.getDefaultConfig()

Definition at line 34 of file usecase_meshJobManager.py.

list unittests.usecase_meshJobManager.end_states = ["FINISHED", "ERROR"]

Definition at line 82 of file usecase_meshJobManager.py.

Definition at line 85 of file usecase_meshJobManager.py.

tuple unittests.usecase_meshJobManager.file_concrete = os.path.join(spadder.getTestDataDir(),"concrete.med")

Definition at line 38 of file usecase_meshJobManager.py.

tuple unittests.usecase_meshJobManager.file_steelbar = os.path.join(spadder.getTestDataDir(),"ferraill.med")

Definition at line 39 of file usecase_meshJobManager.py.

tuple unittests.usecase_meshJobManager.jobid = component.initialize(meshJobParameterList, "localhost")

Definition at line 71 of file usecase_meshJobManager.py.

Definition at line 61 of file usecase_meshJobManager.py.

Definition at line 100 of file usecase_meshJobManager.py.

Definition at line 86 of file usecase_meshJobManager.py.

tuple unittests.usecase_meshJobManager.ok = component.start(jobid)

Definition at line 76 of file usecase_meshJobManager.py.

Initial value:
00001 MESHJOB.MeshJobParameter(file_name=file_concrete,
00002                                  file_type=MESHJOB.MED_CONCRETE,
00003                                  group_name="concrete")

Definition at line 62 of file usecase_meshJobManager.py.

list unittests.usecase_meshJobManager.run_states = ["CREATED", "IN_PROCESS", "QUEUED", "RUNNING", "PAUSED"]

Definition at line 81 of file usecase_meshJobManager.py.

tuple unittests.usecase_meshJobManager.state = component.getState(jobid)

Definition at line 89 of file usecase_meshJobManager.py.