|
||||||||||
| 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.MultiResourceItemReaderIntegrationTests
public class MultiResourceItemReaderIntegrationTests
Tests for MultiResourceItemReader.
| Constructor Summary | |
|---|---|
MultiResourceItemReaderIntegrationTests()
|
|
| Method Summary | |
|---|---|
protected void |
setUp()
Setup the tested reader to read from the test resources. |
void |
testRead()
Read input from start to end. |
void |
testReset()
Read items with a couple of rollbacks, requiring to jump back to items from previous resources. |
void |
testResourceOrderingWithCustomComparator()
Resources are ordered according to injected comparator. |
void |
testRestart()
Restore from saved state. |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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 MultiResourceItemReaderIntegrationTests()
| Method Detail |
|---|
protected void setUp()
throws Exception
setUp in class junit.framework.TestCaseException
public void testRead()
throws Exception
Exception
public void testReset()
throws Exception
Exception
public void testRestart()
throws Exception
Exceptionpublic void testResourceOrderingWithCustomComparator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||