FEM: unit test, add some print to distinguish the test classes
This commit is contained in:
@@ -60,6 +60,15 @@ class TestCcxTools(unittest.TestCase):
|
||||
'ccx'
|
||||
)
|
||||
|
||||
def test_00print(
|
||||
self
|
||||
):
|
||||
fcc_print("\n{0}\n{1} run FEM TestCcxTools tests {2}\n{0}".format(
|
||||
100 * "*",
|
||||
10 * "*",
|
||||
62 * "*"
|
||||
))
|
||||
|
||||
# ********************************************************************************************
|
||||
def test_1_static_analysis(
|
||||
self
|
||||
|
||||
@@ -48,6 +48,15 @@ class TestFemCommon(unittest.TestCase):
|
||||
FreeCAD.setActiveDocument(self.doc_name)
|
||||
self.active_doc = FreeCAD.ActiveDocument
|
||||
|
||||
def test_00print(
|
||||
self
|
||||
):
|
||||
fcc_print("\n{0}\n{1} run FEM TestFemCommon tests {2}\n{0}".format(
|
||||
100 * "*",
|
||||
10 * "*",
|
||||
61 * "*"
|
||||
))
|
||||
|
||||
# ********************************************************************************************
|
||||
def test_adding_refshaps(
|
||||
self
|
||||
|
||||
@@ -48,6 +48,15 @@ class TestMaterialUnits(unittest.TestCase):
|
||||
FreeCAD.setActiveDocument(self.doc_name)
|
||||
self.active_doc = FreeCAD.ActiveDocument
|
||||
|
||||
def test_00print(
|
||||
self
|
||||
):
|
||||
fcc_print("\n{0}\n{1} run FEM TestMaterialUnits tests {2}\n{0}".format(
|
||||
100 * "*",
|
||||
10 * "*",
|
||||
57 * "*"
|
||||
))
|
||||
|
||||
# ********************************************************************************************
|
||||
def test_known_quantity_units(
|
||||
self
|
||||
|
||||
@@ -50,6 +50,15 @@ class TestMeshCommon(unittest.TestCase):
|
||||
FreeCAD.setActiveDocument(self.doc_name)
|
||||
self.active_doc = FreeCAD.ActiveDocument
|
||||
|
||||
def test_00print(
|
||||
self
|
||||
):
|
||||
fcc_print("\n{0}\n{1} run FEM TestMeshCommon tests {2}\n{0}".format(
|
||||
100 * "*",
|
||||
10 * "*",
|
||||
60 * "*"
|
||||
))
|
||||
|
||||
# ********************************************************************************************
|
||||
def test_mesh_seg2_python(
|
||||
self
|
||||
@@ -281,6 +290,15 @@ class TestMeshEleTetra10(unittest.TestCase):
|
||||
fcc_print('\n')
|
||||
'''
|
||||
|
||||
def test_00print(
|
||||
self
|
||||
):
|
||||
fcc_print("\n{0}\n{1} run FEM TestMeshEleTetra10 tests {2}\n{0}".format(
|
||||
100 * "*",
|
||||
10 * "*",
|
||||
56 * "*"
|
||||
))
|
||||
|
||||
# ********************************************************************************************
|
||||
def get_file_paths(
|
||||
self,
|
||||
|
||||
@@ -48,6 +48,15 @@ class TestObjectCreate(unittest.TestCase):
|
||||
FreeCAD.setActiveDocument(self.doc_name)
|
||||
self.active_doc = FreeCAD.ActiveDocument
|
||||
|
||||
def test_00print(
|
||||
self
|
||||
):
|
||||
fcc_print("\n{0}\n{1} run FEM TestObjectCreate tests {2}\n{0}".format(
|
||||
100 * "*",
|
||||
10 * "*",
|
||||
58 * "*"
|
||||
))
|
||||
|
||||
# ********************************************************************************************
|
||||
def test_femobjects_make(
|
||||
self
|
||||
|
||||
@@ -49,6 +49,15 @@ class TestResult(unittest.TestCase):
|
||||
FreeCAD.setActiveDocument(self.doc_name)
|
||||
self.active_doc = FreeCAD.ActiveDocument
|
||||
|
||||
def test_00print(
|
||||
self
|
||||
):
|
||||
fcc_print("\n{0}\n{1} run FEM TestResult tests {2}\n{0}".format(
|
||||
100 * "*",
|
||||
10 * "*",
|
||||
64 * "*"
|
||||
))
|
||||
|
||||
# ********************************************************************************************
|
||||
def test_read_frd_massflow_networkpressure(
|
||||
self
|
||||
|
||||
@@ -56,6 +56,15 @@ class TestSolverFrameWork(unittest.TestCase):
|
||||
self.temp_dir = testtools.get_fem_test_tmp_dir()
|
||||
self.test_file_dir = join(testtools.get_fem_test_home_dir(), 'ccx')
|
||||
|
||||
def test_00print(
|
||||
self
|
||||
):
|
||||
fcc_print("\n{0}\n{1} run FEM TestSolverFrameWork tests {2}\n{0}".format(
|
||||
100 * "*",
|
||||
10 * "*",
|
||||
55 * "*"
|
||||
))
|
||||
|
||||
# ********************************************************************************************
|
||||
def test_solver_framework(
|
||||
self
|
||||
|
||||
Reference in New Issue
Block a user