org.springframework.batch.item.validator
Class ValidatingItemReaderTests

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

public class ValidatingItemReaderTests
extends junit.framework.TestCase

Author:
Lucas Ward

Constructor Summary
ValidatingItemReaderTests()
           
 
Method Summary
protected  void setUp()
           
 void testItemReaderPropertiesSet()
           
 void testNullInput()
           
 void testValidation()
           
 void testValidationException()
           
 void testValidatorPropertesSet()
           
 
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

ValidatingItemReaderTests

public ValidatingItemReaderTests()
Method Detail

setUp

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

testItemReaderPropertiesSet

public void testItemReaderPropertiesSet()

testValidatorPropertesSet

public void testValidatorPropertesSet()

testValidation

public void testValidation()
                    throws Exception
Throws:
Exception

testValidationException

public void testValidationException()
                             throws Exception
Throws:
Exception

testNullInput

public void testNullInput()
                   throws Exception
Throws:
Exception


Copyright © 2008 SpringSource. All Rights Reserved.