CppUnit project page FAQ

TestLeaf.h
Go to the documentation of this file.
1#ifndef CPPUNIT_TESTLEAF_H
2#define CPPUNIT_TESTLEAF_H
3
4#include <cppunit/Test.h>
5
6
8
9
16{
17public:
26 int countTestCases() const;
27
34 int getChildTestCount() const;
35
39 Test *doGetChildTestAt( int index ) const;
40};
41
43
44#endif // CPPUNIT_TESTLEAF_H
#define CPPUNIT_API
Definition CppUnitApi.h:27
#define CPPUNIT_NS_END
Definition Portability.h:106
#define CPPUNIT_NS_BEGIN
Definition Portability.h:105
Base class for all test objects.
Definition Test.h:26
virtual int getChildTestCount() const =0
Returns the number of direct child of the test.
virtual int countTestCases() const =0
Return the number of test cases invoked by run().
virtual Test * doGetChildTestAt(int index) const =0
Returns the child test of the specified valid index.
A single test object.
Definition TestLeaf.h:16

Send comments to:
CppUnit Developers