/[escript]/trunk/escript/test/DataTestCase.h
ViewVC logotype

Diff of /trunk/escript/test/DataTestCase.h

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

revision 3596 by jfenwick, Thu Jan 28 02:03:15 2010 UTC revision 3597 by caltinay, Thu Sep 15 06:03:17 2011 UTC
# Line 15  Line 15 
15  #if !defined  DataTestCase_20040624_H  #if !defined  DataTestCase_20040624_H
16  #define  DataTestCase_20040624_H  #define  DataTestCase_20040624_H
17    
18  #include "tools/CppUnitTest/TestCase.h"  #include <cppunit/TestFixture.h>
19  #include "tools/CppUnitTest/TestSuite.h"  #include <cppunit/TestSuite.h>
 #include "tools/CppUnitTest/TestCaller.h"  
20    
21  #define REL_TOL ((double)1.e-10)  #define REL_TOL ((double)1.e-10)
22    
23  class DataTestCase : public CppUnitTest::TestCase  class DataTestCase : public CppUnit::TestFixture
24  {  {
25   public:  public:
   
   //  
   // setUp is called before each test method to set up test state  
   void setUp();  
   
   //  
   // tearDown is called after each test method is called.  
   void tearDown();  
   
   //  
   // A test method must return void and have no arguments  
26    
27    void testSome();    void testSome();
28    void testConstructors();    void testConstructors();
# Line 49  class DataTestCase : public CppUnitTest: Line 37  class DataTestCase : public CppUnitTest:
37    void testResolveType();    void testResolveType();
38    void testBinary();    void testBinary();
39    
40      static CppUnit::TestSuite* suite();
   DataTestCase (std::string name) : TestCase (name) {}  
   ~DataTestCase() {}  
   
   //  
   //  
   // return the suite of tests to perform  
   //  
   
   static CppUnitTest::TestSuite* suite ();  
41    
42  private:  private:
43    void testCopyingWorker(bool delayed);    void testCopyingWorker(bool delayed);
44    void testSlicingWorker(bool delayed);    void testSlicingWorker(bool delayed);
   
   
45    void testSomeDriver(bool autolazy);    void testSomeDriver(bool autolazy);
   
46  };  };
47    
48  #endif  #endif
49    

Legend:
Removed from v.3596  
changed lines
  Added in v.3597

  ViewVC Help
Powered by ViewVC 1.1.26