org.joda.time.format
Class TestPeriodFormatterBuilder

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

public class TestPeriodFormatterBuilder
extends junit.framework.TestCase

This class is a Junit unit test for PeriodFormatterBuilder.

Author:
Stephen Colebourne

Constructor Summary
TestPeriodFormatterBuilder(String name)
           
 
Method Summary
static void main(String[] args)
           
protected  void setUp()
           
static junit.framework.TestSuite suite()
           
protected  void tearDown()
           
 void testBug2495455()
           
 void testFormatAppend_PrinterParser_null_null()
           
 void testFormatAppend_PrinterParser_null_Parser()
           
 void testFormatAppend_PrinterParser_Printer_null_null_Parser()
           
 void testFormatAppend_PrinterParser_Printer_null()
           
 void testFormatAppend_PrinterParser_PrinterParser()
           
 void testFormatAppend_PrinterParserThenClear()
           
 void testFormatAppendFormatter()
           
 void testFormatDays()
           
 void testFormatHours()
           
 void testFormatLiteral()
           
 void testFormatMillis()
           
 void testFormatMillis3Digit()
           
 void testFormatMinDigits()
           
 void testFormatMinutes()
           
 void testFormatMonths()
           
 void testFormatPrefixPlural1()
           
 void testFormatPrefixPlural2()
           
 void testFormatPrefixPlural3()
           
 void testFormatPrefixSimple1()
           
 void testFormatPrefixSimple2()
           
 void testFormatPrefixSimple3()
           
 void testFormatPrefixSuffix()
           
 void testFormatPrintZeroAlways()
           
 void testFormatPrintZeroDefault()
           
 void testFormatPrintZeroIfSupported()
           
 void testFormatPrintZeroNever()
           
 void testFormatPrintZeroRarelyFirst()
           
 void testFormatPrintZeroRarelyFirstDays()
           
 void testFormatPrintZeroRarelyFirstHours()
           
 void testFormatPrintZeroRarelyFirstMinutes()
           
 void testFormatPrintZeroRarelyFirstMonths()
           
 void testFormatPrintZeroRarelyFirstSeconds()
           
 void testFormatPrintZeroRarelyFirstWeeks()
           
 void testFormatPrintZeroRarelyFirstYears()
           
 void testFormatPrintZeroRarelyLast()
           
 void testFormatSeconds()
           
 void testFormatSecondsWithMillis()
           
 void testFormatSecondsWithOptionalMillis()
           
 void testFormatSeparatorComplex()
           
 void testFormatSeparatorIfFieldsAfter()
           
 void testFormatSeparatorIfFieldsBefore()
           
 void testFormatSeparatorSimple()
           
 void testFormatSuffixPlural1()
           
 void testFormatSuffixPlural2()
           
 void testFormatSuffixPlural3()
           
 void testFormatSuffixPlural4()
           
 void testFormatSuffixSimple1()
           
 void testFormatSuffixSimple2()
           
 void testFormatSuffixSimple3()
           
 void testFormatSuffixSimple4()
           
 void testFormatWeeks()
           
 void testFormatYears()
           
 void testToFormatterPrinterParser()
           
 
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

TestPeriodFormatterBuilder

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

testToFormatterPrinterParser

public void testToFormatterPrinterParser()

testFormatYears

public void testFormatYears()

testFormatMonths

public void testFormatMonths()

testFormatWeeks

public void testFormatWeeks()

testFormatDays

public void testFormatDays()

testFormatHours

public void testFormatHours()

testFormatMinutes

public void testFormatMinutes()

testFormatSeconds

public void testFormatSeconds()

testFormatSecondsWithMillis

public void testFormatSecondsWithMillis()

testFormatSecondsWithOptionalMillis

public void testFormatSecondsWithOptionalMillis()

testFormatMillis

public void testFormatMillis()

testFormatMillis3Digit

public void testFormatMillis3Digit()

testFormatPrefixSimple1

public void testFormatPrefixSimple1()

testFormatPrefixSimple2

public void testFormatPrefixSimple2()

testFormatPrefixSimple3

public void testFormatPrefixSimple3()

testFormatPrefixPlural1

public void testFormatPrefixPlural1()

testFormatPrefixPlural2

public void testFormatPrefixPlural2()

testFormatPrefixPlural3

public void testFormatPrefixPlural3()

testFormatSuffixSimple1

public void testFormatSuffixSimple1()

testFormatSuffixSimple2

public void testFormatSuffixSimple2()

testFormatSuffixSimple3

public void testFormatSuffixSimple3()

testFormatSuffixSimple4

public void testFormatSuffixSimple4()

testFormatSuffixPlural1

public void testFormatSuffixPlural1()

testFormatSuffixPlural2

public void testFormatSuffixPlural2()

testFormatSuffixPlural3

public void testFormatSuffixPlural3()

testFormatSuffixPlural4

public void testFormatSuffixPlural4()

testFormatPrefixSuffix

public void testFormatPrefixSuffix()

testFormatSeparatorSimple

public void testFormatSeparatorSimple()

testFormatSeparatorComplex

public void testFormatSeparatorComplex()

testFormatSeparatorIfFieldsAfter

public void testFormatSeparatorIfFieldsAfter()

testFormatSeparatorIfFieldsBefore

public void testFormatSeparatorIfFieldsBefore()

testFormatLiteral

public void testFormatLiteral()

testFormatAppendFormatter

public void testFormatAppendFormatter()

testFormatMinDigits

public void testFormatMinDigits()

testFormatPrintZeroDefault

public void testFormatPrintZeroDefault()

testFormatPrintZeroRarelyLast

public void testFormatPrintZeroRarelyLast()

testFormatPrintZeroRarelyFirst

public void testFormatPrintZeroRarelyFirst()

testFormatPrintZeroRarelyFirstYears

public void testFormatPrintZeroRarelyFirstYears()

testFormatPrintZeroRarelyFirstMonths

public void testFormatPrintZeroRarelyFirstMonths()

testFormatPrintZeroRarelyFirstWeeks

public void testFormatPrintZeroRarelyFirstWeeks()

testFormatPrintZeroRarelyFirstDays

public void testFormatPrintZeroRarelyFirstDays()

testFormatPrintZeroRarelyFirstHours

public void testFormatPrintZeroRarelyFirstHours()

testFormatPrintZeroRarelyFirstMinutes

public void testFormatPrintZeroRarelyFirstMinutes()

testFormatPrintZeroRarelyFirstSeconds

public void testFormatPrintZeroRarelyFirstSeconds()

testFormatPrintZeroIfSupported

public void testFormatPrintZeroIfSupported()

testFormatPrintZeroAlways

public void testFormatPrintZeroAlways()

testFormatPrintZeroNever

public void testFormatPrintZeroNever()

testFormatAppend_PrinterParser_null_null

public void testFormatAppend_PrinterParser_null_null()

testFormatAppend_PrinterParser_Printer_null

public void testFormatAppend_PrinterParser_Printer_null()

testFormatAppend_PrinterParser_null_Parser

public void testFormatAppend_PrinterParser_null_Parser()

testFormatAppend_PrinterParser_PrinterParser

public void testFormatAppend_PrinterParser_PrinterParser()

testFormatAppend_PrinterParser_Printer_null_null_Parser

public void testFormatAppend_PrinterParser_Printer_null_null_Parser()

testFormatAppend_PrinterParserThenClear

public void testFormatAppend_PrinterParserThenClear()

testBug2495455

public void testBug2495455()


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