/[escript]/trunk/pyvisi/test/python/all_test.py
ViewVC logotype

Contents of /trunk/pyvisi/test/python/all_test.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1205 - (show annotations)
Fri Jun 29 04:44:04 2007 UTC (13 years ago) by jongui
File MIME type: text/x-python
File size: 7381 byte(s)
- Fixed a minor bug in the Velocity module.
- Added the Rectangle module which enables rectangles to be created.
- Added corresponding examples and test cases for the Rectangle.
- Updated the guide and necessary epydocs.



1 from run_camera import TestCamera2D, TestCamera3D
2 from run_carpet import TestCarpetScalarWarp, TestCarpetVectorWarp
3 from run_carpet_with_lazy_evaluation import TestCarpet
4 from run_contour import TestContour
5 from run_contour_with_lazy_evaluation import TestContourGenerate, \
6 TestContourOnPlaneCut, TestContourOnPlaneClip
7 from run_datacollector import TestSourceXml2DPointData, \
8 TestSourceXml2DCellData,TestSourceXml3DPointData, \
9 TestSourceXml3DCellData
10 from run_ellipsoid import TestEllipsoid
11 from run_ellipsoid_with_lazy_evaluation import TestEllipsoidScaleResolution, \
12 TestEllipsoidOnPlaneCut, TestEllipsoidOnPlaneClip
13 from run_escript_with_lazy_evaluation import TestEscriptMap, \
14 TestEscriptVelocity, TestEscriptEllipsoid
15 from run_image import TestImageOnAMap
16 from run_image_with_lazy_evaluation import TestImage
17 from run_light import TestLight2D, TestLight3D
18 from run_logo import TestAccessLogo
19 from run_logo_with_lazy_evaluation import TestLogo
20 from run_map import TestMapOneViewport, TestMapFourViewports, \
21 TestMap2DCellDataWithCellToPointConversion, \
22 TestMap2DCellDataWithoutCellToPointConversion, TestMap3DPointData, \
23 TestMap3DCellDataWithCellToPointConversion, \
24 TestMap3DCellDataWithoutCellToPointConversion, TestMap3DSecondOrder, \
25 TestMapGreyScaleLut, TestMapOnPlaneCut, TestMapOnPlaneClip, \
26 TestMapOnScalarClip
27 from run_map_with_lazy_evaluation import TestMapLazy, TestMapOnPlaneCutLazy, \
28 TestMapOnPlaneClipLazy, TestMapOnScalarClipLazy
29 from run_scene import TestSceneOneViewport, TestSceneFourViewports
30 from run_streamline import TestStreamLinePointSource, TestStreamLineModule, \
31 TestStreamLineTube
32 from run_streamline_with_lazy_evaluation import TestStreamLine
33 from run_text import TestText2D
34 from run_velocity import TestVelocity2DArrowVectorColor, \
35 TestVelocity2DArrowScalarColor, TestVelocity3DSecondOrder
36 from run_velocity_with_lazy_evaluation import TestVelocity, TestVelocityOnPlaneCut, TestVelocityOnPlaneClip
37 from run_exporter import TestVRMLExporter, TestIVExporter
38 from run_legend import TestLegend
39 from run_legend_with_lazy_evaluation import TestLegendWithLazyEvaluation
40 from run_movie_with_lazy_evaluation import TestGenerateMovie
41 from run_rectangle import TestRectangleOnAMap
42
43 import unittest
44
45 if __name__ == '__main__':
46 suite = unittest.TestSuite()
47 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestCamera2D))
48 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestCamera3D))
49 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestCarpetScalarWarp))
50 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestCarpetVectorWarp))
51 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestCarpet))
52 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestContour))
53 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestContourGenerate))
54 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestContourOnPlaneCut))
55 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestContourOnPlaneClip))
56 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestSourceXml2DPointData))
57 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestSourceXml2DCellData))
58 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestSourceXml3DPointData))
59 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestSourceXml3DCellData))
60 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestEllipsoid))
61 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestEllipsoidScaleResolution))
62 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestEllipsoidOnPlaneCut))
63 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestEllipsoidOnPlaneClip))
64 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestImageOnAMap))
65 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestImage))
66 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestLight2D))
67 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestLight3D))
68 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestAccessLogo))
69 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestLogo))
70 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestMapOneViewport))
71 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestMapFourViewports))
72 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestMap2DCellDataWithCellToPointConversion))
73 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestMap2DCellDataWithoutCellToPointConversion))
74 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestMap3DPointData))
75 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestMap3DCellDataWithCellToPointConversion))
76 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestMap3DCellDataWithoutCellToPointConversion))
77 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestMapGreyScaleLut))
78 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestMapOnPlaneCut))
79 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestMapOnPlaneClip))
80 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestMapOnScalarClip))
81 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestMap3DSecondOrder))
82 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestMapLazy))
83 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestMapOnPlaneCutLazy))
84 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestMapOnPlaneClipLazy))
85 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestMapOnScalarClipLazy))
86 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestSceneOneViewport))
87 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestSceneFourViewports))
88 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestText2D))
89 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestVelocity2DArrowVectorColor))
90 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestVelocity2DArrowScalarColor))
91 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestVelocity3DSecondOrder))
92 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestVelocity))
93 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestVelocityOnPlaneCut))
94 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestVelocityOnPlaneClip))
95 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestStreamLinePointSource))
96 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestStreamLineModule))
97 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestStreamLineTube))
98 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestStreamLine))
99 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestEscriptMap))
100 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestEscriptVelocity))
101 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestEscriptEllipsoid))
102 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestVRMLExporter))
103 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestIVExporter))
104 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestLegend))
105 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestLegendWithLazyEvaluation))
106 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestGenerateMovie))
107 suite.addTest(unittest.TestLoader().loadTestsFromTestCase(TestRectangleOnAMap))
108
109
110 unittest.TextTestRunner(verbosity=2).run(suite)
111

  ViewVC Help
Powered by ViewVC 1.1.26