org.springframework.batch.item.database
Class SingleColumnJdbcDrivingQueryItemReaderCommonTests

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.database.CommonDatabaseItemStreamItemReaderTests
                      extended by org.springframework.batch.item.database.SingleColumnJdbcDrivingQueryItemReaderCommonTests
All Implemented Interfaces:
junit.framework.Test

public class SingleColumnJdbcDrivingQueryItemReaderCommonTests
extends CommonDatabaseItemStreamItemReaderTests


Field Summary
 
Fields inherited from class org.springframework.batch.item.CommonItemStreamItemReaderTests
executionContext
 
Fields inherited from class org.springframework.batch.item.CommonItemReaderTests
tested
 
Constructor Summary
SingleColumnJdbcDrivingQueryItemReaderCommonTests()
           
 
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.database.CommonDatabaseItemStreamItemReaderTests
getDataSource, setUp, tearDown
 
Methods inherited from class org.springframework.batch.item.CommonItemStreamItemReaderTests
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

SingleColumnJdbcDrivingQueryItemReaderCommonTests

public SingleColumnJdbcDrivingQueryItemReaderCommonTests()
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.