CppUnit project page FAQ CppUnit home page

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Test.h

Go to the documentation of this file.
00001 #ifndef CPPUNIT_TEST_H
00002 #define CPPUNIT_TEST_H
00003 
00004 #include <cppunit/Portability.h>
00005 #include <string>
00006 
00007 namespace CppUnit {
00008 
00009 class TestResult;
00010 
00023 class CPPUNIT_API Test
00024 {
00025 public:
00026     virtual                       ~Test () {};
00027 
00030     virtual void                  run (TestResult *result)    = 0;
00031 
00038     virtual int                   countTestCases () const     = 0;
00039 
00045     virtual std::string           getName () const            = 0;
00046 
00054     virtual std::string           toString () const           = 0;
00055 
00056 
00057 };
00058 
00059 
00060 } // namespace CppUnit
00061 
00062 #endif // CPPUNIT_TEST_H
00063 

SourceForge Logo hosts this site. Send comments to:
CppUnit Developers