22 #ifndef ROBOTTESTINGFRAMEWORK_TESTMESSAGE_H 23 #define ROBOTTESTINGFRAMEWORK_TESTMESSAGE_H 56 const std::string filename =
"",
57 unsigned int line = 0);
69 const std::string detail,
70 const std::string filename =
"",
71 unsigned int line = 0);
148 #define ROBOTTESTINGFRAMEWORK_SOURCELINE() __LINE__ 149 #define ROBOTTESTINGFRAMEWORK_SOURCEFILE() __FILE__ 151 #endif // ROBOTTESTINGFRAMEWORK_TESTMESSAGE_H void setMessage(const std::string message)
setMessage sets the message
void setDetail(const std::string detail)
setDetail sets the detail of the messsage
virtual ~TestMessage()
~TestMessage Destructor
TestMessage()
TestMessage construct an emty test message.
void clear()
clears the test message
std::string getMessage()
getMessage returns the message string
A formated message with details.
std::string getDetail()
getMessage returns the detail string
void setSourceLineNumber(unsigned int line)
setSourceLineNumber set the line number of the code for the corresponding message ...
unsigned int getSourceLineNumber()
getSourceLineNumber
std::string getSourceFileName()
getSourceFileName
void setSourceFileName(const std::string filename)
setSourceFileName set the source file name of the code for the corresponding message ...