org.joda.time
Class TestDateTimeZone

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

public class TestDateTimeZone
extends junit.framework.TestCase

This class is a JUnit test for DateTimeZone.

Author:
Stephen Colebourne

Constructor Summary
TestDateTimeZone(String name)
           
 
Method Summary
static void main(String[] args)
           
protected  void setUp()
           
static junit.framework.TestSuite suite()
           
protected  void tearDown()
           
 void testCommentParse()
           
 void testConstructor()
           
 void testDefault()
           
 void testDefaultSecurity()
           
 void testEqualsHashCode()
           
 void testForID_String_old()
           
 void testForID_String()
           
 void testForOffsetHours_int()
           
 void testForOffsetHoursMinutes_int_int()
           
 void testForOffsetMillis_int()
           
 void testForTimeZone_TimeZone()
           
 void testGetAvailableIDs()
           
 void testGetID()
           
 void testGetMillisKeepLocal()
           
 void testGetName_berlin()
           
 void testGetName()
           
 void testGetNameKey()
           
 void testGetNameNullKey()
           
 void testGetNameProviderName()
           
 void testGetOffset_long()
           
 void testGetOffset_RI()
           
 void testGetOffsetFixed_RI()
           
 void testGetOffsetFixed()
           
 void testGetShortName_berlin()
           
 void testGetShortName()
           
 void testGetShortNameNullKey()
           
 void testGetShortNameProviderName()
           
 void testIsFixed()
           
 void testIsLocalDateTimeGap_Berlin()
           
 void testIsLocalDateTimeGap_NewYork()
           
 void testNameProvider()
           
 void testNameProviderSecurity()
           
 void testPatchedNameKeysGazaHistoric()
           
 void testPatchedNameKeysLondon()
           
 void testPatchedNameKeysSydney()
           
 void testPatchedNameKeysSydneyHistoric()
           
 void testProvider()
           
 void testProviderSecurity()
           
 void testSerialization1()
           
 void testSerialization2()
           
 void testTimeZoneConversion()
           
 void testToString()
           
 void testToTimeZone()
           
 void testTransitionFixed()
           
 
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

TestDateTimeZone

public TestDateTimeZone(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

testDefault

public void testDefault()

testDefaultSecurity

public void testDefaultSecurity()

testForID_String

public void testForID_String()

testForID_String_old

public void testForID_String_old()

testForOffsetHours_int

public void testForOffsetHours_int()

testForOffsetHoursMinutes_int_int

public void testForOffsetHoursMinutes_int_int()

testForOffsetMillis_int

public void testForOffsetMillis_int()

testForTimeZone_TimeZone

public void testForTimeZone_TimeZone()

testTimeZoneConversion

public void testTimeZoneConversion()

testGetAvailableIDs

public void testGetAvailableIDs()

testProvider

public void testProvider()

testProviderSecurity

public void testProviderSecurity()

testNameProvider

public void testNameProvider()

testNameProviderSecurity

public void testNameProviderSecurity()

testConstructor

public void testConstructor()

testGetID

public void testGetID()

testGetNameKey

public void testGetNameKey()

testGetShortName

public void testGetShortName()

testGetShortName_berlin

public void testGetShortName_berlin()

testGetShortNameProviderName

public void testGetShortNameProviderName()

testGetShortNameNullKey

public void testGetShortNameNullKey()

testGetName

public void testGetName()

testGetName_berlin

public void testGetName_berlin()

testGetNameProviderName

public void testGetNameProviderName()

testGetNameNullKey

public void testGetNameNullKey()

testGetOffset_long

public void testGetOffset_long()

testGetOffset_RI

public void testGetOffset_RI()

testGetOffsetFixed

public void testGetOffsetFixed()

testGetOffsetFixed_RI

public void testGetOffsetFixed_RI()

testGetMillisKeepLocal

public void testGetMillisKeepLocal()

testIsFixed

public void testIsFixed()

testTransitionFixed

public void testTransitionFixed()

testIsLocalDateTimeGap_Berlin

public void testIsLocalDateTimeGap_Berlin()

testIsLocalDateTimeGap_NewYork

public void testIsLocalDateTimeGap_NewYork()

testToTimeZone

public void testToTimeZone()

testEqualsHashCode

public void testEqualsHashCode()

testToString

public void testToString()

testSerialization1

public void testSerialization1()
                        throws Exception
Throws:
Exception

testSerialization2

public void testSerialization2()
                        throws Exception
Throws:
Exception

testCommentParse

public void testCommentParse()
                      throws Exception
Throws:
Exception

testPatchedNameKeysLondon

public void testPatchedNameKeysLondon()
                               throws Exception
Throws:
Exception

testPatchedNameKeysSydney

public void testPatchedNameKeysSydney()
                               throws Exception
Throws:
Exception

testPatchedNameKeysSydneyHistoric

public void testPatchedNameKeysSydneyHistoric()
                                       throws Exception
Throws:
Exception

testPatchedNameKeysGazaHistoric

public void testPatchedNameKeysGazaHistoric()
                                     throws Exception
Throws:
Exception


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