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

Quick Search    Search Deep

org.joda.time.format
Class TestISOPeriodFormat  view TestISOPeriodFormat download TestISOPeriodFormat.java

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

public class TestISOPeriodFormat
extends junit.framework.TestCase

This class is a Junit unit test for ISOPeriodFormat.


Field Summary
private static org.joda.time.Period DATE_PERIOD
           
private static org.joda.time.Period EMPTY_PERIOD
           
private static org.joda.time.Period EMPTY_YEAR_DAY_PERIOD
           
private static org.joda.time.DateTimeZone LONDON
           
private  org.joda.time.DateTimeZone originalDateTimeZone
           
private  java.util.Locale originalLocale
           
private  java.util.TimeZone originalTimeZone
           
private static org.joda.time.DateTimeZone PARIS
           
private static org.joda.time.Period PERIOD
           
private  long TEST_TIME_NOW
           
private static org.joda.time.Period TIME_PERIOD
           
private static org.joda.time.DateTimeZone TOKYO
           
(package private)  long y2002days
           
private static org.joda.time.Period YEAR_DAY_PERIOD
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestISOPeriodFormat(java.lang.String name)
           
 
Method Summary
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 testFormatAlternate()
           
 void testFormatAlternateExtended()
           
 void testFormatAlternateExtendedWithWeeks()
           
 void testFormatAlternateWithWeeks()
           
 void testFormatStandard()
           
 void testSubclassableConstructor()
           
 
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

PERIOD

private static final org.joda.time.Period PERIOD

EMPTY_PERIOD

private static final org.joda.time.Period EMPTY_PERIOD

YEAR_DAY_PERIOD

private static final org.joda.time.Period YEAR_DAY_PERIOD

EMPTY_YEAR_DAY_PERIOD

private static final org.joda.time.Period EMPTY_YEAR_DAY_PERIOD

TIME_PERIOD

private static final org.joda.time.Period TIME_PERIOD

DATE_PERIOD

private static final org.joda.time.Period DATE_PERIOD

PARIS

private static final org.joda.time.DateTimeZone PARIS

LONDON

private static final org.joda.time.DateTimeZone LONDON

TOKYO

private static final org.joda.time.DateTimeZone TOKYO

y2002days

long y2002days

TEST_TIME_NOW

private long TEST_TIME_NOW

originalDateTimeZone

private org.joda.time.DateTimeZone originalDateTimeZone

originalTimeZone

private java.util.TimeZone originalTimeZone

originalLocale

private java.util.Locale originalLocale
Constructor Detail

TestISOPeriodFormat

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

main

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

suite

public static junit.framework.TestSuite suite()

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.


testSubclassableConstructor

public void testSubclassableConstructor()

testFormatStandard

public void testFormatStandard()

testFormatAlternate

public void testFormatAlternate()

testFormatAlternateExtended

public void testFormatAlternateExtended()

testFormatAlternateWithWeeks

public void testFormatAlternateWithWeeks()

testFormatAlternateExtendedWithWeeks

public void testFormatAlternateExtendedWithWeeks()