alma::acs::logging::AcsLoggingHandlerTest Class Reference

Inheritance diagram for alma::acs::logging::AcsLoggingHandlerTest:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::logging::AcsLoggingHandlerTest:
Collaboration graph
[legend]

List of all members.

Classes

class  TestLogQueue

Public Member Functions

void testOffLevel ()

Protected Member Functions

void setUp ()

Private Attributes

AcsLoggingHandler loggingHandler
TestLogQueue logQueue

Member Function Documentation

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


Member Data Documentation

Referenced by setUp(), and testOffLevel().

Referenced by setUp(), and testOffLevel().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2