org.springframework.batch.item.database
Class HibernateAwareItemWriterTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.batch.item.database.HibernateAwareItemWriterTests
All Implemented Interfaces:
junit.framework.Test

public class HibernateAwareItemWriterTests
extends junit.framework.TestCase

Author:
Dave Syer

Constructor Summary
HibernateAwareItemWriterTests()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testAfterPropertiesSet()
          Test method for HibernateAwareItemWriter.afterPropertiesSet().
 void testAfterPropertiesSetWithDelegate()
          Test method for HibernateAwareItemWriter.afterPropertiesSet().
 void testClear()
          Test method for AbstractTransactionalResourceItemWriter.clear().
 void testFlush()
          Test method for AbstractTransactionalResourceItemWriter.flush().
 void testFlushWithFailure()
          Test method for AbstractTransactionalResourceItemWriter.write(java.lang.Object).
 void testWrite()
          Test method for AbstractTransactionalResourceItemWriter.write(java.lang.Object).
 void testWriteAndFlushWithFailure()
          Test method for AbstractTransactionalResourceItemWriter.write(java.lang.Object).
 
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

HibernateAwareItemWriterTests

public HibernateAwareItemWriterTests()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testAfterPropertiesSet

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

Throws:
Exception

testAfterPropertiesSetWithDelegate

public void testAfterPropertiesSetWithDelegate()
                                        throws Exception
Test method for HibernateAwareItemWriter.afterPropertiesSet().

Throws:
Exception

testWrite

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

Throws:
Exception

testFlushWithFailure

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

Throws:
Exception

testWriteAndFlushWithFailure

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

Throws:
Exception

testFlush

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

Throws:
Exception

testClear

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

Throws:
Exception


Copyright © 2008 SpringSource. All Rights Reserved.