public class TestLoggerFactoryTests extends Object
Constructor and Description |
---|
TestLoggerFactoryTests() |
public void staticGetTestLoggerStringReturnsSame() throws Exception
Exception
public void staticGetTestLoggerClassReturnsSame() throws Exception
Exception
public void getAllLoggingEventsDoesNotAddToMultipleLoggers() throws Exception
Exception
public void getAllLoggingEventsDoesNotGetEventsForLoggersNotEnabled()
public void getAllTestLoggers()
public void clearDoesNotRemoveLoggers()
public void resetRemovesAllLoggers()
public void resetRemovesAllLoggingEvents()
public void getLoggingEventsReturnsCopyNotView()
public void getLoggingEventsReturnsUnmodifiableList()
public void getAllLoggersReturnsCopyNotView()
public void getAllLoggersReturnsUnmodifiableList()
public void getLoggingEventsOnlyReturnsEventsLoggedInThisThread() throws InterruptedException
InterruptedException
public void getAllLoggingEventsReturnsEventsLoggedInAllThreads() throws InterruptedException
InterruptedException
public void clearOnlyClearsEventsLoggedInThisThread() throws InterruptedException
InterruptedException
public void clearAllClearsEventsLoggedInAllThreads() throws InterruptedException
InterruptedException
public void defaultPrintLevelIsOff()
@PrepareForTest(value=uk.org.lidalia.slf4jtest.TestLoggerFactory.class) public void printLevelTakenFromOverridableProperties() throws Exception
Exception
@PrepareForTest(value=uk.org.lidalia.slf4jtest.TestLoggerFactory.class) public void printLevelInvalidInOverridableProperties() throws Exception
Exception
public void setLevel()
public void resetLoggerFactory()
Copyright © 2014. All Rights Reserved.