source: TI02-CSML/trunk/services/3rdParty/GeoTypes-0.6.0/tests/RunAllTests.py @ 2194

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI02-CSML/trunk/services/3rdParty/GeoTypes-0.6.0/tests/RunAllTests.py@2194
Revision 2194, 1.1 KB checked in by lawrence, 13 years ago (diff)

Adding various specs and 3rd party code of interest for the CSML
services development.

Line 
1################################################################################
2# Copyright (c) QinetiQ Plc 2003
3#
4# Licensed under the LGPL. For full license details see the LICENSE file.
5################################################################################
6
7import unittest
8
9import sys
10sys.path = sys.path + ['../GeoTypes']
11
12test_modules = ['Box_Test',
13                'Circle_Test',
14                'LineSeg_Test',
15                'Path_Test',
16                'Point_Test',
17                'Polygon_Test',
18                'OGPoint_Test',
19                'OGLineString_Test',
20                'OGLinearRing_Test',
21                'OGGeometryCollection_Test',
22                'OGMultiPoint_Test',
23                'OGMultiLineString_Test',
24                'OGMultiPolygon_Test',
25                'GeoTypes_Test',
26                'OGGeoTypes_Test',
27                'PsycopgInit_Test']
28
29testloader = unittest.TestLoader()
30testsuite = unittest.TestSuite()
31
32for test in test_modules:
33    module = __import__(test)
34    testsuite.addTest(testloader.loadTestsFromModule(module))
35
36
37
38unittest.TextTestRunner().run(testsuite)
Note: See TracBrowser for help on using the repository browser.