/[escript]/trunk/weipa/test/EscriptDatasetTestCase.h
ViewVC logotype

Diff of /trunk/weipa/test/EscriptDatasetTestCase.h

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

revision 3104 by caltinay, Wed Aug 25 00:53:25 2010 UTC revision 3151 by caltinay, Fri Sep 3 05:46:12 2010 UTC
# Line 22  Line 22 
22  class EscriptDatasetTestCase : public CppUnitTest::TestCase  class EscriptDatasetTestCase : public CppUnitTest::TestCase
23  {  {
24  public:  public:
   
25      //      //
26      // setUp is called before each test method to set up test state      // setUp is called before each test method to set up test state
27      void setUp();      void setUp();
28      //      //
29      // tearDown is called after each test method is called.      // tearDown is called after each test method is called.
30      void tearDown();      void tearDown();
   
31      //      //
32      // A test method must return void and have no arguments      // A test method must return void and have no arguments
33      // DataEmpty class      // DataEmpty class
# Line 37  public: Line 35  public:
35    
36      EscriptDatasetTestCase(std::string name) : TestCase(name) {}      EscriptDatasetTestCase(std::string name) : TestCase(name) {}
37      ~EscriptDatasetTestCase() {}      ~EscriptDatasetTestCase() {}
38      //  
39      //      //
40      // return the suite of tests to perform      // return the suite of tests to perform
41      //      //
42      static CppUnitTest::TestSuite* suite();      static CppUnitTest::TestSuite* suite();
43    
44    private:
45        void checkVTKfile(std::string filename);
46        int getDataArrayLength(std::istream& is);
47    
48  };  };
49    
50  #endif  #endif

Legend:
Removed from v.3104  
changed lines
  Added in v.3151

  ViewVC Help
Powered by ViewVC 1.1.26