|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.springframework.batch.item.database.BatchSqlUpdateItemWriterTests
public class BatchSqlUpdateItemWriterTests
| 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 |
testWriteAndFlushWithEmptyUpdate()
Test method for AbstractTransactionalResourceItemWriter.flush(). |
void |
testWriteAndFlushWithFailure()
|
| 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 |
| Field Detail |
|---|
protected List list
| Constructor Detail |
|---|
public BatchSqlUpdateItemWriterTests()
| Method Detail |
|---|
protected void setUp()
throws Exception
setUp in class junit.framework.TestCaseException
protected void tearDown()
throws Exception
tearDown in class junit.framework.TestCaseException
public void testAfterPropertiesSet()
throws Exception
BatchSqlUpdateItemWriter.afterPropertiesSet().
Exception
public void testWrite()
throws Exception
AbstractTransactionalResourceItemWriter.write(java.lang.Object).
Exceptionpublic void testClear()
AbstractTransactionalResourceItemWriter.clear().
public void testFlush()
throws SQLException
AbstractTransactionalResourceItemWriter.flush().
SQLException
public void testWriteAndFlush()
throws Exception
AbstractTransactionalResourceItemWriter.flush().
Exception
public void testWriteAndFlushWithEmptyUpdate()
throws Exception
AbstractTransactionalResourceItemWriter.flush().
Exception
public void testWriteAndFlushWithFailure()
throws Exception
Exceptionpublic void testEmptyFlush()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||