|
||||||||||
| 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.apache.commons.proxy.invoker.TestDuckTypingInvoker
public class TestDuckTypingInvoker
| Nested Class Summary | |
|---|---|
static interface |
TestDuckTypingInvoker.Duck
|
static interface |
TestDuckTypingInvoker.Goose
|
static class |
TestDuckTypingInvoker.LegacyDuck
|
static interface |
TestDuckTypingInvoker.ParameterizedDuck
|
static interface |
TestDuckTypingInvoker.SerializableDuck
|
static interface |
TestDuckTypingInvoker.VoidReturnDuck
|
| Constructor Summary | |
|---|---|
TestDuckTypingInvoker()
|
|
| Method Summary | |
|---|---|
void |
testExactSignatureMatch()
|
void |
testMismatchingParameterType()
|
void |
testMismatchingReturnType()
|
void |
testNoMatchingMethod()
|
void |
testTargetHasCompatibleReturnType()
|
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestDuckTypingInvoker()
| Method Detail |
|---|
public void testExactSignatureMatch()
public void testNoMatchingMethod()
public void testMismatchingParameterType()
public void testTargetHasCompatibleReturnType()
public void testMismatchingReturnType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||