org.apache.commons.lang.text
Class ExtendedMessageFormatTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.commons.lang.text.ExtendedMessageFormatTest
All Implemented Interfaces:
junit.framework.Test

public class ExtendedMessageFormatTest
extends junit.framework.TestCase

Test case for ExtendedMessageFormat.

Since:
2.4
Version:
$Id: ExtendedMessageFormatTest.java 634874 2008-03-08 00:30:04Z mbenson $

Constructor Summary
ExtendedMessageFormatTest(java.lang.String name)
          Create a new test case.
 
Method Summary
protected  void setUp()
           
static junit.framework.Test suite()
          Return a new test suite containing this test case.
protected  void tearDown()
           
 void testBuiltInChoiceFormat()
          Test the built in choice format.
 void testBuiltInDateTimeFormat()
          Test the built in date/time formats
 void testBuiltInNumberFormat()
          Test the built in number formats.
 void testExtendedAndBuiltInFormats()
          Test extended and built in formats.
 void testExtendedFormats()
          Test extended formats.
 
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
 

Constructor Detail

ExtendedMessageFormatTest

public ExtendedMessageFormatTest(java.lang.String name)
Create a new test case.

Parameters:
name - The name of the test
Method Detail

suite

public static junit.framework.Test suite()
Return a new test suite containing this test case.

Returns:
a new test suite containing this test case

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testExtendedFormats

public void testExtendedFormats()
Test extended formats.


testExtendedAndBuiltInFormats

public void testExtendedAndBuiltInFormats()
Test extended and built in formats.


testBuiltInChoiceFormat

public void testBuiltInChoiceFormat()
Test the built in choice format.


testBuiltInDateTimeFormat

public void testBuiltInDateTimeFormat()
Test the built in date/time formats


testBuiltInNumberFormat

public void testBuiltInNumberFormat()
Test the built in number formats.



Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.