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
7 CPPUNIT_NS_BEGIN
8
9
15 class CPPUNIT_API TestLeaf: public Test
16{
17 public:
26 int countTestCases() const;
27
34 int getChildTestCount() const;
35
39 Test *doGetChildTestAt( int index ) const;
40};
41
42 CPPUNIT_NS_END
43
44#endif // CPPUNIT_TESTLEAF_H
CPPUNIT_API
#define CPPUNIT_API
Definition CppUnitApi.h:27
CPPUNIT_NS_END
#define CPPUNIT_NS_END
Definition Portability.h:106
CPPUNIT_NS_BEGIN
#define CPPUNIT_NS_BEGIN
Definition Portability.h:105
Test.h
Test
Base class for all test objects.
Definition Test.h:26
Test::getChildTestCount
virtual int getChildTestCount() const =0
Returns the number of direct child of the test.
Test::countTestCases
virtual int countTestCases() const =0
Return the number of test cases invoked by run().
Test::doGetChildTestAt
virtual Test * doGetChildTestAt(int index) const =0
Returns the child test of the specified valid index.
TestLeaf
A single test object.
Definition TestLeaf.h:16

| Send comments to: CppUnit Developers