|
||||||||||
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.pattern.CachedDateFormatTest
public final class CachedDateFormatTest
Unit test AbsoluteTimeDateFormat
.
Constructor Summary | |
---|---|
CachedDateFormatTest(java.lang.String name)
Test constructor |
Method Summary | |
---|---|
void |
test1()
Test multiple calls in close intervals. |
void |
test10()
Test when millisecond position moves but length remains constant. |
void |
test11()
Test that tests if caching is skipped if only "SS" is specified. |
void |
test12()
Check pattern location for ISO8601 |
void |
test13()
Check pattern location for DATE |
void |
test14()
Check pattern location for ABSOLUTE |
void |
test15()
Check pattern location for single S |
void |
test16()
Check pattern location for single SS |
void |
test17()
Check caching when multiple SSS appear in pattern |
void |
test2()
Check for interaction between caches. |
void |
test3()
Test multiple calls in close intervals prior to 1 Jan 1970. |
void |
test4()
|
void |
test5()
|
void |
test6()
Checks that getNumberFormat does not return null. |
void |
test8()
Set time zone on cached and check that it is effective. |
void |
test9()
Test of caching when less than three millisecond digits are specified. |
static junit.framework.Test |
xsuite()
|
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 CachedDateFormatTest(java.lang.String name)
name
- String test nameMethod Detail |
---|
public void test1()
public void test2()
public void test3()
public void test4()
public void test5()
public void test6()
public void test8()
public void test9()
public void test10()
public void test11()
public void test12()
public void test13()
public void test14()
public void test15()
public void test16()
public void test17()
public static junit.framework.Test xsuite()
|
||||||||||
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.