org.joda.time
Class TestDateTime_Constructors

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.joda.time.TestDateTime_Constructors
All Implemented Interfaces:
junit.framework.Test

public class TestDateTime_Constructors
extends junit.framework.TestCase

This class is a Junit unit test for DateTime.

Author:
Stephen Colebourne

Constructor Summary
TestDateTime_Constructors(String name)
           
 
Method Summary
static void main(String[] args)
           
protected  void setUp()
           
static junit.framework.TestSuite suite()
           
protected  void tearDown()
           
 void test_now_Chronology()
          Test now (Chronology)
 void test_now_DateTimeZone()
          Test now (DateTimeZone)
 void test_now_nullChronology()
          Test now (Chronology=null)
 void test_now_nullDateTimeZone()
          Test now (DateTimeZone=null)
 void test_now()
          Test now ()
 void testConstructor_badconverterObject_Chronology()
          Test constructor (Object, Chronology)
 void testConstructor_badconverterObject_DateTimeZone()
          Test constructor (Object, DateTimeZone)
 void testConstructor_badconverterObject()
          Test constructor (Object=null)
 void testConstructor_Chronology()
          Test constructor (Chronology)
 void testConstructor_DateTimeZone()
          Test constructor (DateTimeZone)
 void testConstructor_int_int_int_int_int_Chronology()
          Test constructor (int, int, int, int, int, Chronology)
 void testConstructor_int_int_int_int_int_DateTimeZone()
          Test constructor (int, int, int, int, int, DateTimeZone)
 void testConstructor_int_int_int_int_int_int_Chronology()
          Test constructor (int, int, int, int, int, int, Chronology)
 void testConstructor_int_int_int_int_int_int_DateTimeZone()
          Test constructor (int, int, int, int, int, int, DateTimeZone)
 void testConstructor_int_int_int_int_int_int_int_Chronology()
          Test constructor (int, int, int, Chronology)
 void testConstructor_int_int_int_int_int_int_int_DateTimeZone()
          Test constructor (int, int, int, DateTimeZone)
 void testConstructor_int_int_int_int_int_int_int_nullChronology()
          Test constructor (int, int, int, Chronology=null)
 void testConstructor_int_int_int_int_int_int_int_nullDateTimeZone()
          Test constructor (int, int, int, DateTimeZone=null)
 void testConstructor_int_int_int_int_int_int_int()
          Test constructor (int, int, int)
 void testConstructor_int_int_int_int_int_int_nullChronology()
          Test constructor (int, int, int, int, int, int, Chronology=null)
 void testConstructor_int_int_int_int_int_int_nullDateTimeZone()
          Test constructor (int, int, int, int, int, int, DateTimeZone=null)
 void testConstructor_int_int_int_int_int_int()
          Test constructor (int, int, int, int, int, int)
 void testConstructor_int_int_int_int_int_nullChronology()
          Test constructor (int, int, int, int, int, Chronology=null)
 void testConstructor_int_int_int_int_int_nullDateTimeZone()
          Test constructor (int, int, int, int, int, DateTimeZone=null)
 void testConstructor_int_int_int_int_int()
          Test constructor (int, int, int, int, int)
 void testConstructor_invalidObject_Chronology()
          Test constructor (Object, Chronology)
 void testConstructor_invalidObject_DateTimeZone()
          Test constructor (Object, DateTimeZone)
 void testConstructor_invalidObject()
          Test constructor (Object)
 void testConstructor_long_nullChronology()
          Test constructor (long, Chronology=null)
 void testConstructor_long_nullDateTimeZone()
          Test constructor (long, DateTimeZone=null)
 void testConstructor_long1_Chronology()
          Test constructor (long, Chronology)
 void testConstructor_long1_DateTimeZone()
          Test constructor (long, DateTimeZone)
 void testConstructor_long1()
          Test constructor (long)
 void testConstructor_long2_Chronology()
          Test constructor (long, Chronology)
 void testConstructor_long2_DateTimeZone()
          Test constructor (long, DateTimeZone)
 void testConstructor_long2()
          Test constructor (long)
 void testConstructor_nullChronology()
          Test constructor (Chronology=null)
 void testConstructor_nullDateTimeZone()
          Test constructor (DateTimeZone=null)
 void testConstructor_nullObject_Chronology()
          Test constructor (Object=null, Chronology)
 void testConstructor_nullObject_DateTimeZone()
          Test constructor (Object=null, DateTimeZone)
 void testConstructor_nullObject_nullChronology()
          Test constructor (Object=null, Chronology=null)
 void testConstructor_nullObject_nullDateTimeZone()
          Test constructor (Object=null, DateTimeZone=null)
 void testConstructor_nullObject()
          Test constructor (Object=null)
 void testConstructor_Object_Chronology()
          Test constructor (Object, Chronology)
 void testConstructor_Object_DateTimeZone()
          Test constructor (Object, DateTimeZone)
 void testConstructor_Object_nullChronology()
          Test constructor (Object, Chronology=null)
 void testConstructor_Object_nullDateTimeZone()
          Test constructor (Object, DateTimeZone=null)
 void testConstructor_Object()
          Test constructor (Object)
 void testConstructor_ObjectString1()
           
 void testConstructor_ObjectString2()
           
 void testConstructor_ObjectString3()
           
 void testConstructor_ObjectString4()
           
 void testConstructor_ObjectString5()
           
 void testConstructor_ObjectString6()
           
 void testConstructor_ObjectString7()
           
 void testConstructor_ObjectStringEx1()
           
 void testConstructor_ObjectStringEx2()
           
 void testConstructor()
          Test constructor ()
 void testParse_formatter()
           
 void testParse_noFormatter()
           
 void testTest()
           
 
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

TestDateTime_Constructors

public TestDateTime_Constructors(String name)
Method Detail

main

public static void main(String[] args)

suite

public static junit.framework.TestSuite suite()

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testTest

public void testTest()

test_now

public void test_now()
              throws Throwable
Test now ()

Throws:
Throwable

test_now_DateTimeZone

public void test_now_DateTimeZone()
                           throws Throwable
Test now (DateTimeZone)

Throws:
Throwable

test_now_nullDateTimeZone

public void test_now_nullDateTimeZone()
                               throws Throwable
Test now (DateTimeZone=null)

Throws:
Throwable

test_now_Chronology

public void test_now_Chronology()
                         throws Throwable
Test now (Chronology)

Throws:
Throwable

test_now_nullChronology

public void test_now_nullChronology()
                             throws Throwable
Test now (Chronology=null)

Throws:
Throwable

testParse_noFormatter

public void testParse_noFormatter()
                           throws Throwable
Throws:
Throwable

testParse_formatter

public void testParse_formatter()
                         throws Throwable
Throws:
Throwable

testConstructor

public void testConstructor()
                     throws Throwable
Test constructor ()

Throws:
Throwable

testConstructor_DateTimeZone

public void testConstructor_DateTimeZone()
                                  throws Throwable
Test constructor (DateTimeZone)

Throws:
Throwable

testConstructor_nullDateTimeZone

public void testConstructor_nullDateTimeZone()
                                      throws Throwable
Test constructor (DateTimeZone=null)

Throws:
Throwable

testConstructor_Chronology

public void testConstructor_Chronology()
                                throws Throwable
Test constructor (Chronology)

Throws:
Throwable

testConstructor_nullChronology

public void testConstructor_nullChronology()
                                    throws Throwable
Test constructor (Chronology=null)

Throws:
Throwable

testConstructor_long1

public void testConstructor_long1()
                           throws Throwable
Test constructor (long)

Throws:
Throwable

testConstructor_long2

public void testConstructor_long2()
                           throws Throwable
Test constructor (long)

Throws:
Throwable

testConstructor_long1_DateTimeZone

public void testConstructor_long1_DateTimeZone()
                                        throws Throwable
Test constructor (long, DateTimeZone)

Throws:
Throwable

testConstructor_long2_DateTimeZone

public void testConstructor_long2_DateTimeZone()
                                        throws Throwable
Test constructor (long, DateTimeZone)

Throws:
Throwable

testConstructor_long_nullDateTimeZone

public void testConstructor_long_nullDateTimeZone()
                                           throws Throwable
Test constructor (long, DateTimeZone=null)

Throws:
Throwable

testConstructor_long1_Chronology

public void testConstructor_long1_Chronology()
                                      throws Throwable
Test constructor (long, Chronology)

Throws:
Throwable

testConstructor_long2_Chronology

public void testConstructor_long2_Chronology()
                                      throws Throwable
Test constructor (long, Chronology)

Throws:
Throwable

testConstructor_long_nullChronology

public void testConstructor_long_nullChronology()
                                         throws Throwable
Test constructor (long, Chronology=null)

Throws:
Throwable

testConstructor_Object

public void testConstructor_Object()
                            throws Throwable
Test constructor (Object)

Throws:
Throwable

testConstructor_invalidObject

public void testConstructor_invalidObject()
                                   throws Throwable
Test constructor (Object)

Throws:
Throwable

testConstructor_nullObject

public void testConstructor_nullObject()
                                throws Throwable
Test constructor (Object=null)

Throws:
Throwable

testConstructor_badconverterObject

public void testConstructor_badconverterObject()
                                        throws Throwable
Test constructor (Object=null)

Throws:
Throwable

testConstructor_ObjectString1

public void testConstructor_ObjectString1()
                                   throws Throwable
Throws:
Throwable

testConstructor_ObjectString2

public void testConstructor_ObjectString2()
                                   throws Throwable
Throws:
Throwable

testConstructor_ObjectString3

public void testConstructor_ObjectString3()
                                   throws Throwable
Throws:
Throwable

testConstructor_ObjectString4

public void testConstructor_ObjectString4()
                                   throws Throwable
Throws:
Throwable

testConstructor_ObjectString5

public void testConstructor_ObjectString5()
                                   throws Throwable
Throws:
Throwable

testConstructor_ObjectString6

public void testConstructor_ObjectString6()
                                   throws Throwable
Throws:
Throwable

testConstructor_ObjectString7

public void testConstructor_ObjectString7()
                                   throws Throwable
Throws:
Throwable

testConstructor_ObjectStringEx1

public void testConstructor_ObjectStringEx1()
                                     throws Throwable
Throws:
Throwable

testConstructor_ObjectStringEx2

public void testConstructor_ObjectStringEx2()
                                     throws Throwable
Throws:
Throwable

testConstructor_Object_DateTimeZone

public void testConstructor_Object_DateTimeZone()
                                         throws Throwable
Test constructor (Object, DateTimeZone)

Throws:
Throwable

testConstructor_invalidObject_DateTimeZone

public void testConstructor_invalidObject_DateTimeZone()
                                                throws Throwable
Test constructor (Object, DateTimeZone)

Throws:
Throwable

testConstructor_nullObject_DateTimeZone

public void testConstructor_nullObject_DateTimeZone()
                                             throws Throwable
Test constructor (Object=null, DateTimeZone)

Throws:
Throwable

testConstructor_Object_nullDateTimeZone

public void testConstructor_Object_nullDateTimeZone()
                                             throws Throwable
Test constructor (Object, DateTimeZone=null)

Throws:
Throwable

testConstructor_nullObject_nullDateTimeZone

public void testConstructor_nullObject_nullDateTimeZone()
                                                 throws Throwable
Test constructor (Object=null, DateTimeZone=null)

Throws:
Throwable

testConstructor_badconverterObject_DateTimeZone

public void testConstructor_badconverterObject_DateTimeZone()
                                                     throws Throwable
Test constructor (Object, DateTimeZone)

Throws:
Throwable

testConstructor_Object_Chronology

public void testConstructor_Object_Chronology()
                                       throws Throwable
Test constructor (Object, Chronology)

Throws:
Throwable

testConstructor_invalidObject_Chronology

public void testConstructor_invalidObject_Chronology()
                                              throws Throwable
Test constructor (Object, Chronology)

Throws:
Throwable

testConstructor_nullObject_Chronology

public void testConstructor_nullObject_Chronology()
                                           throws Throwable
Test constructor (Object=null, Chronology)

Throws:
Throwable

testConstructor_Object_nullChronology

public void testConstructor_Object_nullChronology()
                                           throws Throwable
Test constructor (Object, Chronology=null)

Throws:
Throwable

testConstructor_nullObject_nullChronology

public void testConstructor_nullObject_nullChronology()
                                               throws Throwable
Test constructor (Object=null, Chronology=null)

Throws:
Throwable

testConstructor_badconverterObject_Chronology

public void testConstructor_badconverterObject_Chronology()
                                                   throws Throwable
Test constructor (Object, Chronology)

Throws:
Throwable

testConstructor_int_int_int_int_int

public void testConstructor_int_int_int_int_int()
                                         throws Throwable
Test constructor (int, int, int, int, int)

Throws:
Throwable

testConstructor_int_int_int_int_int_DateTimeZone

public void testConstructor_int_int_int_int_int_DateTimeZone()
                                                      throws Throwable
Test constructor (int, int, int, int, int, DateTimeZone)

Throws:
Throwable

testConstructor_int_int_int_int_int_nullDateTimeZone

public void testConstructor_int_int_int_int_int_nullDateTimeZone()
                                                          throws Throwable
Test constructor (int, int, int, int, int, DateTimeZone=null)

Throws:
Throwable

testConstructor_int_int_int_int_int_Chronology

public void testConstructor_int_int_int_int_int_Chronology()
                                                    throws Throwable
Test constructor (int, int, int, int, int, Chronology)

Throws:
Throwable

testConstructor_int_int_int_int_int_nullChronology

public void testConstructor_int_int_int_int_int_nullChronology()
                                                        throws Throwable
Test constructor (int, int, int, int, int, Chronology=null)

Throws:
Throwable

testConstructor_int_int_int_int_int_int

public void testConstructor_int_int_int_int_int_int()
                                             throws Throwable
Test constructor (int, int, int, int, int, int)

Throws:
Throwable

testConstructor_int_int_int_int_int_int_DateTimeZone

public void testConstructor_int_int_int_int_int_int_DateTimeZone()
                                                          throws Throwable
Test constructor (int, int, int, int, int, int, DateTimeZone)

Throws:
Throwable

testConstructor_int_int_int_int_int_int_nullDateTimeZone

public void testConstructor_int_int_int_int_int_int_nullDateTimeZone()
                                                              throws Throwable
Test constructor (int, int, int, int, int, int, DateTimeZone=null)

Throws:
Throwable

testConstructor_int_int_int_int_int_int_Chronology

public void testConstructor_int_int_int_int_int_int_Chronology()
                                                        throws Throwable
Test constructor (int, int, int, int, int, int, Chronology)

Throws:
Throwable

testConstructor_int_int_int_int_int_int_nullChronology

public void testConstructor_int_int_int_int_int_int_nullChronology()
                                                            throws Throwable
Test constructor (int, int, int, int, int, int, Chronology=null)

Throws:
Throwable

testConstructor_int_int_int_int_int_int_int

public void testConstructor_int_int_int_int_int_int_int()
                                                 throws Throwable
Test constructor (int, int, int)

Throws:
Throwable

testConstructor_int_int_int_int_int_int_int_DateTimeZone

public void testConstructor_int_int_int_int_int_int_int_DateTimeZone()
                                                              throws Throwable
Test constructor (int, int, int, DateTimeZone)

Throws:
Throwable

testConstructor_int_int_int_int_int_int_int_nullDateTimeZone

public void testConstructor_int_int_int_int_int_int_int_nullDateTimeZone()
                                                                  throws Throwable
Test constructor (int, int, int, DateTimeZone=null)

Throws:
Throwable

testConstructor_int_int_int_int_int_int_int_Chronology

public void testConstructor_int_int_int_int_int_int_int_Chronology()
                                                            throws Throwable
Test constructor (int, int, int, Chronology)

Throws:
Throwable

testConstructor_int_int_int_int_int_int_int_nullChronology

public void testConstructor_int_int_int_int_int_int_int_nullChronology()
                                                                throws Throwable
Test constructor (int, int, int, Chronology=null)

Throws:
Throwable


Copyright © 2002-2013 Joda.org. All Rights Reserved.