|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object TestCase org.springframework.batch.item.xml.stax.DefaultFragmentEventReaderTests
public class DefaultFragmentEventReaderTests
Tests for DefaultFragmentEventReader
.
Constructor Summary | |
---|---|
DefaultFragmentEventReaderTests()
|
Method Summary | |
---|---|
protected void |
setUp()
Setup the fragmentReader to read the test input. |
void |
testFragmentWrapping()
Marked element should be wrapped with StartDocument and EndDocument events. |
void |
testMarkFragmentProcessed()
When fragment is marked as processed the cursor is moved after the end of the fragment. |
void |
testMarkFragmentProcessedImmediatelyAfterMarkFragmentStart()
Cursor is moved to the end of the fragment as usually even if nothing was read from the event reader after beginning of fragment was marked. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultFragmentEventReaderTests()
Method Detail |
---|
protected void setUp() throws Exception
Exception
public void testFragmentWrapping() throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public void testMarkFragmentProcessed() throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public void testMarkFragmentProcessedImmediatelyAfterMarkFragmentStart() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |