1#ifndef CPPUNIT_TESTCASE_H
2#define CPPUNIT_TESTCASE_H
#define CPPUNIT_API
Definition CppUnitApi.h:27
#define CPPUNIT_NS_END
Definition Portability.h:106
#define CPPUNIT_NS_BEGIN
Definition Portability.h:105
TestCase & operator=(const TestCase &other)
std::string getName() const
Returns the name of the test case.
Definition TestCase.cpp:131
TestCase(const TestCase &other)
virtual void runTest()
FIXME: this should probably be pure virtual.
Definition TestCase.cpp:105
virtual void run(TestResult *result)
Run the test and catch any exceptions that are triggered by it.
Definition TestCase.cpp:53
TestCase()
Constructs a test case for a suite.
Definition TestCase.cpp:117
TestCase(const std::string &name)
Constructs a test case.
Definition TestCase.cpp:45
const std::string m_name
Definition TestCase.h:50
Wraps a test case with setUp and tearDown methods.
Definition TestFixture.h:84
A single test object.
Definition TestLeaf.h:16
Manages TestListener.
Definition TestResult.h:48