org.springframework.batch.item.file
Class ResourceLineReaderTests

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

public class ResourceLineReaderTests
extends TestCase

Author:
Rob Harrop

Constructor Summary
ResourceLineReaderTests()
           
 
Method Summary
 void testBadResource()
           
 void testCloseTwice()
           
 void testCommentOnTheLastLine()
           
 void testComments()
           
 void testDefaultComments()
           
 void testEncoding()
           
 void testLineContent()
           
 void testLineContentWhenLineContainsQuotedNewline()
           
 void testLineCount()
           
 void testLineEndings()
           
 void testMarkAfterClose()
           
 void testMarkOnFirstRead()
           
 void testMarkReset()
           
 void testNonDefaultRecordSeparatorPolicy()
           
 void testRead()
           
 void testResetNewReader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceLineReaderTests

public ResourceLineReaderTests()
Method Detail

testBadResource

public void testBadResource()
                     throws Exception
Throws:
Exception

testRead

public void testRead()
              throws Exception
Throws:
Exception

testCloseTwice

public void testCloseTwice()
                    throws Exception
Throws:
Exception

testEncoding

public void testEncoding()
                  throws Exception
Throws:
Exception

testLineCount

public void testLineCount()
                   throws Exception
Throws:
Exception

testLineContent

public void testLineContent()
                     throws Exception
Throws:
Exception

testLineContentWhenLineContainsQuotedNewline

public void testLineContentWhenLineContainsQuotedNewline()
                                                  throws Exception
Throws:
Exception

testLineEndings

public void testLineEndings()
                     throws Exception
Throws:
Exception

testDefaultComments

public void testDefaultComments()
                         throws Exception
Throws:
Exception

testComments

public void testComments()
                  throws Exception
Throws:
Exception

testCommentOnTheLastLine

public void testCommentOnTheLastLine()
                              throws Exception
Throws:
Exception

testResetNewReader

public void testResetNewReader()
                        throws Exception
Throws:
Exception

testMarkReset

public void testMarkReset()
                   throws Exception
Throws:
Exception

testMarkOnFirstRead

public void testMarkOnFirstRead()
                         throws Exception
Throws:
Exception

testMarkAfterClose

public void testMarkAfterClose()
                        throws Exception
Throws:
Exception

testNonDefaultRecordSeparatorPolicy

public void testNonDefaultRecordSeparatorPolicy()
                                         throws Exception
Throws:
Exception


Copyright © 2008 SpringSource. All Rights Reserved.