CppUnit project page | FAQ | CppUnit home page |
#include <TestSuiteBuilder.h>
Public Types | |
typedef void(Fixture::* | TestMethod )() |
Public Methods | |
TestSuiteBuilder (TestSuite *suite) | |
TestSuiteBuilder (std::string name) | |
TestSuite * | suite () const |
TestSuite * | takeSuite () |
void | addTest (Test *test) |
void | addTestCaller (std::string methodName, TestMethod testMethod) |
void | addTestCaller (std::string methodName, TestMethod testMethod, Fixture *fixture) |
template<typename ExceptionType> void | addTestCallerForException (std::string methodName, TestMethod testMethod, Fixture *fixture, ExceptionType *dummyPointer) |
std::string | makeTestName (const std::string &methodName) |
Private Attributes | |
std::auto_ptr< TestSuite > | m_suite |
All tests added to the TestSuite are prefixed by TestSuite name. The resulting TestCase name has the following pattern:
MyTestSuiteName.myTestName
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
hosts this site. |
Send comments to: CppUnit Developers |