|
wibble 1.1
|
#include <tests.h>
Public Member Functions | |
| Location () | |
| Location (const char *file, int line, const char *args) | |
| Location (const Location &parent, const char *file, int line, const char *args) | |
| Location | nest (const wibble::tests::LocationInfo &info, const char *file, int line, const char *args=0) const |
| std::string | locstr () const |
| std::string | msg (const std::string m) const |
| void | fail_test (const std::string &msg) const WIBBLE_TESTS_ALWAYS_THROWS |
| void | fail_test (const wibble::tests::LocationInfo &info, const char *file, int line, const char *args, const std::string &msg) const WIBBLE_TESTS_ALWAYS_THROWS |
| void | backtrace (std::ostream &out) const |
| wibble::tests::Location::Location | ( | ) |
Referenced by nest().
| wibble::tests::Location::Location | ( | const Location & | parent, |
| const char * | file, | ||
| int | line, | ||
| const char * | args | ||
| ) |
| void wibble::tests::Location::backtrace | ( | std::ostream & | out | ) | const |
| std::string wibble::tests::Location::locstr | ( | ) | const |
References backtrace().
| std::string wibble::tests::Location::msg | ( | const std::string | m | ) | const |
References backtrace(), and msg().
Referenced by fail_test(), fail_test(), and msg().
| Location wibble::tests::Location::nest | ( | const wibble::tests::LocationInfo & | info, |
| const char * | file, | ||
| int | line, | ||
| const char * | args = 0 |
||
| ) | const |
References Location().
Referenced by fail_test().