

Classes | |
| class | TestLogQueue |
Public Member Functions | |
| void | testOffLevel () |
Protected Member Functions | |
| void | setUp () |
Private Attributes | |
| AcsLoggingHandler | loggingHandler |
| TestLogQueue | logQueue |
| void alma::acs::logging::AcsLoggingHandlerTest::setUp | ( | ) | [inline, protected] |
References loggingHandler, and logQueue.
| void alma::acs::logging::AcsLoggingHandlerTest::testOffLevel | ( | ) | [inline] |
Tests if logs with the silly log level Level.OFF are successfully ignored. Note that Level.OFF is only meant to be used as an argument to the setLevel() method, but not for the log methods. Yet the JDK processes logs with Level.OFF, which ACS does not.
References alma::acs::testsupport::LogRecordCollectingLogger::clearLogRecords(), alma::acs::testsupport::LogRecordCollectingLogger::getCollectedLogRecords(), alma::acs::testsupport::LogRecordCollectingLogger::log(), loggingHandler, logQueue, alma::acs::logging::AcsLoggingHandlerTest::TestLogQueue::logRecords, alma::acs::logging::AcsLoggingHandler::publish(), and alma::acs::logging::AcsLoggingHandlerTest::TestLogQueue::reset().
Referenced by setUp(), and testOffLevel().
Referenced by setUp(), and testOffLevel().
1.6.2