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

Diff of /trunk/pyvisi/test/python/run_map.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1067 by jongui, Wed Mar 28 04:14:13 2007 UTC revision 1068 by jongui, Wed Mar 28 22:26:00 2007 UTC
# Line 45  class TestMapOneViewport(unittest.TestCa Line 45  class TestMapOneViewport(unittest.TestCa
45                  viewport = Viewport.SOUTH_WEST, lut = Lut.COLOR,                  viewport = Viewport.SOUTH_WEST, lut = Lut.COLOR,
46                  cell_to_point = False, outline = True)                  cell_to_point = False, outline = True)
47    
48      def testSetOpacity(self):      def testOneViewport(self):
49          self.map.setOpacity(opacity = 0.5)          self.render("TestMapOneViewport.jpg")  
         self.render("TestMapOneViewport_testSetOpacity.jpg")      
   
     def testSetColor(self):  
         self.map.setColor(color = Color.ORANGE)  
         self.render("TestMapOneViewport_testSetColor.jpg")  
   
     def testSetRepresentationToWireframe(self):  
         self.map.setRepresentationToWireframe()  
         self.render("TestMapOneViewport_testSetRepresentationToWireframe.jpg")  
50    
51  class TestMapFourViewports(unittest.TestCase, TestMap):  class TestMapFourViewports(unittest.TestCase, TestMap):
52      def setUp(self):      def setUp(self):

Legend:
Removed from v.1067  
changed lines
  Added in v.1068

  ViewVC Help
Powered by ViewVC 1.1.26