4 # Copyright (C) 2002 Jörg Lehmann <joergl@users.sourceforge.net>
5 # Copyright (C) 2002 André Wobst <wobsta@users.sourceforge.net>
7 # This file is part of PyX (http://pyx.sourceforge.net/).
9 # PyX is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 2 of the License, or
12 # (at your option) any later version.
14 # PyX is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with PyX; if not, write to the Free Software
21 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 import sys
; sys
.path
[:0] = ["../..", ".."]
27 from test_data
import DataTestCase
28 from test_mathtree
import MathTreeTestCase
29 from test_part
import ManualPartTestCase
, LinPartTestCase
, LogPartTestCase
30 from test_texter
import TexterTestCase
31 from test_trafo
import TrafoTestCase
32 from test_unit
import UnitTestCase
33 from test_helper
import AttrTestCase
35 # construct the test suite automagically
37 suite
= unittest
.TestSuite((unittest
.makeSuite(DataTestCase
, 'test'),
38 unittest
.makeSuite(LinPartTestCase
, 'test'),
39 unittest
.makeSuite(LogPartTestCase
, 'test'),
40 unittest
.makeSuite(ManualPartTestCase
, 'test'),
41 unittest
.makeSuite(TexterTestCase
, 'test'),
42 unittest
.makeSuite(MathTreeTestCase
, 'test'),
43 unittest
.makeSuite(UnitTestCase
, 'test'),
44 unittest
.makeSuite(AttrTestCase
, 'test'),
45 unittest
.makeSuite(TrafoTestCase
, 'test'),
48 if __name__
== "__main__":
49 runner
= unittest
.TextTestRunner()