org.springframework.batch.item.xml
Class StaxEventItemReaderCommonTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.batch.item.CommonItemReaderTests
              extended by org.springframework.batch.item.CommonItemStreamItemReaderTests
                  extended by org.springframework.batch.item.xml.StaxEventItemReaderCommonTests
All Implemented Interfaces:
junit.framework.Test

public class StaxEventItemReaderCommonTests
extends CommonItemStreamItemReaderTests


Field Summary
 
Fields inherited from class org.springframework.batch.item.CommonItemStreamItemReaderTests
executionContext
 
Fields inherited from class org.springframework.batch.item.CommonItemReaderTests
tested
 
Constructor Summary
StaxEventItemReaderCommonTests()
           
 
Method Summary
protected  ItemReader getItemReader()
           
protected  void pointToEmptyInput(ItemReader tested)
          Point the reader to empty input (close and open if necessary for the new settings to apply).
 
Methods inherited from class org.springframework.batch.item.CommonItemStreamItemReaderTests
setUp, tearDown, testedAsStream, testReopen, testResetAndRestart, testRestart
 
Methods inherited from class org.springframework.batch.item.CommonItemReaderTests
testEmptyInput, testRead, testReset
 
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

StaxEventItemReaderCommonTests

public StaxEventItemReaderCommonTests()
Method Detail

getItemReader

protected ItemReader getItemReader()
                            throws Exception
Specified by:
getItemReader in class CommonItemReaderTests
Returns:
configured ItemReader ready for use.
Throws:
Exception

pointToEmptyInput

protected void pointToEmptyInput(ItemReader tested)
                          throws Exception
Description copied from class: CommonItemReaderTests
Point the reader to empty input (close and open if necessary for the new settings to apply).

Specified by:
pointToEmptyInput in class CommonItemReaderTests
Parameters:
tested - the reader
Throws:
Exception


Copyright © 2008 SpringSource. All Rights Reserved.