1 #ifndef CPPUNIT_TESTPATH_H
2 #define CPPUNIT_TESTPATH_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
19 #if CPPUNIT_NEED_DLL_DECL
76 const std::string &pathAsString );
88 virtual bool isValid()
const;
93 virtual void add(
Test *test );
98 virtual void add(
const TestPath &path );
105 virtual void insert(
Test *test,
int index );
113 virtual void insert(
const TestPath &path,
int index );
119 virtual void removeTests();
125 virtual void removeTest(
int index );
136 virtual int getTestCount()
const;
143 virtual Test *getTestAt(
int index )
const;
149 virtual Test *getChildTest()
const;
161 virtual std::string toString()
const;
174 void checkIndexValid(
int index )
const;
185 bool splitPathString(
const std::string &pathAsString,
197 Test *findActualRoot(
Test *searchRoot,
198 const std::string &pathAsString,
210 #endif // CPPUNIT_TESTPATH_H
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:120
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:119
A List of Test representing a path to access a Test.The path can be converted to a string and resolve...
Definition: TestPath.h:34
CppUnitDeque< std::string > PathTestNames
A list of test names.
Definition: TestPath.h:177
Tests m_tests
Definition: TestPath.h:203
CppUnitDeque< Test * > Tests
Definition: TestPath.h:202
#define CPPUNIT_API
Definition: CppUnitApi.h:27