com.retek.commons.util.flatfile
Class FixedWidthFormatterTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.retek.commons.util.RetekTestCase
              extended bycom.retek.commons.util.flatfile.FixedWidthFormatterTest
All Implemented Interfaces:
junit.framework.Test

public class FixedWidthFormatterTest
extends RetekTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
FixedWidthFormatterTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 void testDateFormatting()
           
 void testEndLessThanStart()
           
 void testFieldsOverflowTruncates()
           
 void testFieldsOverlapThrowsException()
           
 void testFileLineNumberGreaterThanOneThousand()
           
 void testFirstStartNotOne()
           
 void testMultipleRecords()
           
 void testNullFormatting()
           
 void testNumberFormattingBasic()
           
 void testNumberFormattingOfQuantity()
           
 void testNumberFormattingRound()
           
 void testReadFile()
           
 void testRequiredField()
           
 void testRequiredFieldChecking()
           
 void testStringFormatNoPad()
           
 void testStringFormatWithPad()
           
 
Methods inherited from class com.retek.commons.util.RetekTestCase
assertBusinessException, assertBusinessExceptionAttribute, assertContainsString, assertDateEqualsIgnoreTime, assertDateNotEqualsIgnoreTime, assertDateTimeEquals, assertEquals, assertEqualValuesDeep, assertEqualValuesDeep, assertEqualValuesDeep, assertNotEquals, assertNotNullAndEquals, assertNull, assertRetekEquals, assertRibException, assertSize, assertStateEquals, assertStateEquals, assertStateNotEquals, assertStateNotEquals, assertXmlEquals, doClassSetUp, doInitialSetUp, doPackageSetUp, findDto, findDto, getContext, getReadBackContext, getReferences, getReferences, isOracleTestCase, resetSystemRDateToBusinessDay, run, runTest, setSecurityEncryption, setTaxSimulate, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, runBare, 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, 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

FixedWidthFormatterTest

public FixedWidthFormatterTest(java.lang.String name)
                        throws java.lang.Exception
Method Detail

doSetUp

public void doSetUp()
             throws java.lang.Exception
Specified by:
doSetUp in class RetekTestCase
Throws:
java.lang.Exception

doTearDown

public void doTearDown()
                throws java.lang.Exception
Specified by:
doTearDown in class RetekTestCase
Throws:
java.lang.Exception

testReadFile

public void testReadFile()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testStringFormatNoPad

public void testStringFormatNoPad()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testStringFormatWithPad

public void testStringFormatWithPad()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testFirstStartNotOne

public void testFirstStartNotOne()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testEndLessThanStart

public void testEndLessThanStart()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testFieldsOverlapThrowsException

public void testFieldsOverlapThrowsException()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testFieldsOverflowTruncates

public void testFieldsOverflowTruncates()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testRequiredField

public void testRequiredField()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testDateFormatting

public void testDateFormatting()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testNumberFormattingBasic

public void testNumberFormattingBasic()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testRequiredFieldChecking

public void testRequiredFieldChecking()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testNumberFormattingOfQuantity

public void testNumberFormattingOfQuantity()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testNumberFormattingRound

public void testNumberFormattingRound()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testNullFormatting

public void testNullFormatting()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testMultipleRecords

public void testMultipleRecords()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testFileLineNumberGreaterThanOneThousand

public void testFileLineNumberGreaterThanOneThousand()
                                              throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25