Public Member Functions | |
ErrorTestData () | |
~ErrorTestData () | |
void | ensure_message_count (int expectedCount) |
void | ensure_message_contains (int n, const std::string &expectedText) |
void | ensure_message_does_not_contain (int n, const std::string &expectedText) |
Public Attributes | |
TestRecorder | mRecorder |
LLError::Settings * | mPriorErrorSettings |
Definition at line 94 of file llerror_tut.cpp.
tut::ErrorTestData::ErrorTestData | ( | ) | [inline] |
Definition at line 99 of file llerror_tut.cpp.
References LLError::addRecorder(), fatalCall(), LLError::LEVEL_DEBUG, mPriorErrorSettings, mRecorder, LLError::saveAndResetSettings(), LLError::setDefaultLevel(), and LLError::setFatalFunction().
tut::ErrorTestData::~ErrorTestData | ( | ) | [inline] |
Definition at line 109 of file llerror_tut.cpp.
References mPriorErrorSettings, mRecorder, LLError::removeRecorder(), and LLError::restoreSettings().
void tut::ErrorTestData::ensure_message_contains | ( | int | n, | |
const std::string & | expectedText | |||
) | [inline] |
void tut::ErrorTestData::ensure_message_count | ( | int | expectedCount | ) | [inline] |
void tut::ErrorTestData::ensure_message_does_not_contain | ( | int | n, | |
const std::string & | expectedText | |||
) | [inline] |
Definition at line 128 of file llerror_tut.cpp.
References tut::ensure_does_not_contain(), and mRecorder.
TestRecorder tut::ErrorTestData::mRecorder |
Definition at line 96 of file llerror_tut.cpp.
Referenced by ensure_message_contains(), ensure_message_count(), ensure_message_does_not_contain(), ErrorTestData(), and ~ErrorTestData().