Searched refs:MockFilter (Results 1 – 9 of 9) sorted by relevance
44 final MockFilter mockFilter = new MockFilter(); in testFilterInitAndConfig()74 assertTrue(filterDef.getFilter() instanceof MockFilter); in testFilterInitAndConfig()96 final MockFilter mockFilter = new MockFilter(); in testFilterCreateDispatchDestroy()120 assertTrue(filterDef.getFilter() instanceof MockFilter); in testFilterCreateDispatchDestroy()151 final MockFilter mockFilter = new MockFilter() { in testFilterCreateDispatchDestroySupressChain()181 assertTrue(filterDef.getFilter() instanceof MockFilter); in testFilterCreateDispatchDestroySupressChain()216 final MockFilter mockFilter = new MockFilter() { in testGetFilterIfMatching()251 final MockFilter mockFilter = new MockFilter() { in testGetFilterIfMatchingNotMatching()276 private static class MockFilter implements Filter { class in FilterDefinitionTest
30 MockFilter f = new MockFilter(); in testFilter()37 private class MockFilter implements Filter { class in FilterTest
200 Filter f = new MockFilter(); in testGetSetFilter_Normal()214 h.setFilter(new MockFilter()); in testGetSetFilter_Null()305 h.setFilter(new MockFilter()); in testIsLoggable_WithFilter()353 public static class MockFilter implements Filter { class in HandlerTest
131 assertTrue(h.getFilter() instanceof MockFilter); in testConstructor_NoParameter_ValidProperties()209 assertTrue(h.getFilter() instanceof MockFilter); in testConstructor_HasParameters_ValidProperties()421 h.setFilter(new MockFilter()); in testIsLoggable_WithFilter()511 h.setFilter(new MockFilter()); in testPublish_WithFilter()557 MockFilter filter = new MockFilter(); in testPublish_Null_NoOutputStream()802 public static class MockFilter implements Filter { class in StreamHandlerTest
116 assertTrue(h.getFilter() instanceof MockFilter); in testConstructor_ValidProperties()251 h.setFilter(new MockFilter()); in testPublish_AfterResetSystemErr()273 h.setFilter(new MockFilter()); in testPublish_WithFilter()423 public static class MockFilter implements Filter { class in ConsoleHandlerTest
159 assertTrue(handler.getFilter() instanceof MockFilter); in testMemoryHandler()256 assertTrue(handler.getFilter() instanceof MockFilter); in testMemoryHandlerHandlerintLevel()359 public static class MockFilter implements Filter { class in MemoryHandlerTest
248 assertTrue(h.getFilter() instanceof MockFilter); in testConstructor_ValidProperties()262 assertTrue(h.getFilter() instanceof MockFilter); in testConstructor_ValidProperties()517 h.setFilter(new MockFilter()); in testPublish_WithFilter()641 public static class MockFilter implements Filter { class in SocketHandlerTest
170 assertTrue(handler.getFilter() instanceof MockFilter); in testFileHandler()609 public static class MockFilter implements Filter { class in FileHandlerTest
341 pLog.setFilter(new MockFilter()); in testGetLogger_WithParentNormal()541 pLog.setFilter(new MockFilter()); in testGetLoggerWithRes_WithParentNormal()703 Filter f = new MockFilter(); in testGetSetFilter_NamedLoggerSufficientPrivilege()719 log.setFilter(new MockFilter()); in testGetSetFilter_Null()729 Filter f = new MockFilter(); in testSetFilter_AnonyLoggerSufficientPrivilege()3515 this.sharedLogger.setFilter(new MockFilter()); in testLog_LogRecord_AppropriateLevelFalseFilterNoParent()3996 public static class MockFilter implements Filter { class in LoggerTest