org.joda.time
Class TestYearMonth_Constructors

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

public class TestYearMonth_Constructors
extends junit.framework.TestCase

This class is a Junit unit test for YearMonth.

Author:
Stephen Colebourne

Constructor Summary
TestYearMonth_Constructors(String name)
           
 
Method Summary
static void main(String[] args)
           
protected  void setUp()
           
static junit.framework.TestSuite suite()
           
protected  void tearDown()
           
 void testConstructor_Chronology()
          Test constructor (Chronology)
 void testConstructor_DateTimeZone()
          Test constructor (DateTimeZone)
 void testConstructor_int_int_Chronology()
          Test constructor (int, int, Chronology)
 void testConstructor_int_int_nullChronology()
          Test constructor (int, int, Chronology=null)
 void testConstructor_int_int()
          Test constructor (int, int)
 void testConstructor_long_nullChronology()
          Test constructor (long, Chronology=null)
 void testConstructor_long1_Chronology()
          Test constructor (long, Chronology)
 void testConstructor_long1()
          Test constructor (long)
 void testConstructor_long2_Chronology()
          Test constructor (long, Chronology)
 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_nullChronology()
          Test constructor (Object=null, Chronology=null)
 void testConstructor_nullObject()
           
 void testConstructor_Object_Chronology()
          Test constructor (Object, Chronology)
 void testConstructor_Object_nullChronology()
          Test constructor (Object, Chronology=null)
 void testConstructor_Object()
           
 void testConstructor_ObjectString1()
           
 void testConstructor_ObjectString5()
           
 void testConstructor_ObjectStringEx1()
           
 void testConstructor_ObjectStringEx2()
           
 void testConstructor_ObjectStringEx3()
           
 void testConstructor_ObjectStringEx4()
           
 void testConstructor()
          Test constructor ()
 void testFactory_FromCalendarFields()
           
 void testFactory_FromDateFields()
           
 void testParse_formatter()
           
 void testParse_noFormatter()
           
 
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

TestYearMonth_Constructors

public TestYearMonth_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

testParse_noFormatter

public void testParse_noFormatter()
                           throws Throwable
Throws:
Throwable

testParse_formatter

public void testParse_formatter()
                         throws Throwable
Throws:
Throwable

testFactory_FromCalendarFields

public void testFactory_FromCalendarFields()
                                    throws Exception
Throws:
Exception

testFactory_FromDateFields

public void testFactory_FromDateFields()
                                throws Exception
Throws:
Exception

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_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
Throws:
Throwable

testConstructor_nullObject

public void testConstructor_nullObject()
                                throws Throwable
Throws:
Throwable

testConstructor_ObjectString1

public void testConstructor_ObjectString1()
                                   throws Throwable
Throws:
Throwable

testConstructor_ObjectString5

public void testConstructor_ObjectString5()
                                   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_ObjectStringEx3

public void testConstructor_ObjectStringEx3()
                                     throws Throwable
Throws:
Throwable

testConstructor_ObjectStringEx4

public void testConstructor_ObjectStringEx4()
                                     throws Throwable
Throws:
Throwable

testConstructor_Object_Chronology

public void testConstructor_Object_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_int_int

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

Throws:
Throwable

testConstructor_int_int_Chronology

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

Throws:
Throwable

testConstructor_int_int_nullChronology

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

Throws:
Throwable


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