forked from tpaviot/pythonocc-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_tests.py
More file actions
47 lines (41 loc) · 1.61 KB
/
Copy pathrun_tests.py
File metadata and controls
47 lines (41 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/usr/bin/env python
##Copyright 2009-2016 Thomas Paviot (tpaviot@gmail.com)
##
##This file is part of pythonOCC.
##
##pythonOCC is free software: you can redistribute it and/or modify
##it under the terms of the GNU Lesser General Public License as published by
##the Free Software Foundation, either version 3 of the License, or
##(at your option) any later version.
##
##pythonOCC is distributed in the hope that it will be useful,
##but WITHOUT ANY WARRANTY; without even the implied warranty of
##MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
##GNU Lesser General Public License for more details.
##
##You should have received a copy of the GNU Lesser General Public License
##along with pythonOCC. If not, see <http://www.gnu.org/licenses/>.
import unittest
import core_wrapper_features_unittest
import core_geometry_unittest
import core_tesselator_unittest
import core_extend_topology_unittest
import core_webgl_unittest
import core_extend_dataexchange_unittest
import core_extend_shapefactory_unittest
import core_ocaf_unittest
suite = unittest.TestSuite()
# Get all test suites from modules
suite1 = core_wrapper_features_unittest.suite()
suite2 = core_geometry_unittest.suite()
suite3 = core_tesselator_unittest.suite()
suite4 = core_ocaf_unittest.suite()
suite5 = core_webgl_unittest.suite()
suite6 = core_extend_topology_unittest.suite()
suite7 = core_extend_dataexchange_unittest.suite()
suite8 = core_extend_shapefactory_unittest.suite()
# Add test cases
tests = [suite1, suite2, suite3, suite4, suite5, suite6, suite7, suite8]
suite.addTests(tests)
# Run test suite
unittest.TextTestRunner(verbosity=2).run(suite)