#include <hshgtest.h>
Public Member Functions | |
TestFailure (const char *message, const char *file, unsigned int line) | |
Constructs an exception with the given details. | |
const std::string & | GetMessage () const |
Returns a description of the test that failed. | |
const std::string & | GetFile () const |
Returns the name of the source file where the failed test resides. | |
unsigned int | GetLine () const |
Returns the source line number where the failed test resides. |
HSHGTest::TestFailure::TestFailure | ( | const char * | message, | |
const char * | file, | |||
unsigned int | line | |||
) | [inline] |
Constructs an exception with the given details.
const std::string& HSHGTest::TestFailure::GetMessage | ( | ) | const [inline] |
Returns a description of the test that failed.
const std::string& HSHGTest::TestFailure::GetFile | ( | ) | const [inline] |
Returns the name of the source file where the failed test resides.
unsigned int HSHGTest::TestFailure::GetLine | ( | ) | const [inline] |
Returns the source line number where the failed test resides.