org.springframework.batch.item.database
Class DrivingQueryItemReaderTests

java.lang.Object
  extended by TestCase
      extended by org.springframework.batch.item.database.DrivingQueryItemReaderTests

public class DrivingQueryItemReaderTests
extends TestCase


Constructor Summary
DrivingQueryItemReaderTests()
           
 
Method Summary
protected  void setUp()
           
 void testInvalidRestore()
          Reading from an input source and then trying to restore causes an error.
 void testNormalProcessing()
          Regular scenario - read all rows and eventually return null.
 void testRestart()
          Restart scenario.
 void testRestoreFromEmptyData()
          Empty restart data should be handled gracefully.
 void testRetriveZeroKeys()
           
 void testRollback()
          Rollback scenario.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrivingQueryItemReaderTests

public DrivingQueryItemReaderTests()
Method Detail

setUp

protected void setUp()
              throws Exception
Throws:
Exception

testNormalProcessing

public void testNormalProcessing()
                          throws Exception
Regular scenario - read all rows and eventually return null.

Throws:
Exception

testRestart

public void testRestart()
                 throws Exception
Restart scenario.

Throws:
Exception

testInvalidRestore

public void testInvalidRestore()
                        throws Exception
Reading from an input source and then trying to restore causes an error.

Throws:
Exception

testRestoreFromEmptyData

public void testRestoreFromEmptyData()
                              throws Exception
Empty restart data should be handled gracefully.

Throws:
Exception

testRollback

public void testRollback()
                  throws Exception
Rollback scenario.

Throws:
Exception

testRetriveZeroKeys

public void testRetriveZeroKeys()


Copyright © 2008 SpringSource. All Rights Reserved.