org.joda.time
Class TestPeriodType

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

public class TestPeriodType
extends junit.framework.TestCase

This class is a JUnit test for PeriodType.

Author:
Stephen Colebourne

Constructor Summary
TestPeriodType(String name)
           
 
Method Summary
static void main(String[] args)
           
protected  void setUp()
           
static junit.framework.TestSuite suite()
           
protected  void tearDown()
           
 void testDays()
           
 void testDayTime()
           
 void testEquals()
           
 void testForFields1()
           
 void testForFields2()
           
 void testForFields3()
           
 void testForFields4()
           
 void testForFields5()
           
 void testForFields6()
           
 void testForFields7()
           
 void testHashCode()
           
 void testHours()
           
 void testIndexOf()
           
 void testIsSupported()
           
 void testMaskDays()
           
 void testMaskHours()
           
 void testMaskHoursMinutesSeconds()
           
 void testMaskMillis()
           
 void testMaskMinutes()
           
 void testMaskMonths()
           
 void testMaskSeconds()
           
 void testMaskTwice1()
           
 void testMaskTwice2()
           
 void testMaskWeeks()
           
 void testMaskYears()
           
 void testMillis()
           
 void testMinutes()
           
 void testMonths()
           
 void testSeconds()
           
 void testStandard()
           
 void testTest()
           
 void testTime()
           
 void testWeeks()
           
 void testYearDay()
           
 void testYearDayTime()
           
 void testYearMonthDay()
           
 void testYearMonthDayTime()
           
 void testYears()
           
 void testYearWeekDay()
           
 void testYearWeekDayTime()
           
 
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

TestPeriodType

public TestPeriodType(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()

testStandard

public void testStandard()
                  throws Exception
Throws:
Exception

testYearMonthDayTime

public void testYearMonthDayTime()
                          throws Exception
Throws:
Exception

testYearMonthDay

public void testYearMonthDay()
                      throws Exception
Throws:
Exception

testYearWeekDayTime

public void testYearWeekDayTime()
                         throws Exception
Throws:
Exception

testYearWeekDay

public void testYearWeekDay()
                     throws Exception
Throws:
Exception

testYearDayTime

public void testYearDayTime()
                     throws Exception
Throws:
Exception

testYearDay

public void testYearDay()
                 throws Exception
Throws:
Exception

testDayTime

public void testDayTime()
                 throws Exception
Throws:
Exception

testTime

public void testTime()
              throws Exception
Throws:
Exception

testYears

public void testYears()
               throws Exception
Throws:
Exception

testMonths

public void testMonths()
                throws Exception
Throws:
Exception

testWeeks

public void testWeeks()
               throws Exception
Throws:
Exception

testDays

public void testDays()
              throws Exception
Throws:
Exception

testHours

public void testHours()
               throws Exception
Throws:
Exception

testMinutes

public void testMinutes()
                 throws Exception
Throws:
Exception

testSeconds

public void testSeconds()
                 throws Exception
Throws:
Exception

testMillis

public void testMillis()
                throws Exception
Throws:
Exception

testForFields1

public void testForFields1()
                    throws Exception
Throws:
Exception

testForFields2

public void testForFields2()
                    throws Exception
Throws:
Exception

testForFields3

public void testForFields3()
                    throws Exception
Throws:
Exception

testForFields4

public void testForFields4()
                    throws Exception
Throws:
Exception

testForFields5

public void testForFields5()
                    throws Exception
Throws:
Exception

testForFields6

public void testForFields6()
                    throws Exception
Throws:
Exception

testForFields7

public void testForFields7()
                    throws Exception
Throws:
Exception

testMaskYears

public void testMaskYears()
                   throws Exception
Throws:
Exception

testMaskMonths

public void testMaskMonths()
                    throws Exception
Throws:
Exception

testMaskWeeks

public void testMaskWeeks()
                   throws Exception
Throws:
Exception

testMaskDays

public void testMaskDays()
                  throws Exception
Throws:
Exception

testMaskHours

public void testMaskHours()
                   throws Exception
Throws:
Exception

testMaskMinutes

public void testMaskMinutes()
                     throws Exception
Throws:
Exception

testMaskSeconds

public void testMaskSeconds()
                     throws Exception
Throws:
Exception

testMaskMillis

public void testMaskMillis()
                    throws Exception
Throws:
Exception

testMaskHoursMinutesSeconds

public void testMaskHoursMinutesSeconds()
                                 throws Exception
Throws:
Exception

testMaskTwice1

public void testMaskTwice1()
                    throws Exception
Throws:
Exception

testMaskTwice2

public void testMaskTwice2()
                    throws Exception
Throws:
Exception

testEquals

public void testEquals()
                throws Exception
Throws:
Exception

testHashCode

public void testHashCode()
                  throws Exception
Throws:
Exception

testIsSupported

public void testIsSupported()
                     throws Exception
Throws:
Exception

testIndexOf

public void testIndexOf()
                 throws Exception
Throws:
Exception


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