org.apache.commons.proxy.factory
Class AbstractSubclassingProxyFactoryTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.proxy.util.AbstractTestCase
              extended by org.apache.commons.proxy.factory.AbstractProxyFactoryTestCase
                  extended by org.apache.commons.proxy.factory.AbstractSubclassingProxyFactoryTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
TestCglibProxyFactory, TestJavassistProxyFactory

public abstract class AbstractSubclassingProxyFactoryTestCase
extends AbstractProxyFactoryTestCase

Since:
1.0
Author:
James Carman

Nested Class Summary
static class AbstractSubclassingProxyFactoryTestCase.EqualsEcho
           
static class AbstractSubclassingProxyFactoryTestCase.FinalEcho
           
static class AbstractSubclassingProxyFactoryTestCase.FinalMethodEcho
           
static class AbstractSubclassingProxyFactoryTestCase.NoDefaultConstructorEcho
           
static class AbstractSubclassingProxyFactoryTestCase.ProtectedConstructorEcho
           
 
Nested classes/interfaces inherited from class org.apache.commons.proxy.factory.AbstractProxyFactoryTestCase
AbstractProxyFactoryTestCase.InterceptorTester, AbstractProxyFactoryTestCase.InvokerTester, AbstractProxyFactoryTestCase.NoOpMethodInterceptor
 
Field Summary
 
Fields inherited from class org.apache.commons.proxy.factory.AbstractProxyFactoryTestCase
factory
 
Constructor Summary
protected AbstractSubclassingProxyFactoryTestCase(org.apache.commons.proxy.ProxyFactory factory)
           
 
Method Summary
 void testCanProxy()
           
 void testDelegatorEquals()
           
 void testDelegatorWithMultipleSuperclasses()
           
 void testDelegatorWithSuperclass()
           
 void testInterceptorEquals()
           
 void testInterceptorWithMultipleSuperclasses()
           
 void testInterceptorWithSuperclass()
           
 void testInvocationHandlerWithMultipleSuperclasses()
           
 void testInvokerEquals()
           
 void testInvokerWithSuperclass()
           
 void testProxiesWithClashingFinalMethodInSuperclass()
           
 void testWithAbstractSuperclass()
           
 
Methods inherited from class org.apache.commons.proxy.factory.AbstractProxyFactoryTestCase
testBooleanInterceptorParameter, testChangingArguments, testCreateDelegatingProxy, testCreateInterceptorProxy, testDelegatingProxyClassCaching, testDelegatingProxyInterfaceOrder, testDelegatingProxySerializable, testDelegatorHashCode, testInterceptingProxyClassCaching, testInterceptingProxySerializable, testInterceptorHashCode, testInterceptorProxyWithCheckedException, testInterceptorProxyWithUncheckedException, testInterfaceHierarchies, testInvokerHashCode, testInvokerProxy, testInvokerProxyClassCaching, testInvokerProxySerializable, testMethodInvocationClassCaching, testMethodInvocationDuplicateMethods, testMethodInvocationImplementation, testPrimitiveParameter, testProxyWithCheckedException, testProxyWithUncheckedException, testWithNonAccessibleTargetType
 
Methods inherited from class org.apache.commons.proxy.util.AbstractTestCase
assertSerializable
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractSubclassingProxyFactoryTestCase

protected AbstractSubclassingProxyFactoryTestCase(org.apache.commons.proxy.ProxyFactory factory)
Method Detail

testCanProxy

public void testCanProxy()
Overrides:
testCanProxy in class AbstractProxyFactoryTestCase

testDelegatorWithMultipleSuperclasses

public void testDelegatorWithMultipleSuperclasses()

testDelegatorWithSuperclass

public void testDelegatorWithSuperclass()

testInterceptorWithMultipleSuperclasses

public void testInterceptorWithMultipleSuperclasses()

testInterceptorWithSuperclass

public void testInterceptorWithSuperclass()

testInvocationHandlerWithMultipleSuperclasses

public void testInvocationHandlerWithMultipleSuperclasses()

testInvokerWithSuperclass

public void testInvokerWithSuperclass()

testProxiesWithClashingFinalMethodInSuperclass

public void testProxiesWithClashingFinalMethodInSuperclass()

testWithAbstractSuperclass

public void testWithAbstractSuperclass()

testInterceptorEquals

public void testInterceptorEquals()
Overrides:
testInterceptorEquals in class AbstractProxyFactoryTestCase

testInvokerEquals

public void testInvokerEquals()
                       throws Exception
Overrides:
testInvokerEquals in class AbstractProxyFactoryTestCase
Throws:
Exception

testDelegatorEquals

public void testDelegatorEquals()
                         throws Exception
Overrides:
testDelegatorEquals in class AbstractProxyFactoryTestCase
Throws:
Exception


Copyright © 2005-2008 The Apache Software Foundation. All Rights Reserved.