1 #ifndef CPPUNIT_SOURCELINE_H
2 #define CPPUNIT_SOURCELINE_H
13 #define CPPUNIT_SOURCELINE() CPPUNIT_NS::SourceLine( __FILE__, __LINE__ )
48 int lineNumber()
const;
50 std::string fileName()
const;
52 bool operator ==(
const SourceLine &other )
const;
53 bool operator !=(
const SourceLine &other )
const;
63 #endif // CPPUNIT_SOURCELINE_H
Represents a source line location.Used to capture the failure location in assertion.
Definition: SourceLine.h:30
std::string m_fileName
Definition: SourceLine.h:56
#define CPPUNIT_NS_END
Definition: Portability.h:120
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:119
int m_lineNumber
Definition: SourceLine.h:57
#define CPPUNIT_API
Definition: CppUnitApi.h:27