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

Diff of /trunk/escript/test/SharedDataTestCase.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 12  Line 12 
12  *******************************************************/  *******************************************************/
13    
14    
15  #if !defined  SHAREDDATATESTCASE_H  #if !defined SHAREDDATATESTCASE_H
16  #define  SHAREDDATATESTCASE_H  #define SHAREDDATATESTCASE_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 SharedDataTestCase : public CppUnitTest::TestCase  class SharedDataTestCase : public CppUnit::TestFixture
22  {  {
23   public:  public:
24    
   //  
   // 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  
25    void testEQ();    void testEQ();
26    void testCC();    void testCC();
27    void testAssign();    void testAssign();
# Line 42  class SharedDataTestCase : public CppUni Line 32  class SharedDataTestCase : public CppUni
32    void testGetDataPoint();    void testGetDataPoint();
33    void testGetSampleRW();    void testGetSampleRW();
34    
35      static CppUnit::TestSuite* suite();
   SharedDataTestCase (std::string name) : TestCase (name) {}  
   ~SharedDataTestCase() {}  
   //  
   //  
   // return the suite of tests to perform  
   //  
   static CppUnitTest::TestSuite* suite ();  
36  };  };
37    
38  #endif  #endif
39    

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

  ViewVC Help
Powered by ViewVC 1.1.26