java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.joda.time.tz.TestBuilder
- All Implemented Interfaces:
- junit.framework.Test
- public class TestBuilder
- extends junit.framework.TestCase
Test cases for DateTimeZoneBuilder.
| Fields inherited from class junit.framework.TestCase |
|
| 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 |
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
TestBuilder
public TestBuilder(java.lang.String name)
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