|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTestCase
org.springframework.batch.item.file.FlatFileItemReaderBasicTests
public class FlatFileItemReaderBasicTests
Tests for FlatFileItemReader
- the fundamental item reading functionality.
FlatFileItemReaderAdvancedTests
Constructor Summary | |
---|---|
FlatFileItemReaderBasicTests()
|
Method Summary | |
---|---|
protected void |
setUp()
Create inputFile, inject mock/stub dependencies for tested object, initialize the tested object |
protected void |
tearDown()
Release resources. |
void |
testCloseBeforeOpen()
|
void |
testColumnNamesInHeader()
Header line is skipped and used to setup fieldSet column names. |
void |
testComments()
|
void |
testEncoding()
|
void |
testInitializationWithNullResource()
|
void |
testLinesToSkip()
Header line is skipped and used to setup fieldSet column names. |
void |
testNonExistantResource()
|
void |
testOpenTwiceHasNoEffect()
|
void |
testRead()
Regular usage of read method |
void |
testReadBeforeOpen()
|
void |
testReadExhausted()
Regular usage of read method |
void |
testReadWithMapperError()
|
void |
testReadWithTokenizerError()
Regular usage of read method |
void |
testRecordSeparator()
|
void |
testRuntimeFileCreation()
|
void |
testSetInvalidEncoding()
|
void |
testSetNullEncoding()
|
void |
testSetValidEncoding()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlatFileItemReaderBasicTests()
Method Detail |
---|
protected void setUp() throws Exception
Exception
protected void tearDown() throws Exception
Exception
public void testRead() throws Exception
read
method
Exception
public void testReadExhausted() throws Exception
read
method
Exception
public void testReadWithTokenizerError() throws Exception
read
method
Exception
public void testReadWithMapperError() throws Exception
Exception
public void testReadBeforeOpen() throws Exception
Exception
public void testCloseBeforeOpen() throws Exception
Exception
public void testInitializationWithNullResource() throws Exception
Exception
public void testOpenTwiceHasNoEffect() throws Exception
Exception
public void testSetValidEncoding() throws Exception
Exception
public void testSetNullEncoding() throws Exception
Exception
public void testSetInvalidEncoding() throws Exception
Exception
public void testEncoding() throws Exception
Exception
public void testRecordSeparator() throws Exception
Exception
public void testComments() throws Exception
Exception
public void testColumnNamesInHeader() throws Exception
Exception
public void testLinesToSkip() throws Exception
Exception
public void testNonExistantResource() throws Exception
Exception
public void testRuntimeFileCreation() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |