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

Annotation of /trunk/pyvisi/test/python/run_renderes.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 822 - (hide annotations)
Tue Aug 29 01:39:27 2006 UTC (14 years, 3 months ago) by jongui
File MIME type: text/x-python
File size: 1188 byte(s)
Added:
trunk/pyvisi/py_src/driver.py

Modified:
trunk/pyvisi/py_src/datacollector.py
trunk/pyvisi/py_src/map.py
trunk/pyvisi/py_src/scene.py


1 gross 792 # $Id$
2     """
3     runs the pyvisi tests
4    
5     @var __author__: name of author
6     @var __copyright__: copyrights
7     @var __license__: licence agreement
8     @var __url__: url entry point on documentation
9     @var __version__: version
10     @var __date__: date of the version
11     """
12    
13     __author__="Lutz Gross, l.gross@uq.edu.au"
14     __copyright__=""" Copyright (c) 2006 by ACcESS MNRF
15     http://www.access.edu.au
16     Primary Business: Queensland, Australia"""
17     __license__="""Licensed under the Open Software License version 3.0
18     http://www.opensource.org/licenses/osl-3.0.php"""
19     __url__="http://www.iservo.edu.au/esys/escript"
20     __version__="$Revision$"
21     __date__="$Date$"
22    
23     from test_pyvisi import *
24    
25     class Test_vtk_jpeg(Test_pyvisi):
26     def setUp(self):
27 jongui 822 self.scene=OpenScene(renderer="vtk_jpeg")
28 gross 792
29 jongui 822 class Test_vtk_ps(Test_pyvisi):
30     def setUp(self):
31     self.scene=OpenScene(renderer="vtk_ps")
32 gross 792
33    
34    
35     if __name__ == '__main__':
36     suite = unittest.TestSuite()
37     suite.addTest(unittest.makeSuite(Test_vtk_jpeg))
38 jongui 822 suite.addTest(unittest.makeSuite(Test_vtk_ps))
39 gross 792 s=unittest.TextTestRunner(verbosity=2).run(suite)
40     if s.wasSuccessful():
41     sys.exit(0)
42     else:
43     sys.exit(1)

  ViewVC Help
Powered by ViewVC 1.1.26