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 52 void addTest(
Test *test );
59 const std::vector<Test *> &getTests()
const;
63 virtual void deleteContents();
76 #if CPPUNIT_NEED_DLL_DECL 77 #pragma warning( pop ) 80 #endif // CPPUNIT_TESTSUITE_H A Composite of Tests.
Definition: TestComposite.h:17
std::vector< Test * > m_tests
Definition: TestSuite.h:70
Base class for all test objects.All test objects should be a subclass of Test. Some test objects...
Definition: Test.h:25
#define CPPUNIT_NS_END
Definition: Portability.h:106
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:105
virtual Test * doGetChildTestAt(int index) const =0
Returns the child test of the specified valid index.
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
#define CPPUNIT_API
Definition: CppUnitApi.h:27