diff options
author | Oz Linden <oz@lindenlab.com> | 2011-03-03 21:18:15 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-03-03 21:18:15 -0500 |
commit | c20eb01ff2adfc23b83d1d5c8723962f794fdbf4 (patch) | |
tree | eec524d10d41ec5184a34e78df5aab6180db75c4 /indra/llcommon/tests/llerror_test.cpp | |
parent | a8b9392fd83c9fcd2261e76a135d451ae5b90e9b (diff) | |
parent | 856a6992ebb0989e5d143d987a3e9ba79bb6492e (diff) |
pull up changes from viewer-autobuild
Diffstat (limited to 'indra/llcommon/tests/llerror_test.cpp')
-rw-r--r-- | indra/llcommon/tests/llerror_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llcommon/tests/llerror_test.cpp b/indra/llcommon/tests/llerror_test.cpp index 2350059626..09a20231de 100644 --- a/indra/llcommon/tests/llerror_test.cpp +++ b/indra/llcommon/tests/llerror_test.cpp @@ -59,7 +59,7 @@ namespace tut ~TestRecorder() { LLError::removeRecorder(this); } void recordMessage(LLError::ELevel level, - const std::string& message) + const std::string& message) { mMessages.push_back(message); } @@ -69,12 +69,12 @@ namespace tut void setWantsTime(bool t) { mWantsTime = t; } bool wantsTime() { return mWantsTime; } - + std::string message(int n) { std::ostringstream test_name; test_name << "testing message " << n << ", not enough messages"; - + tut::ensure(test_name.str(), n < countMessages()); return mMessages[n]; } |