|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.log4j.filter.TimeFilterTest
public class TimeFilterTest
Tests for TimeFilter.
Constructor Summary | |
---|---|
TimeFilterTest(java.lang.String testName)
Construct new instance. |
Method Summary | |
---|---|
void |
test2AMGMT()
Test 2 AM UTC today event against 2 AM - 3 AM GMT filter. |
void |
test2AMLocal()
Test 2 AM local today event against 2 AM - 3 AM local time filter. |
void |
test2AMLocalLastWeek()
Test 2 AM local last week event against 2 AM - 3 AM local time filter. |
void |
test2AMLocalNextWeek()
Test 2 AM local next week event against 2 AM - 3 AM local time filter. |
void |
test2AMLocalTomorrow()
Test 2 AM local tomorrow event against 2 AM - 3 AM local time filter. |
void |
test2AMLocalYesterday()
Test 2 AM local yesterday event against 2 AM - 3 AM local time filter. |
void |
test3AMGMT()
Test 3 AM UTC today event against 2 AM - 3 AM GMT filter. |
void |
test3AMLocal()
Test 3 AM local today event against 2 AM - 3 AM local time filter. |
void |
test3AMLocalLastWeek()
Test 3 AM local last week event against 2 AM - 3 AM local time filter. |
void |
test3AMLocalNextWeek()
Test 3 AM local next week event against 2 AM - 3 AM local time filter. |
void |
test3AMLocalTomorrow()
Test 3 AM local tomorrow event against 2 AM - 3 AM local time filter. |
void |
test3AMLocalYesterday()
Test 3 AM local yesterday event against 2 AM - 3 AM local time filter. |
void |
testConfig1()
Test 2 AM-3AM local time accept on match filter. |
void |
testConfig2()
Test 2 AM-3AM UTC reject on match filter. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TimeFilterTest(java.lang.String testName)
testName
- test name.Method Detail |
---|
public void test2AMLocal()
public void test2AMLocalYesterday()
public void test2AMLocalTomorrow()
public void test2AMLocalLastWeek()
public void test2AMLocalNextWeek()
public void test3AMLocal()
public void test3AMLocalYesterday()
public void test3AMLocalTomorrow()
public void test3AMLocalLastWeek()
public void test3AMLocalNextWeek()
public void test2AMGMT()
public void test3AMGMT()
public void testConfig1() throws java.lang.Exception
java.lang.Exception
- if IO exception.public void testConfig2() throws java.lang.Exception
java.lang.Exception
- if IO exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras Companion for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.