| CppTest home page | CppTest project page |
#include <cpptest-source.h>
Contains information about an assertment point.
| Test::Source::Source | ( | ) |
Constructs an invalid source object, which filename and message are empty strings and the line equals zero.
| Test::Source::Source | ( | const char * | file, | |
| unsigned int | line, | |||
| const char * | msg | |||
| ) |
Constructs a source object.
| file | Name of the file containing the failing function. | |
| line | Line where the function starts. | |
| msg | Expression (or message) that caused the failure. |
| const string & Test::Source::file | ( | ) | const |
Referenced by Test::CompilerOutput::assertment().
| unsigned int Test::Source::line | ( | ) | const |
| const string & Test::Source::message | ( | ) | const |
| const string & Test::Source::suite | ( | ) | const |
| const string & Test::Source::test | ( | ) | const |