|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object TestCase org.springframework.batch.item.adapter.AbstractDelegatorTests
public class AbstractDelegatorTests
Tests for AbstractMethodInvokingDelegator
Constructor Summary | |
---|---|
AbstractDelegatorTests()
|
Method Summary | |
---|---|
protected void |
setUp()
|
void |
testDelegation()
Regular use - calling methods directly and via delegator leads to same results |
void |
testDelegationWithArgument()
Regular use - calling methods directly and via delegator leads to same results |
void |
testDelegationWithMultipleArguments()
Regular use - calling methods directly and via delegator leads to same results |
void |
testIncorrectArgumentCount()
Exception scenario - target method is called with incorrect number of arguments. |
void |
testIncorrectNumberOfStaticArguments()
Exception scenario - incorrect static arguments set. |
void |
testInvalidArgumentsForExistingMethod()
Exception scenario - target method is called with invalid arguments. |
void |
testInvalidMethodName()
Exception scenario - target method is not declared by target object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractDelegatorTests()
Method Detail |
---|
protected void setUp() throws Exception
Exception
public void testDelegation() throws Exception
Exception
public void testDelegationWithArgument() throws Exception
Exception
public void testDelegationWithMultipleArguments() throws Exception
Exception
public void testInvalidMethodName() throws Exception
Exception
public void testInvalidArgumentsForExistingMethod() throws Exception
Exception
public void testIncorrectArgumentCount() throws Exception
Exception
public void testIncorrectNumberOfStaticArguments() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |