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 71 const std::string &pathAsString );
83 virtual bool isValid()
const;
88 virtual void add(
Test *test );
93 virtual void add(
const TestPath &path );
100 virtual void insert(
Test *test,
int index );
108 virtual void insert(
const TestPath &path,
int index );
114 virtual void removeTests();
120 virtual void removeTest(
int index );
131 virtual int getTestCount()
const;
138 virtual Test *getTestAt(
int index )
const;
144 virtual Test *getChildTest()
const;
156 virtual std::string
toString()
const;
169 void checkIndexValid(
int index )
const;
180 bool splitPathString(
const std::string &pathAsString,
192 Test *findActualRoot(
Test *searchRoot,
193 const std::string &pathAsString,
205 #endif // CPPUNIT_TESTPATH_H
std::deque< std::string > PathTestNames
A list of test names.
Definition: TestPath.h:172
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
std::deque< Test * > Tests
Definition: TestPath.h:197
A List of Test representing a path to access a Test.The path can be converted to a string and resolve...
Definition: TestPath.h:29
Tests m_tests
Definition: TestPath.h:198
std::enable_if<!std::is_enum< T >::value, std::string >::type toString(const T &x)
Definition: StringHelper.h:22
#define CPPUNIT_API
Definition: CppUnitApi.h:27