1 #ifndef CPPUNIT_TESTSUITE_H // -*- C++ -*-
2 #define CPPUNIT_TESTSUITE_H
6 #if CPPUNIT_NEED_DLL_DECL
7 #pragma warning( push )
8 #pragma warning( disable: 4251 ) // X needs to have dll-interface to be used by clients of class Z
17 #if CPPUNIT_NEED_DLL_DECL
53 void addTest(
Test *test );
60 const CppUnitVector<Test *> &getTests()
const;
64 virtual void deleteContents();
79 #if CPPUNIT_NEED_DLL_DECL
80 #pragma warning( pop )
83 #endif // CPPUNIT_TESTSUITE_H
CppUnitVector< Test * > m_tests
Definition: TestSuite.h:73
A Composite of Tests.
Definition: TestComposite.h:17
Base class for all test objects.All test objects should be a subclass of Test. Some test objects...
Definition: Test.h:26
#define CPPUNIT_NS_END
Definition: Portability.h:120
static unsigned long disabledTests
Definition: TestSuite.h:43
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:119
virtual Test * doGetChildTestAt(int index) const =0
Returns the child test of the specified valid index.
Use this filter to only run some of the registered tests.
Definition: Test.h:114
virtual int getChildTestCount() const =0
Returns the number of direct child of the test.
A Composite of Tests.It runs a collection of test cases. Here is an example.
Definition: TestSuite.h:40
virtual bool filter(const Filter &)=0
#define CPPUNIT_API
Definition: CppUnitApi.h:27