Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.joda.time.tz
Class TestBuilder  view TestBuilder download TestBuilder.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.joda.time.tz.TestBuilder
All Implemented Interfaces:
junit.framework.Test

public class TestBuilder
extends junit.framework.TestCase

Test cases for DateTimeZoneBuilder.


Field Summary
(package private) static java.lang.String[][] AMERICA_LOS_ANGELES_DATA
           
(package private) static org.joda.time.format.DateTimeFormatter OFFSET_FORMATTER
           
private  org.joda.time.DateTimeZone originalDateTimeZone
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestBuilder(java.lang.String name)
           
 
Method Summary
(package private) static org.joda.time.DateTimeZone buildAmericaLosAngeles()
           
(package private) static DateTimeZoneBuilder buildAmericaLosAngelesBuilder()
           
static void main(java.lang.String[] args)
           
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
static junit.framework.TestSuite suite()
           
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testFixed()
           
 void testForwardTransitions()
           
(package private) static void testForwardTransitions(org.joda.time.DateTimeZone tz, java.lang.String[][] data)
           
 void testID()
           
 void testReverseTransitions()
           
(package private) static void testReverseTransitions(org.joda.time.DateTimeZone tz, java.lang.String[][] data)
           
 void testSerialization()
           
(package private) static org.joda.time.DateTimeZone testSerialization(DateTimeZoneBuilder builder, java.lang.String id)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

OFFSET_FORMATTER

static final org.joda.time.format.DateTimeFormatter OFFSET_FORMATTER

AMERICA_LOS_ANGELES_DATA

static final java.lang.String[][] AMERICA_LOS_ANGELES_DATA

originalDateTimeZone

private org.joda.time.DateTimeZone originalDateTimeZone
Constructor Detail

TestBuilder

public TestBuilder(java.lang.String name)
Method Detail

main

public static void main(java.lang.String[] args)

suite

public static junit.framework.TestSuite suite()

buildAmericaLosAngelesBuilder

static DateTimeZoneBuilder buildAmericaLosAngelesBuilder()

buildAmericaLosAngeles

static org.joda.time.DateTimeZone buildAmericaLosAngeles()

setUp

protected void setUp()
              throws java.lang.Exception
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


tearDown

protected void tearDown()
                 throws java.lang.Exception
Description copied from class: junit.framework.TestCase
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.


testID

public void testID()

testForwardTransitions

public void testForwardTransitions()

testForwardTransitions

static void testForwardTransitions(org.joda.time.DateTimeZone tz,
                                   java.lang.String[][] data)

testReverseTransitions

public void testReverseTransitions()

testReverseTransitions

static void testReverseTransitions(org.joda.time.DateTimeZone tz,
                                   java.lang.String[][] data)

testSerialization

public void testSerialization()
                       throws java.io.IOException

testSerialization

static org.joda.time.DateTimeZone testSerialization(DateTimeZoneBuilder builder,
                                                    java.lang.String id)
                                             throws java.io.IOException

testFixed

public void testFixed()
               throws java.io.IOException