/[escript]/trunk/escriptcore/test/python/run_xml.py
ViewVC logotype

Diff of /trunk/escriptcore/test/python/run_xml.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 23  http://www.opensource.org/licenses/osl-3 Line 23  http://www.opensource.org/licenses/osl-3
23  __url__="https://launchpad.net/escript-finley"  __url__="https://launchpad.net/escript-finley"
24    
25  import esys.escriptcore.utestselect as unittest  import esys.escriptcore.utestselect as unittest
26    from esys.escriptcore.testing import *
27  from esys.escript.modelframe import Model,Link,Simulation,ParameterSet,ESySXMLParser,DataSource  from esys.escript.modelframe import Model,Link,Simulation,ParameterSet,ESySXMLParser,DataSource
28  import math  import math
29  from io import StringIO  from io import StringIO
# Line 466  class ODETEST(Model): Line 467  class ODETEST(Model):
467    
468    
469            
470  if __name__ == "__main__":  if __name__ == '__main__':
471      suite = unittest.TestSuite()      run_tests(__name__, exit_on_failure=True)
     suite.addTest(unittest.makeSuite(XMLDocumentTestCase))  
     suite.addTest(unittest.makeSuite(SimulationTestCase))  
     suite.addTest(unittest.makeSuite(LinkTestCase))  
     suite.addTest(unittest.makeSuite(ParamaterSetTestCase))  
     suite.addTest(unittest.makeSuite(ModeltoDomTestCase))  
     suite.addTest(unittest.makeSuite(ModeltoDomTestCase))  
     suite.addTest(unittest.makeSuite(Messenger))  
     suite.addTest(unittest.makeSuite(ODETEST))  
     s=unittest.TextTestRunner(verbosity=2).run(suite)  
     if not s.wasSuccessful(): sys.exit(1)  

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

  ViewVC Help
Powered by ViewVC 1.1.26