CppUnit project page FAQ

TestDecorator.h
Go to the documentation of this file.
1 #ifndef CPPUNIT_EXTENSIONS_TESTDECORATOR_H
2 #define CPPUNIT_EXTENSIONS_TESTDECORATOR_H
3 
4 #include <cppunit/Portability.h>
5 #include <cppunit/Test.h>
6 
8 
9 
10 class TestResult;
11 
12 
22 {
23 public:
24  TestDecorator( Test *test );
25  ~TestDecorator();
26 
27  int countTestCases() const;
28 
29  std::string getName() const;
30 
31  void run( TestResult *result );
32 
33  int getChildTestCount() const;
34 
35 protected:
36  Test *doGetChildTestAt( int index ) const;
37 
39 
40 private:
41  TestDecorator( const TestDecorator &);
42  void operator =( const TestDecorator & );
43 };
44 
45 
47 
48 #endif
49 

Send comments to:
CppUnit Developers