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

Diff of /trunk/escript/test/DataVectorTestCase.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  DataVectorTestCase_20050324_H  #if !defined  DataVectorTestCase_20050324_H
16  #define  DataVectorTestCase_20050324_H  #define  DataVectorTestCase_20050324_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  class DataVectorTestCase : public CppUnitTest::TestCase  class DataVectorTestCase : public CppUnit::TestFixture
22  {  {
23   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  
   // DataVector class  
24    void testAll();    void testAll();
25    
26    DataVectorTestCase (std::string name) : TestCase (name) {}    static CppUnit::TestSuite* suite();
   ~DataVectorTestCase() {}  
   //  
   //  
   // return the suite of tests to perform  
   //  
   static CppUnitTest::TestSuite* suite ();  
27  };  };
28    
29  #endif  #endif
30    

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

  ViewVC Help
Powered by ViewVC 1.1.26