コード例 #1
0
    def setUp(self):
        bld = aster_s.StudyBuilder()
        sstd = bld.create_salome_study("std", register=True)
        astd = aster_s.Study(sstd)

        ceng = salome.lcc.FindOrLoadComponent("FactoryServerPy", "ASTER")
        eng = ceng._narrow(ASTER.ASTER_Gen)
        cstd = eng.AttachTo(sstd.sstd)

        self.bld = bld
        self.astd = astd
        self.cstd = cstd
        self.srv = build_srv()
        self.tmp_dir = SAT.TmpDir("run_cases_by_using_corba")
コード例 #2
0
 def setUp(self):
     self.bld = aster_s.StudyBuilder()
     self.std = self.bld.create("s")
     self.aster_version = aster_s.build_default_cfg()["aster-version"].value
     self.tmp_dir = AT.TmpDir("run_aster_from_salome")
コード例 #3
0
 def setUp(self):
     AsterStdTest.setUp(self)
     self.tmp_dir = SAT.TmpDir("load_data_from_object_browser")
コード例 #4
0
 def setUp(self):
     self.tmp_dir = AT.TmpDir("wizard_cases")
コード例 #5
0
 def setUp(self):
     self.srv = build_srv()
     self.tmp_dir = ST.TmpDir("test_aster_sockets")
コード例 #6
0
 def setUp(self):
     self.srv = build_srv()
     self.tmp_dir = ST.TmpDir("run_aster_solver")