org.joda.time
Class TestSerialization

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

public class TestSerialization
extends junit.framework.TestCase

This class is a Junit unit test for serialization.

Author:
Stephen Colebourne

Constructor Summary
TestSerialization(String name)
           
 
Method Summary
 void inlineCompare(Serializable test, boolean same)
           
static void main(String[] args)
           
protected  void setUp()
           
static junit.framework.TestSuite suite()
           
protected  void tearDown()
           
 void testDuration()
           
 void testSerializedBuddhistChronology()
           
 void testSerializedCopticChronology()
           
 void testSerializedDateMidnight()
           
 void testSerializedDateMidnightProperty()
           
 void testSerializedDateTime()
           
 void testSerializedDateTimeFieldType()
           
 void testSerializedDateTimeProperty()
           
 void testSerializedDateTimeZone()
           
 void testSerializedDateTimeZoneUTC()
           
 void testSerializedGJChronology()
           
 void testSerializedGJChronologyChangedInternals()
           
 void testSerializedGregorianChronology()
           
 void testSerializedInstant()
           
 void testSerializedISOChronology()
           
 void testSerializedJulianChronology()
           
 void testSerializedLocalDate()
           
 void testSerializedLocalDateBuddhist()
           
 void testSerializedLocalDateTime()
           
 void testSerializedLocalTime()
           
 void testSerializedMutableDateTime()
           
 void testSerializedMutableDateTimeProperty()
           
 void testSerializedPeriodType()
           
 void testSerializedTimeOfDay()
           
 void testSerializedUnsupportedDateTimeField()
           
 void testSerializedYearMonthDay()
           
 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

TestSerialization

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

testSerializedInstant

public void testSerializedInstant()
                           throws Exception
Throws:
Exception

testSerializedDateTime

public void testSerializedDateTime()
                            throws Exception
Throws:
Exception

testSerializedDateTimeProperty

public void testSerializedDateTimeProperty()
                                    throws Exception
Throws:
Exception

testSerializedMutableDateTime

public void testSerializedMutableDateTime()
                                   throws Exception
Throws:
Exception

testSerializedMutableDateTimeProperty

public void testSerializedMutableDateTimeProperty()
                                           throws Exception
Throws:
Exception

testSerializedDateMidnight

public void testSerializedDateMidnight()
                                throws Exception
Throws:
Exception

testSerializedDateMidnightProperty

public void testSerializedDateMidnightProperty()
                                        throws Exception
Throws:
Exception

testSerializedLocalDate

public void testSerializedLocalDate()
                             throws Exception
Throws:
Exception

testSerializedLocalDateBuddhist

public void testSerializedLocalDateBuddhist()
                                     throws Exception
Throws:
Exception

testSerializedLocalTime

public void testSerializedLocalTime()
                             throws Exception
Throws:
Exception

testSerializedLocalDateTime

public void testSerializedLocalDateTime()
                                 throws Exception
Throws:
Exception

testSerializedYearMonthDay

public void testSerializedYearMonthDay()
                                throws Exception
Throws:
Exception

testSerializedTimeOfDay

public void testSerializedTimeOfDay()
                             throws Exception
Throws:
Exception

testSerializedDateTimeZoneUTC

public void testSerializedDateTimeZoneUTC()
                                   throws Exception
Throws:
Exception

testSerializedDateTimeZone

public void testSerializedDateTimeZone()
                                throws Exception
Throws:
Exception

testDuration

public void testDuration()
                  throws Exception
Throws:
Exception

testSerializedCopticChronology

public void testSerializedCopticChronology()
                                    throws Exception
Throws:
Exception

testSerializedISOChronology

public void testSerializedISOChronology()
                                 throws Exception
Throws:
Exception

testSerializedGJChronology

public void testSerializedGJChronology()
                                throws Exception
Throws:
Exception

testSerializedGJChronologyChangedInternals

public void testSerializedGJChronologyChangedInternals()
                                                throws Exception
Throws:
Exception

testSerializedGregorianChronology

public void testSerializedGregorianChronology()
                                       throws Exception
Throws:
Exception

testSerializedJulianChronology

public void testSerializedJulianChronology()
                                    throws Exception
Throws:
Exception

testSerializedBuddhistChronology

public void testSerializedBuddhistChronology()
                                      throws Exception
Throws:
Exception

testSerializedPeriodType

public void testSerializedPeriodType()
                              throws Exception
Throws:
Exception

testSerializedDateTimeFieldType

public void testSerializedDateTimeFieldType()
                                     throws Exception
Throws:
Exception

testSerializedUnsupportedDateTimeField

public void testSerializedUnsupportedDateTimeField()
                                            throws Exception
Throws:
Exception

inlineCompare

public void inlineCompare(Serializable test,
                          boolean same)
                   throws Exception
Throws:
Exception


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