// output order void ErrorTestObject::test<10>() { LLError::setPrintLocation(true); LLError::setTimeFunction(roswell); mRecorder.setWantsTime(true); std::string locationAndFunction = writeReturningLocationAndFunction(); ensure_equals("order is time type location function message", mRecorder.message(0), roswell() + " INFO: " + locationAndFunction + ": apple"); }
// output order void ErrorTestObject::test<10>() { #if LL_LINUX skip("Fails on Linux, see comments"); // on Linux: // [error, 10] fail: 'order is time type location function message: expected // '1947-07-08T03:04:05Z INFO: llcommon/tests/llerror_test.cpp(268) : // writeReturningLocationAndFunction: apple' actual // '1947-07-08T03:04:05Z INFO: llcommon/tests/llerror_test.cpp(268) : // LLError::NoClassInfo::writeReturningLocationAndFunction: apple'' #endif LLError::setPrintLocation(true); LLError::setTimeFunction(roswell); mRecorder.setWantsTime(true); std::string locationAndFunction = writeReturningLocationAndFunction(); ensure_equals("order is time type location function message", mRecorder.message(0), roswell() + " INFO: " + locationAndFunction + ": apple"); }