|
||||||||||
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.StaxEventItemWriterTests
public class StaxEventItemWriterTests
Tests for StaxEventItemWriter
.
Constructor Summary | |
---|---|
StaxEventItemWriterTests()
|
Method Summary | |
---|---|
protected void |
setUp()
|
void |
testClear()
|
void |
testFlush()
Flush should pass buffered items to Serializer. |
void |
testOpenAndClose()
Open method writes the root tag, close method adds corresponding end tag. |
void |
testRestart()
Restart scenario - content is appended to the output file after restart. |
void |
testRollback()
Rolled back records should not be written to output file. |
void |
testStreamContext()
Count of 'records written so far' is returned as statistics. |
void |
testWriteAndFlush()
Item is written to the output file only after flush. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StaxEventItemWriterTests()
Method Detail |
---|
protected void setUp() throws Exception
Exception
public void testFlush() throws Exception
Exception
public void testClear() throws Exception
Exception
public void testRollback() throws Exception
Exception
public void testWriteAndFlush() throws Exception
Exception
public void testRestart() throws Exception
Exception
public void testStreamContext() throws Exception
Exception
public void testOpenAndClose() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |