org.springframework.batch.item.database
Class BatchSqlUpdateItemWriterTests

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

public class BatchSqlUpdateItemWriterTests
extends TestCase

Author:
Dave Syer

Field Summary
protected  List list
           
 
Constructor Summary
BatchSqlUpdateItemWriterTests()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testAfterPropertiesSet()
          Test method for BatchSqlUpdateItemWriter.afterPropertiesSet().
 void testClear()
          Test method for AbstractTransactionalResourceItemWriter.clear().
 void testEmptyFlush()
          Flushing without writing items previously should be handled gracefully.
 void testFlush()
          Test method for AbstractTransactionalResourceItemWriter.flush().
 void testWrite()
          Test method for AbstractTransactionalResourceItemWriter.write(java.lang.Object).
 void testWriteAndFlush()
          Test method for AbstractTransactionalResourceItemWriter.flush().
 void testWriteAndFlushWithFailure()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

list

protected List list
Constructor Detail

BatchSqlUpdateItemWriterTests

public BatchSqlUpdateItemWriterTests()
Method Detail

setUp

protected void setUp()
              throws Exception
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Throws:
Exception

testAfterPropertiesSet

public void testAfterPropertiesSet()
                            throws Exception
Test method for BatchSqlUpdateItemWriter.afterPropertiesSet().

Throws:
Exception

testWrite

public void testWrite()
               throws Exception
Test method for AbstractTransactionalResourceItemWriter.write(java.lang.Object).

Throws:
Exception

testClear

public void testClear()
Test method for AbstractTransactionalResourceItemWriter.clear().


testFlush

public void testFlush()
Test method for AbstractTransactionalResourceItemWriter.flush().


testWriteAndFlush

public void testWriteAndFlush()
                       throws Exception
Test method for AbstractTransactionalResourceItemWriter.flush().

Throws:
Exception

testWriteAndFlushWithFailure

public void testWriteAndFlushWithFailure()
                                  throws Exception
Throws:
Exception

testEmptyFlush

public void testEmptyFlush()
Flushing without writing items previously should be handled gracefully.



Copyright © 2008 SpringSource. All Rights Reserved.