org.joda.time
Class TestPeriod_Constructors

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

public class TestPeriod_Constructors
extends junit.framework.TestCase

This class is a JUnit test for Duration.

Author:
Stephen Colebourne

Constructor Summary
TestPeriod_Constructors(String name)
           
 
Method Summary
static void main(String[] args)
           
protected  void setUp()
           
static junit.framework.TestSuite suite()
           
protected  void tearDown()
           
 void testConstants()
           
 void testConstructor_4int1()
          Test constructor (4ints)
 void testConstructor_8int__PeriodType1()
          Test constructor (8ints)
 void testConstructor_8int__PeriodType2()
           
 void testConstructor_8int__PeriodType3()
           
 void testConstructor_8int1()
          Test constructor (8ints)
 void testConstructor_long_Chronology1()
           
 void testConstructor_long_Chronology2()
           
 void testConstructor_long_Chronology3()
           
 void testConstructor_long_fixedZone()
           
 void testConstructor_long_long_Chronology1()
           
 void testConstructor_long_long_Chronology2()
           
 void testConstructor_long_long_PeriodType_Chronology1()
           
 void testConstructor_long_long_PeriodType_Chronology2()
           
 void testConstructor_long_long_PeriodType1()
           
 void testConstructor_long_long_PeriodType2()
           
 void testConstructor_long_long_PeriodType3()
           
 void testConstructor_long_long1()
           
 void testConstructor_long_long2()
           
 void testConstructor_long_PeriodType_Chronology1()
           
 void testConstructor_long_PeriodType_Chronology2()
           
 void testConstructor_long_PeriodType_Chronology3()
           
 void testConstructor_long_PeriodType_Chronology4()
           
 void testConstructor_long_PeriodType1()
           
 void testConstructor_long_PeriodType2()
           
 void testConstructor_long_PeriodType3()
           
 void testConstructor_long_PeriodType4()
           
 void testConstructor_long1()
           
 void testConstructor_long2()
           
 void testConstructor_long3()
           
 void testConstructor_Object_PeriodType1()
          Test constructor (Object)
 void testConstructor_Object_PeriodType2()
           
 void testConstructor_Object_PeriodType3()
           
 void testConstructor_Object_PeriodType4()
           
 void testConstructor_Object1()
          Test constructor (Object)
 void testConstructor_Object2()
           
 void testConstructor_Object3()
           
 void testConstructor_Object4()
           
 void testConstructor_RD_RI_PeriodType1()
           
 void testConstructor_RD_RI_PeriodType2()
           
 void testConstructor_RD_RI1()
           
 void testConstructor_RD_RI2()
           
 void testConstructor_RI_RD_PeriodType1()
           
 void testConstructor_RI_RD_PeriodType2()
           
 void testConstructor_RI_RD1()
           
 void testConstructor_RI_RD2()
           
 void testConstructor_RI_RI_PeriodType1()
           
 void testConstructor_RI_RI_PeriodType2()
           
 void testConstructor_RI_RI_PeriodType3()
           
 void testConstructor_RI_RI_PeriodType4()
           
 void testConstructor_RI_RI_PeriodType5()
           
 void testConstructor_RI_RI1()
           
 void testConstructor_RI_RI2()
           
 void testConstructor_RI_RI3()
           
 void testConstructor_RI_RI4()
           
 void testConstructor_RI_RI5()
           
 void testConstructor_RP_RP_PeriodType1()
           
 void testConstructor_RP_RP_PeriodType2()
           
 void testConstructor_RP_RP_PeriodType2Local()
           
 void testConstructor_RP_RP_PeriodType3()
           
 void testConstructor_RP_RP_PeriodType4()
           
 void testConstructor_RP_RP_PeriodType5()
           
 void testConstructor_RP_RP_PeriodType6()
           
 void testConstructor_RP_RP_PeriodType7()
           
 void testConstructor_RP_RP_PeriodType8()
           
 void testConstructor_RP_RP1()
           
 void testConstructor_RP_RP2()
           
 void testConstructor_RP_RP2Local()
           
 void testConstructor_RP_RP3()
           
 void testConstructor_RP_RP4()
           
 void testConstructor_RP_RP5()
           
 void testConstructor_RP_RP6()
           
 void testConstructor_RP_RP7()
           
 void testConstructor_RP_RP8()
           
 void testConstructor1()
           
 void testFactoryDays()
           
 void testFactoryFieldDifference1()
           
 void testFactoryFieldDifference2()
           
 void testFactoryFieldDifference3()
           
 void testFactoryFieldDifference4()
           
 void testFactoryFieldDifference5()
           
 void testFactoryHours()
           
 void testFactoryMillis()
           
 void testFactoryMinutes()
           
 void testFactoryMonths()
           
 void testFactorySeconds()
           
 void testFactoryWeeks()
           
 void testFactoryYears()
           
 void testParse_noFormatter()
           
 void testToPeriod_PeriodType3()
           
 
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

TestPeriod_Constructors

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

testConstants

public void testConstants()
                   throws Throwable
Throws:
Throwable

testParse_noFormatter

public void testParse_noFormatter()
                           throws Throwable
Throws:
Throwable

testConstructor1

public void testConstructor1()
                      throws Throwable
Throws:
Throwable

testConstructor_long1

public void testConstructor_long1()
                           throws Throwable
Throws:
Throwable

testConstructor_long2

public void testConstructor_long2()
                           throws Throwable
Throws:
Throwable

testConstructor_long3

public void testConstructor_long3()
                           throws Throwable
Throws:
Throwable

testConstructor_long_fixedZone

public void testConstructor_long_fixedZone()
                                    throws Throwable
Throws:
Throwable

testConstructor_long_PeriodType1

public void testConstructor_long_PeriodType1()
                                      throws Throwable
Throws:
Throwable

testConstructor_long_PeriodType2

public void testConstructor_long_PeriodType2()
                                      throws Throwable
Throws:
Throwable

testConstructor_long_PeriodType3

public void testConstructor_long_PeriodType3()
                                      throws Throwable
Throws:
Throwable

testConstructor_long_PeriodType4

public void testConstructor_long_PeriodType4()
                                      throws Throwable
Throws:
Throwable

testConstructor_long_Chronology1

public void testConstructor_long_Chronology1()
                                      throws Throwable
Throws:
Throwable

testConstructor_long_Chronology2

public void testConstructor_long_Chronology2()
                                      throws Throwable
Throws:
Throwable

testConstructor_long_Chronology3

public void testConstructor_long_Chronology3()
                                      throws Throwable
Throws:
Throwable

testConstructor_long_PeriodType_Chronology1

public void testConstructor_long_PeriodType_Chronology1()
                                                 throws Throwable
Throws:
Throwable

testConstructor_long_PeriodType_Chronology2

public void testConstructor_long_PeriodType_Chronology2()
                                                 throws Throwable
Throws:
Throwable

testConstructor_long_PeriodType_Chronology3

public void testConstructor_long_PeriodType_Chronology3()
                                                 throws Throwable
Throws:
Throwable

testConstructor_long_PeriodType_Chronology4

public void testConstructor_long_PeriodType_Chronology4()
                                                 throws Throwable
Throws:
Throwable

testConstructor_4int1

public void testConstructor_4int1()
                           throws Throwable
Test constructor (4ints)

Throws:
Throwable

testConstructor_8int1

public void testConstructor_8int1()
                           throws Throwable
Test constructor (8ints)

Throws:
Throwable

testConstructor_8int__PeriodType1

public void testConstructor_8int__PeriodType1()
                                       throws Throwable
Test constructor (8ints)

Throws:
Throwable

testConstructor_8int__PeriodType2

public void testConstructor_8int__PeriodType2()
                                       throws Throwable
Throws:
Throwable

testConstructor_8int__PeriodType3

public void testConstructor_8int__PeriodType3()
                                       throws Throwable
Throws:
Throwable

testConstructor_long_long1

public void testConstructor_long_long1()
                                throws Throwable
Throws:
Throwable

testConstructor_long_long2

public void testConstructor_long_long2()
                                throws Throwable
Throws:
Throwable

testConstructor_long_long_PeriodType1

public void testConstructor_long_long_PeriodType1()
                                           throws Throwable
Throws:
Throwable

testConstructor_long_long_PeriodType2

public void testConstructor_long_long_PeriodType2()
                                           throws Throwable
Throws:
Throwable

testConstructor_long_long_PeriodType3

public void testConstructor_long_long_PeriodType3()
                                           throws Throwable
Throws:
Throwable

testToPeriod_PeriodType3

public void testToPeriod_PeriodType3()

testConstructor_long_long_Chronology1

public void testConstructor_long_long_Chronology1()
                                           throws Throwable
Throws:
Throwable

testConstructor_long_long_Chronology2

public void testConstructor_long_long_Chronology2()
                                           throws Throwable
Throws:
Throwable

testConstructor_long_long_PeriodType_Chronology1

public void testConstructor_long_long_PeriodType_Chronology1()
                                                      throws Throwable
Throws:
Throwable

testConstructor_long_long_PeriodType_Chronology2

public void testConstructor_long_long_PeriodType_Chronology2()
                                                      throws Throwable
Throws:
Throwable

testConstructor_RI_RI1

public void testConstructor_RI_RI1()
                            throws Throwable
Throws:
Throwable

testConstructor_RI_RI2

public void testConstructor_RI_RI2()
                            throws Throwable
Throws:
Throwable

testConstructor_RI_RI3

public void testConstructor_RI_RI3()
                            throws Throwable
Throws:
Throwable

testConstructor_RI_RI4

public void testConstructor_RI_RI4()
                            throws Throwable
Throws:
Throwable

testConstructor_RI_RI5

public void testConstructor_RI_RI5()
                            throws Throwable
Throws:
Throwable

testConstructor_RI_RI_PeriodType1

public void testConstructor_RI_RI_PeriodType1()
                                       throws Throwable
Throws:
Throwable

testConstructor_RI_RI_PeriodType2

public void testConstructor_RI_RI_PeriodType2()
                                       throws Throwable
Throws:
Throwable

testConstructor_RI_RI_PeriodType3

public void testConstructor_RI_RI_PeriodType3()
                                       throws Throwable
Throws:
Throwable

testConstructor_RI_RI_PeriodType4

public void testConstructor_RI_RI_PeriodType4()
                                       throws Throwable
Throws:
Throwable

testConstructor_RI_RI_PeriodType5

public void testConstructor_RI_RI_PeriodType5()
                                       throws Throwable
Throws:
Throwable

testConstructor_RP_RP1

public void testConstructor_RP_RP1()
                            throws Throwable
Throws:
Throwable

testConstructor_RP_RP2

public void testConstructor_RP_RP2()
                            throws Throwable
Throws:
Throwable

testConstructor_RP_RP2Local

public void testConstructor_RP_RP2Local()
                                 throws Throwable
Throws:
Throwable

testConstructor_RP_RP3

public void testConstructor_RP_RP3()
                            throws Throwable
Throws:
Throwable

testConstructor_RP_RP4

public void testConstructor_RP_RP4()
                            throws Throwable
Throws:
Throwable

testConstructor_RP_RP5

public void testConstructor_RP_RP5()
                            throws Throwable
Throws:
Throwable

testConstructor_RP_RP6

public void testConstructor_RP_RP6()
                            throws Throwable
Throws:
Throwable

testConstructor_RP_RP7

public void testConstructor_RP_RP7()
                            throws Throwable
Throws:
Throwable

testConstructor_RP_RP8

public void testConstructor_RP_RP8()
                            throws Throwable
Throws:
Throwable

testConstructor_RP_RP_PeriodType1

public void testConstructor_RP_RP_PeriodType1()
                                       throws Throwable
Throws:
Throwable

testConstructor_RP_RP_PeriodType2

public void testConstructor_RP_RP_PeriodType2()
                                       throws Throwable
Throws:
Throwable

testConstructor_RP_RP_PeriodType2Local

public void testConstructor_RP_RP_PeriodType2Local()
                                            throws Throwable
Throws:
Throwable

testConstructor_RP_RP_PeriodType3

public void testConstructor_RP_RP_PeriodType3()
                                       throws Throwable
Throws:
Throwable

testConstructor_RP_RP_PeriodType4

public void testConstructor_RP_RP_PeriodType4()
                                       throws Throwable
Throws:
Throwable

testConstructor_RP_RP_PeriodType5

public void testConstructor_RP_RP_PeriodType5()
                                       throws Throwable
Throws:
Throwable

testConstructor_RP_RP_PeriodType6

public void testConstructor_RP_RP_PeriodType6()
                                       throws Throwable
Throws:
Throwable

testConstructor_RP_RP_PeriodType7

public void testConstructor_RP_RP_PeriodType7()
                                       throws Throwable
Throws:
Throwable

testConstructor_RP_RP_PeriodType8

public void testConstructor_RP_RP_PeriodType8()
                                       throws Throwable
Throws:
Throwable

testConstructor_RI_RD1

public void testConstructor_RI_RD1()
                            throws Throwable
Throws:
Throwable

testConstructor_RI_RD2

public void testConstructor_RI_RD2()
                            throws Throwable
Throws:
Throwable

testConstructor_RI_RD_PeriodType1

public void testConstructor_RI_RD_PeriodType1()
                                       throws Throwable
Throws:
Throwable

testConstructor_RI_RD_PeriodType2

public void testConstructor_RI_RD_PeriodType2()
                                       throws Throwable
Throws:
Throwable

testConstructor_RD_RI1

public void testConstructor_RD_RI1()
                            throws Throwable
Throws:
Throwable

testConstructor_RD_RI2

public void testConstructor_RD_RI2()
                            throws Throwable
Throws:
Throwable

testConstructor_RD_RI_PeriodType1

public void testConstructor_RD_RI_PeriodType1()
                                       throws Throwable
Throws:
Throwable

testConstructor_RD_RI_PeriodType2

public void testConstructor_RD_RI_PeriodType2()
                                       throws Throwable
Throws:
Throwable

testConstructor_Object1

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

Throws:
Throwable

testConstructor_Object2

public void testConstructor_Object2()
                             throws Throwable
Throws:
Throwable

testConstructor_Object3

public void testConstructor_Object3()
                             throws Throwable
Throws:
Throwable

testConstructor_Object4

public void testConstructor_Object4()
                             throws Throwable
Throws:
Throwable

testConstructor_Object_PeriodType1

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

Throws:
Throwable

testConstructor_Object_PeriodType2

public void testConstructor_Object_PeriodType2()
                                        throws Throwable
Throws:
Throwable

testConstructor_Object_PeriodType3

public void testConstructor_Object_PeriodType3()
                                        throws Throwable
Throws:
Throwable

testConstructor_Object_PeriodType4

public void testConstructor_Object_PeriodType4()
                                        throws Throwable
Throws:
Throwable

testFactoryYears

public void testFactoryYears()
                      throws Throwable
Throws:
Throwable

testFactoryMonths

public void testFactoryMonths()
                       throws Throwable
Throws:
Throwable

testFactoryWeeks

public void testFactoryWeeks()
                      throws Throwable
Throws:
Throwable

testFactoryDays

public void testFactoryDays()
                     throws Throwable
Throws:
Throwable

testFactoryHours

public void testFactoryHours()
                      throws Throwable
Throws:
Throwable

testFactoryMinutes

public void testFactoryMinutes()
                        throws Throwable
Throws:
Throwable

testFactorySeconds

public void testFactorySeconds()
                        throws Throwable
Throws:
Throwable

testFactoryMillis

public void testFactoryMillis()
                       throws Throwable
Throws:
Throwable

testFactoryFieldDifference1

public void testFactoryFieldDifference1()
                                 throws Throwable
Throws:
Throwable

testFactoryFieldDifference2

public void testFactoryFieldDifference2()
                                 throws Throwable
Throws:
Throwable

testFactoryFieldDifference3

public void testFactoryFieldDifference3()
                                 throws Throwable
Throws:
Throwable

testFactoryFieldDifference4

public void testFactoryFieldDifference4()
                                 throws Throwable
Throws:
Throwable

testFactoryFieldDifference5

public void testFactoryFieldDifference5()
                                 throws Throwable
Throws:
Throwable


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