org.springframework.batch.repeat.policy
Class SimpleCompletionPolicyTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.batch.repeat.policy.SimpleCompletionPolicyTests
All Implemented Interfaces:
junit.framework.Test

public class SimpleCompletionPolicyTests
extends junit.framework.TestCase


Constructor Summary
SimpleCompletionPolicyTests()
           
 
Method Summary
protected  void setUp()
           
 void testReset()
           
 void testTerminationAfterDefaultSize()
           
 void testTerminationAfterExplicitChunkSize()
           
 void testTerminationAfterNullResult()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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

SimpleCompletionPolicyTests

public SimpleCompletionPolicyTests()
Method Detail

setUp

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

testTerminationAfterDefaultSize

public void testTerminationAfterDefaultSize()
                                     throws Exception
Throws:
Exception

testTerminationAfterExplicitChunkSize

public void testTerminationAfterExplicitChunkSize()
                                           throws Exception
Throws:
Exception

testTerminationAfterNullResult

public void testTerminationAfterNullResult()
                                    throws Exception
Throws:
Exception

testReset

public void testReset()
               throws Exception
Throws:
Exception


Copyright © 2008 SpringSource. All Rights Reserved.