| CppTest home page | CppTest project page |
#include <cpptest-source.h>
Public Member Functions | |
| Source () | |
| Source (const char *file, unsigned int line, const char *msg) | |
| const std::string & | file () const |
| unsigned int | line () const |
| const std::string & | message () const |
| const std::string & | suite () const |
| const std::string & | test () const |
Friends | |
| class | Suite |
Assertment source information.
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 ) |
| const string & Test::Source::file | ( | ) | const |
Referenced by Test::CompilerOutput::assertment(), and Source().
| unsigned int Test::Source::line | ( | ) | const |
Referenced by Test::CompilerOutput::assertment(), and Source().
| const string & Test::Source::message | ( | ) | const |
Referenced by Test::CompilerOutput::assertment().
| const string & Test::Source::suite | ( | ) | const |
| const string & Test::Source::test | ( | ) | const |