tut::ErrorTestData Struct Reference

Collaboration diagram for tut::ErrorTestData:

Collaboration graph
List of all members.

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

Detailed Description

Definition at line 94 of file llerror_tut.cpp.

Constructor & Destructor Documentation

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().

Member Function Documentation

void tut::ErrorTestData::ensure_message_contains ( int  n,
const std::string &  expectedText 
) [inline]

Definition at line 120 of file llerror_tut.cpp.

References tut::ensure_contains(), and mRecorder.

void tut::ErrorTestData::ensure_message_count ( int  expectedCount  )  [inline]

Definition at line 115 of file llerror_tut.cpp.

References tut::ensure_equals(), and mRecorder.

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.

Member Data Documentation

LLError::Settings* tut::ErrorTestData::mPriorErrorSettings

Definition at line 97 of file llerror_tut.cpp.

Referenced by ErrorTestData(), and ~ErrorTestData().

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().

The documentation for this struct was generated from the following file:
Generated on Thu Jul 1 06:12:06 2010 for Second Life Viewer by  doxygen 1.4.7