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.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.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.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 testDelegatorWithMultipleSuperclasses()
           
 void testDelegatorWithSuperclass()
           
 void testInterceptorWithMultipleSuperclasses()
           
 void testInterceptorWithSuperclass()
           
 void testInvocationHandlerWithMultipleSuperclasses()
           
 void testInvocationHandlerWithSuperclass()
           
 void testProxiesWithClashingFinalMethodInSuperclass()
           
 void testWithAbstractSuperclass()
           
 
Methods inherited from class org.apache.commons.proxy.factory.AbstractProxyFactoryTestCase
testBooleanInterceptorParameter, testChangingArguments, testCreateDelegatingProxy, testCreateInterceptorProxy, testDelegatingProxyClassCaching, testDelegatingProxyInterfaceOrder, testInterceptingProxyClassCaching, testInterceptorProxyWithCheckedException, testInterceptorProxyWithUncheckedException, testInterfaceHierarchies, testInvokerProxy, testMethodInvocationClassCaching, testMethodInvocationDuplicateMethods, testMethodInvocationImplementation, testPrimitiveParameter, testProxyWithCheckedException, testProxyWithUncheckedException, testWithNonAccessibleTargetType
 
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

AbstractSubclassingProxyFactoryTestCase

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

testWithAbstractSuperclass

public void testWithAbstractSuperclass()

testCanProxy

public void testCanProxy()
Overrides:
testCanProxy in class AbstractProxyFactoryTestCase

testDelegatorWithSuperclass

public void testDelegatorWithSuperclass()

testInterceptorWithSuperclass

public void testInterceptorWithSuperclass()

testInvocationHandlerWithSuperclass

public void testInvocationHandlerWithSuperclass()

testProxiesWithClashingFinalMethodInSuperclass

public void testProxiesWithClashingFinalMethodInSuperclass()

testDelegatorWithMultipleSuperclasses

public void testDelegatorWithMultipleSuperclasses()

testInterceptorWithMultipleSuperclasses

public void testInterceptorWithMultipleSuperclasses()

testInvocationHandlerWithMultipleSuperclasses

public void testInvocationHandlerWithMultipleSuperclasses()


Copyright © 2005-2010 Apache Software Foundation. All Rights Reserved.