1 #ifndef CPPUNIT_TESTFAILURE_H // -*- C++ -*- 2 #define CPPUNIT_TESTFAILURE_H 33 virtual Test *failedTest()
const;
35 virtual Exception *thrownException()
const;
39 virtual bool isError()
const;
41 virtual std::string failedTestName()
const;
58 #endif // CPPUNIT_TESTFAILURE_H Exceptions thrown by failed assertions.Exception is an exception that serves descriptive strings thro...
Definition: Exception.h:19
Base class for all test objects.All test objects should be a subclass of Test. Some test objects...
Definition: Test.h:25
Represents a source line location.Used to capture the failure location in assertion.
Definition: SourceLine.h:30
Exception * m_thrownException
Definition: TestFailure.h:47
Record of a failed Test execution.A TestFailure collects a failed test together with the caught excep...
Definition: TestFailure.h:24
#define CPPUNIT_NS_END
Definition: Portability.h:120
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:119
bool m_isError
Definition: TestFailure.h:48
Test * m_failedTest
Definition: TestFailure.h:46
#define CPPUNIT_API
Definition: CppUnitApi.h:27