CppUnit project page FAQ CppUnit home page

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Test.h

Go to the documentation of this file.
00001 #ifndef CPPUNIT_TEST_H
00002 #define CPPUNIT_TEST_H
00003 
00004 #include <string>
00005 
00006 namespace CppUnit {
00007 
00008 class TestResult;
00009 
00021 class Test
00022 {
00023 public:
00024     virtual                       ~Test () {};
00025 
00028     virtual void                  run (TestResult *result)    = 0;
00029 
00036     virtual int                   countTestCases () const     = 0;
00037 
00043     virtual std::string           getName () const            = 0;
00044 
00052     virtual std::string           toString () const           = 0;
00053 
00054 
00055 };
00056 
00057 
00058 } // namespace CppUnit
00059 
00060 #endif // CPPUNIT_TEST_H
00061 

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