org.springframework.batch.core.step.item
Class SkipLimitStepFactoryBeanTests

java.lang.Object
  extended by TestCase
      extended by org.springframework.batch.core.step.item.SkipLimitStepFactoryBeanTests

public class SkipLimitStepFactoryBeanTests
extends TestCase

Tests for SkipLimitStepFactoryBean.


Field Summary
protected  int count
           
 
Constructor Summary
SkipLimitStepFactoryBeanTests()
           
 
Method Summary
protected  void setUp()
           
 void testDefaultSkipPolicy()
           
 void testFatalException()
          Fatal exception should cause immediate termination regardless of other skip settings (note the fatal exception is also classified as skippable).
 void testSkip()
          Check items causing errors are skipped as expected.
 void testSkipOnReadNotDoubleCounted()
          Check items causing errors are skipped as expected.
 void testSkipOnWriteNotDoubleCounted()
          Check items causing errors are skipped as expected.
 void testSkipOverLimit()
          Check items causing errors are skipped as expected.
 void testSkipOverLimitOnRead()
          Check items causing errors are skipped as expected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

count

protected int count
Constructor Detail

SkipLimitStepFactoryBeanTests

public SkipLimitStepFactoryBeanTests()
Method Detail

setUp

protected void setUp()
              throws Exception
Throws:
Exception

testSkip

public void testSkip()
              throws Exception
Check items causing errors are skipped as expected.

Throws:
Exception

testFatalException

public void testFatalException()
                        throws Exception
Fatal exception should cause immediate termination regardless of other skip settings (note the fatal exception is also classified as skippable).

Throws:
Exception

testSkipOverLimit

public void testSkipOverLimit()
                       throws Exception
Check items causing errors are skipped as expected.

Throws:
Exception

testSkipOverLimitOnRead

public void testSkipOverLimitOnRead()
                             throws Exception
Check items causing errors are skipped as expected.

Throws:
Exception

testSkipOnReadNotDoubleCounted

public void testSkipOnReadNotDoubleCounted()
                                    throws Exception
Check items causing errors are skipped as expected.

Throws:
Exception

testSkipOnWriteNotDoubleCounted

public void testSkipOnWriteNotDoubleCounted()
                                     throws Exception
Check items causing errors are skipped as expected.

Throws:
Exception

testDefaultSkipPolicy

public void testDefaultSkipPolicy()
                           throws Exception
Throws:
Exception


Copyright © 2008 SpringSource. All Rights Reserved.