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;
#define CPPUNIT_API
Definition: CppUnitApi.h:27
#define CPPUNIT_NS_END
Definition: Portability.h:106
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:105
Represents a source line location.
Definition: SourceLine.h:31
int m_lineNumber
Definition: SourceLine.h:57
std::string m_fileName
Definition: SourceLine.h:56