org.springframework.batch.item.file.transform
Class FixedLengthTokenizerTests

java.lang.Object
  extended by TestCase
      extended by org.springframework.batch.item.file.transform.FixedLengthTokenizerTests

public class FixedLengthTokenizerTests
extends TestCase


Constructor Summary
FixedLengthTokenizerTests()
           
 
Method Summary
 void testAnotherTypeOfRecord()
           
 void testLongerLinesRestIgnored()
           
 void testNonAdjacentRangesUnsorted()
           
 void testNormalLength()
           
 void testTokenizeEmptyString()
          if null or empty string is tokenized, tokenizer returns empty fieldset (with no tokens).
 void testTokenizeNullString()
           
 void testTokenizeRegularUse()
           
 void testTokenizerInvalidSetup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedLengthTokenizerTests

public FixedLengthTokenizerTests()
Method Detail

testTokenizeEmptyString

public void testTokenizeEmptyString()
if null or empty string is tokenized, tokenizer returns empty fieldset (with no tokens).


testTokenizeNullString

public void testTokenizeNullString()

testTokenizeRegularUse

public void testTokenizeRegularUse()

testNormalLength

public void testNormalLength()
                      throws Exception
Throws:
Exception

testLongerLinesRestIgnored

public void testLongerLinesRestIgnored()
                                throws Exception
Throws:
Exception

testNonAdjacentRangesUnsorted

public void testNonAdjacentRangesUnsorted()
                                   throws Exception
Throws:
Exception

testAnotherTypeOfRecord

public void testAnotherTypeOfRecord()
                             throws Exception
Throws:
Exception

testTokenizerInvalidSetup

public void testTokenizerInvalidSetup()


Copyright © 2008 SpringSource. All Rights Reserved.