/[escript]/trunk/finley/test/python/run_utilOnFinley.py
ViewVC logotype

Diff of /trunk/finley/test/python/run_utilOnFinley.py

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

revision 4983 by jfenwick, Wed May 14 01:13:23 2014 UTC revision 4984 by sshaw, Mon Jun 2 02:50:34 2014 UTC
# Line 22  http://www.opensource.org/licenses/osl-3 Line 22  http://www.opensource.org/licenses/osl-3
22  __url__="https://launchpad.net/escript-finley"  __url__="https://launchpad.net/escript-finley"
23    
24  import esys.escriptcore.utestselect as unittest  import esys.escriptcore.utestselect as unittest
25    from esys.escriptcore.testing import *
26  from test_util import Test_util as Test_util  from test_util import Test_util as Test_util
27  from test_util import Test_Util_SpatialFunctions, Test_Util_SpatialFunctions_noGradOnBoundary, Test_Util_SpatialFunctions_noGradOnBoundary_noContact  from test_util import Test_Util_SpatialFunctions, Test_Util_SpatialFunctions_noGradOnBoundary, Test_Util_SpatialFunctions_noGradOnBoundary_noContact
28    
# Line 103  class Test_Util_SpatialFunctionsOnFinley Line 104  class Test_Util_SpatialFunctionsOnFinley
104          del self.order          del self.order
105          del self.domain          del self.domain
106    
107    @unittest.skip("Test never added to test list")
108  class Test_Util_SpatialFunctionsOnFinleyHex2DOrder1(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):  class Test_Util_SpatialFunctionsOnFinleyHex2DOrder1(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):
109      def setUp(self):      def setUp(self):
110          self.order=1          self.order=1
# Line 111  class Test_Util_SpatialFunctionsOnFinley Line 113  class Test_Util_SpatialFunctionsOnFinley
113          del self.order          del self.order
114          del self.domain          del self.domain
115    
116    @unittest.skip("Test never added to test list")
117  class Test_Util_SpatialFunctionsOnFinleyHex2DOrder2(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):  class Test_Util_SpatialFunctionsOnFinleyHex2DOrder2(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):
118      def setUp(self):      def setUp(self):
119          self.order=2          self.order=2
# Line 119  class Test_Util_SpatialFunctionsOnFinley Line 122  class Test_Util_SpatialFunctionsOnFinley
122          del self.order          del self.order
123          del self.domain          del self.domain
124    
125    @unittest.skip("Test never added to test list")
126  class Test_Util_SpatialFunctionsOnFinleyHex2DMacro(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):  class Test_Util_SpatialFunctionsOnFinleyHex2DMacro(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):
127      def setUp(self):      def setUp(self):
128          self.order=1          self.order=1
# Line 127  class Test_Util_SpatialFunctionsOnFinley Line 131  class Test_Util_SpatialFunctionsOnFinley
131          del self.order          del self.order
132          del self.domain          del self.domain
133    
134    @unittest.skip("Test never added to test list")
135  class Test_Util_SpatialFunctionsOnFinleyHex3DOrder1(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):  class Test_Util_SpatialFunctionsOnFinleyHex3DOrder1(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):
136      def setUp(self):      def setUp(self):
137          self.order=1          self.order=1
# Line 135  class Test_Util_SpatialFunctionsOnFinley Line 140  class Test_Util_SpatialFunctionsOnFinley
140          del self.order          del self.order
141          del self.domain          del self.domain
142    
143    @unittest.skip("Test never added to test list")
144  class Test_Util_SpatialFunctionsOnFinleyHex3DOrder2(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):  class Test_Util_SpatialFunctionsOnFinleyHex3DOrder2(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):
145      def setUp(self):      def setUp(self):
146          self.order=2          self.order=2
# Line 143  class Test_Util_SpatialFunctionsOnFinley Line 149  class Test_Util_SpatialFunctionsOnFinley
149          del self.order          del self.order
150          del self.domain          del self.domain
151    
152    @unittest.skip("Test never added to test list")
153  class Test_Util_SpatialFunctionsOnFinleyHex3DMacro(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):  class Test_Util_SpatialFunctionsOnFinleyHex3DMacro(Test_Util_SpatialFunctions_noGradOnBoundary_noContact):
154      def setUp(self):      def setUp(self):
155          self.order=1          self.order=1
# Line 151  class Test_Util_SpatialFunctionsOnFinley Line 158  class Test_Util_SpatialFunctionsOnFinley
158          del self.order          del self.order
159          del self.domain          del self.domain
160    
161    @unittest.skip("Test never added to test list")
162  class Test_Util_SpatialFunctionsOnFinleyHex2DOrder1withContact(Test_Util_SpatialFunctions_noGradOnBoundary):  class Test_Util_SpatialFunctionsOnFinleyHex2DOrder1withContact(Test_Util_SpatialFunctions_noGradOnBoundary):
163      def setUp(self):      def setUp(self):
164          self.order=1          self.order=1
# Line 162  class Test_Util_SpatialFunctionsOnFinley Line 170  class Test_Util_SpatialFunctionsOnFinley
170          del self.order          del self.order
171          del self.domain          del self.domain
172    
173    @unittest.skip("Test never added to test list")
174  class Test_Util_SpatialFunctionsOnFinleyHex2DOrder2withContact(Test_Util_SpatialFunctions_noGradOnBoundary):  class Test_Util_SpatialFunctionsOnFinleyHex2DOrder2withContact(Test_Util_SpatialFunctions_noGradOnBoundary):
175      def setUp(self):      def setUp(self):
176          self.order=2          self.order=2
# Line 173  class Test_Util_SpatialFunctionsOnFinley Line 182  class Test_Util_SpatialFunctionsOnFinley
182          del self.order          del self.order
183          del self.domain          del self.domain
184    
185    @unittest.skip("Test never added to test list")
186  class Test_Util_SpatialFunctionsOnFinleyHex3DOrder1withContact(Test_Util_SpatialFunctions_noGradOnBoundary):  class Test_Util_SpatialFunctionsOnFinleyHex3DOrder1withContact(Test_Util_SpatialFunctions_noGradOnBoundary):
187      def setUp(self):      def setUp(self):
188          self.order=1          self.order=1
# Line 184  class Test_Util_SpatialFunctionsOnFinley Line 194  class Test_Util_SpatialFunctionsOnFinley
194          del self.order          del self.order
195          del self.domain          del self.domain
196    
197    @unittest.skip("Test never added to test list")
198  class Test_Util_SpatialFunctionsOnFinleyHex3DOrder2withContact(Test_Util_SpatialFunctions_noGradOnBoundary):  class Test_Util_SpatialFunctionsOnFinleyHex3DOrder2withContact(Test_Util_SpatialFunctions_noGradOnBoundary):
199      def setUp(self):      def setUp(self):
200          self.order=2          self.order=2
# Line 195  class Test_Util_SpatialFunctionsOnFinley Line 206  class Test_Util_SpatialFunctionsOnFinley
206          del self.order          del self.order
207          del self.domain          del self.domain
208    
209    @unittest.skip("Test never added to test list")
210  class Test_Util_SpatialFunctionsOnFinleyHex2DOrder1useElementsOnFacewithContact(Test_Util_SpatialFunctions):  class Test_Util_SpatialFunctionsOnFinleyHex2DOrder1useElementsOnFacewithContact(Test_Util_SpatialFunctions):
211      def setUp(self):      def setUp(self):
212          self.order=1          self.order=1
# Line 206  class Test_Util_SpatialFunctionsOnFinley Line 218  class Test_Util_SpatialFunctionsOnFinley
218          del self.order          del self.order
219          del self.domain          del self.domain
220    
221    @unittest.skip("Test never added to test list")
222  class Test_Util_SpatialFunctionsOnFinleyHex2DOrder2useElementsOnFacewithContact(Test_Util_SpatialFunctions):  class Test_Util_SpatialFunctionsOnFinleyHex2DOrder2useElementsOnFacewithContact(Test_Util_SpatialFunctions):
223      def setUp(self):      def setUp(self):
224          self.order=2          self.order=2
# Line 217  class Test_Util_SpatialFunctionsOnFinley Line 230  class Test_Util_SpatialFunctionsOnFinley
230          del self.order          del self.order
231          del self.domain          del self.domain
232    
233    @unittest.skip("Test never added to test list")
234  class Test_Util_SpatialFunctionsOnFinleyHex3DOrder1useElementsOnFacewithContact(Test_Util_SpatialFunctions):  class Test_Util_SpatialFunctionsOnFinleyHex3DOrder1useElementsOnFacewithContact(Test_Util_SpatialFunctions):
235      def setUp(self):      def setUp(self):
236          self.order=1          self.order=1
# Line 228  class Test_Util_SpatialFunctionsOnFinley Line 242  class Test_Util_SpatialFunctionsOnFinley
242          del self.order          del self.order
243          del self.domain          del self.domain
244    
245    @unittest.skip("Test never added to test list")
246  class Test_Util_SpatialFunctionsOnFinleyHex3DOrder2useElementsOnFacewithContact(Test_Util_SpatialFunctions):  class Test_Util_SpatialFunctionsOnFinleyHex3DOrder2useElementsOnFacewithContact(Test_Util_SpatialFunctions):
247      def setUp(self):      def setUp(self):
248          self.order=2          self.order=2
# Line 240  class Test_Util_SpatialFunctionsOnFinley Line 255  class Test_Util_SpatialFunctionsOnFinley
255          del self.domain          del self.domain
256    
257  if __name__ == '__main__':  if __name__ == '__main__':
258     suite = unittest.TestSuite()      run_tests(__name__, exit_on_failure=True)
    if True:  
       suite.addTest(unittest.makeSuite(Test_UtilOnFinley))  
       suite.addTest(unittest.makeSuite(Test_Util_SpatialFunctionsOnFinleyTet2DOrder1))  
       suite.addTest(unittest.makeSuite(Test_Util_SpatialFunctionsOnFinleyTet2DOrder2))  
       suite.addTest(unittest.makeSuite(Test_Util_SpatialFunctionsOnFinleyTet2DMacro))  
       suite.addTest(unittest.makeSuite(Test_Util_SpatialFunctionsOnFinleyTet3DOrder1))  
       suite.addTest(unittest.makeSuite(Test_Util_SpatialFunctionsOnFinleyTet3DOrder2))  
       suite.addTest(unittest.makeSuite(Test_Util_SpatialFunctionsOnFinleyTet3DMacro))  
    else:  
       suite.addTest(unittest.makeSuite(Test_Util_SpatialFunctionsOnFinleyHex2DOrder1useElementsOnFacewithContact))  
       pass  
    s=unittest.TextTestRunner(verbosity=2).run(suite)  
    if not s.wasSuccessful(): sys.exit(1)  
259    

Legend:
Removed from v.4983  
changed lines
  Added in v.4984

  ViewVC Help
Powered by ViewVC 1.1.26