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

Quick Search    Search Deep

org.jdaemon.util.formats
Class TestFormats  view TestFormats download TestFormats.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jdaemon.util.formats.TestFormats
All Implemented Interfaces:
junit.framework.Test

public class TestFormats
extends junit.framework.TestCase


Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestFormats(java.lang.String name)
          Creates a new instance of TestFormats
 
Method Summary
 void doTest(java.text.Format format, java.lang.String test)
           
 void doTestMultiple(java.text.Format format, java.lang.StringBuffer buffer, java.lang.String test)
           
static void main(java.lang.String[] args)
           
static junit.framework.Test suite()
           
 void testMultipleQuoted()
           
 void testQuotedFormatWithAdditionalEscape()
           
 void testQuotedFormatWithEmbeddedQuote()
           
 void testSimpleQuotedFormat()
           
 void testSubstitution()
           
 void testXMLFormat()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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

TestFormats

public TestFormats(java.lang.String name)
Creates a new instance of TestFormats

Method Detail

doTest

public void doTest(java.text.Format format,
                   java.lang.String test)
            throws java.text.ParseException

doTestMultiple

public void doTestMultiple(java.text.Format format,
                           java.lang.StringBuffer buffer,
                           java.lang.String test)
                    throws java.text.ParseException

testSimpleQuotedFormat

public void testSimpleQuotedFormat()
                            throws java.text.ParseException

testQuotedFormatWithEmbeddedQuote

public void testQuotedFormatWithEmbeddedQuote()
                                       throws java.text.ParseException

testQuotedFormatWithAdditionalEscape

public void testQuotedFormatWithAdditionalEscape()
                                          throws java.text.ParseException

testSubstitution

public void testSubstitution()
                      throws java.text.ParseException

testXMLFormat

public void testXMLFormat()
                   throws java.text.ParseException

testMultipleQuoted

public void testMultipleQuoted()
                        throws java.text.ParseException

suite

public static junit.framework.Test suite()

main

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