/[escript]/branches/domexper/finley/test/python/run_escriptOnFinley.py
ViewVC logotype

Diff of /branches/domexper/finley/test/python/run_escriptOnFinley.py

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

revision 1063 by gross, Mon Mar 26 08:29:18 2007 UTC revision 1141 by gross, Tue May 15 04:24:51 2007 UTC
# Line 12  from esys.escript import * Line 12  from esys.escript import *
12  from esys.finley import Rectangle  from esys.finley import Rectangle
13  import sys  import sys
14  import os  import os
15  from test_objects import Test_Dump as Test_Dump  from test_objects import Test_Dump, Test_SetDataPointValue
16  from test_objects import Test_Domain as Test_Domain  from test_objects import Test_Domain
17    
18  try:  try:
19       FINLEY_WORKDIR=os.environ['FINLEY_WORKDIR']       FINLEY_WORKDIR=os.environ['FINLEY_WORKDIR']
# Line 26  class Test_DomainOnFinley(Test_Domain): Line 26  class Test_DomainOnFinley(Test_Domain):
26         self.domain =Rectangle(NE,NE+1,2)         self.domain =Rectangle(NE,NE+1,2)
27     def tearDown(self):     def tearDown(self):
28         del self.domain         del self.domain
29  class Test_DumpOnFinley(Test_Dump):  class Test_DataOpsOnFinley(Test_Dump): # , Test_SetDataPointValue):
30     def setUp(self):     def setUp(self):
31         self.domain =Rectangle(NE,NE+1,2)         self.domain =Rectangle(NE,NE+1,2)
32         self.domain_with_different_number_of_samples =Rectangle(2*NE,NE+1,2)         self.domain_with_different_number_of_samples =Rectangle(2*NE,NE+1,2)
33         self.domain_with_different_number_of_data_points_per_sample =Rectangle(2*NE,NE+1,2,integrationOrder=2)         self.domain_with_different_number_of_data_points_per_sample =Rectangle(2*NE,NE+1,2,integrationOrder=2)
34         self.domain_with_different_sample_ordering =Rectangle(1,(NE+1)*NE,2)         self.domain_with_different_sample_ordering =Rectangle(1,(NE+1)*NE,2)
35         self.filebase=FINLEY_WORKDIR         self.filename_base=FINLEY_WORKDIR
36    
37     def tearDown(self):     def tearDown(self):
38         del self.domain         del self.domain
# Line 42  class Test_DumpOnFinley(Test_Dump): Line 42  class Test_DumpOnFinley(Test_Dump):
42    
43  if __name__ == '__main__':  if __name__ == '__main__':
44     suite = unittest.TestSuite()     suite = unittest.TestSuite()
45     suite.addTest(unittest.makeSuite(Test_DumpOnFinley))     suite.addTest(unittest.makeSuite(Test_DataOpsOnFinley))
46     suite.addTest(unittest.makeSuite(Test_DomainOnFinley))     # suite.addTest(unittest.makeSuite(Test_DomainOnFinley))
47     s=unittest.TextTestRunner(verbosity=2).run(suite)     s=unittest.TextTestRunner(verbosity=2).run(suite)
48     if s.wasSuccessful():     if s.wasSuccessful():
49       sys.exit(0)       sys.exit(0)

Legend:
Removed from v.1063  
changed lines
  Added in v.1141

  ViewVC Help
Powered by ViewVC 1.1.26