|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.joda.time.TestDateTimeComparator
public class TestDateTimeComparator
This class is a Junit unit test for the org.joda.time.DateTimeComparator class.
Constructor Summary | |
---|---|
TestDateTimeComparator(String name)
|
Method Summary | |
---|---|
static void |
main(String[] args)
|
void |
setUp()
Junit setUp() method. |
static junit.framework.TestSuite |
suite()
|
protected void |
tearDown()
Junit tearDown() method. |
void |
testBasicComps1()
Test all basic comparator operation with DateTime objects. |
void |
testBasicComps2()
Test all basic comparator operation with ReadableInstant objects. |
void |
testBasicComps3()
Test all basic comparator operation with java Date objects. |
void |
testBasicComps4()
Test all basic comparator operation with Long objects. |
void |
testBasicComps5()
Test all basic comparator operation with Calendar objects. |
void |
testClass()
|
void |
testDOM()
Test unequal comparisons with day of month comparators. |
void |
testDOW()
Test unequal comparisons with day of week comparators. |
void |
testDOY()
Test unequal comparisons with day of year comparators. |
void |
testEqualsHashCode()
|
void |
testHour()
Test unequal comparisons with hour comparators. |
void |
testInvalidObj()
Test comparator operation with an invalid object type. |
void |
testListBasic()
Test sorting with full default comparator. |
void |
testListDate()
Test sorting with date only comparator. |
void |
testListDOM()
Test sorting with day of month comparator. |
void |
testListDOW()
Test sorting with day of week comparator. |
void |
testListDOY()
Test sorting with day of year comparator. |
void |
testListHour()
Test sorting with hour comparator. |
void |
testListMillis()
Test sorting with millis of second comparator. |
void |
testListMinute()
Test sorting with minute comparator. |
void |
testListMonth()
Test sorting with month comparator. |
void |
testListSecond()
Test sorting with second comparator. |
void |
testListTime()
Test sorting with time only comparator. |
void |
testListWOW()
Test sorting with week of weekyear comparator. |
void |
testListYear()
Test sorting with year comparator. |
void |
testListYOYY()
Test sorting with year (given week) comparator. |
void |
testMillis()
Test unequal comparisons with millis of second comparators. |
void |
testMinute()
Test unequal comparisons with minute comparators. |
void |
testMonth()
Test unequal comparisons with month comparators. |
void |
testNullDT()
Test comparator operation with null object(s). |
void |
testSecond()
Test unequal comparisons with second comparators. |
void |
testSerialization1()
|
void |
testSerialization2()
|
void |
testStaticGetDateOnlyInstance()
|
void |
testStaticGetInstance()
|
void |
testStaticGetInstanceLower()
|
void |
testStaticGetInstanceLowerUpper()
|
void |
testStaticGetTimeOnlyInstance()
|
void |
testWOW()
Test unequal comparisons with week of weekyear comparators. |
void |
testWOYY()
Test unequal comparisons with year given the week comparators. |
void |
testYear()
Test unequal comparisons with year comparators. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestDateTimeComparator(String name)
Method Detail |
---|
public static void main(String[] args)
public static junit.framework.TestSuite suite()
public void setUp()
setUp()
method.
setUp
in class junit.framework.TestCase
protected void tearDown()
tearDown()
method.
tearDown
in class junit.framework.TestCase
public void testClass()
public void testStaticGetInstance()
public void testStaticGetDateOnlyInstance()
public void testStaticGetTimeOnlyInstance()
public void testStaticGetInstanceLower()
public void testStaticGetInstanceLowerUpper()
public void testEqualsHashCode()
public void testSerialization1() throws Exception
Exception
public void testSerialization2() throws Exception
Exception
public void testBasicComps1()
public void testBasicComps2()
public void testBasicComps3()
public void testBasicComps4()
public void testBasicComps5()
public void testMillis()
public void testSecond()
public void testMinute()
public void testHour()
public void testDOW()
public void testDOM()
public void testDOY()
public void testWOW()
public void testWOYY()
public void testMonth()
public void testYear()
public void testListBasic()
public void testListMillis()
public void testListSecond()
public void testListMinute()
public void testListHour()
public void testListDOW()
public void testListDOM()
public void testListDOY()
public void testListWOW()
public void testListYOYY()
public void testListMonth()
public void testListYear()
public void testListDate()
public void testListTime()
public void testNullDT()
public void testInvalidObj()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |