|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.springframework.batch.item.file.FlatFileItemReaderAdvancedTests
public class FlatFileItemReaderAdvancedTests
Tests for FlatFileItemReader
- skip and restart functionality.
FlatFileItemReaderBasicTests
Constructor Summary | |
---|---|
FlatFileItemReaderAdvancedTests()
|
Method Summary | |
---|---|
protected void |
setUp()
Create inputFile, inject mock/stub dependencies for tested object, initialize the tested object |
protected void |
tearDown()
Release resources and delete the temporary file |
void |
testFailOnFirstChunk()
Test skip and skipRollback functionality |
void |
testReset()
Test rollback functionality |
void |
testRestart()
|
void |
testRestartWithCustomRecordSeparatorPolicy()
|
void |
testRestartWithHeader()
|
void |
testRestartWithSkippedLines()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, 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, 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 |
---|
public FlatFileItemReaderAdvancedTests()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
public void testReset() throws Exception
IOException
Exception
public void testFailOnFirstChunk() throws Exception
IOException
Exception
public void testRestart() throws Exception
Exception
public void testRestartWithCustomRecordSeparatorPolicy() throws Exception
Exception
public void testRestartWithHeader() throws Exception
Exception
public void testRestartWithSkippedLines() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |