org.apache.commons.proxy.factory
Class AbstractProxyFactoryTestCase

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

public abstract class AbstractProxyFactoryTestCase
extends junit.framework.TestCase

Since:
1.0
Author:
James Carman

Nested Class Summary
protected static class AbstractProxyFactoryTestCase.NoOpMethodInterceptor
           
 
Field Summary
protected  org.apache.commons.proxy.ProxyFactory factory
           
 
Constructor Summary
protected AbstractProxyFactoryTestCase(org.apache.commons.proxy.ProxyFactory factory)
           
 
Method Summary
 void testBooleanInterceptorParameter()
           
 void testCanProxy()
           
 void testChangingArguments()
           
 void testCreateDelegatingProxy()
           
 void testCreateInterceptorProxy()
           
 void testDelegatingProxyClassCaching()
           
 void testDelegatingProxyInterfaceOrder()
           
 void testInterceptingProxyClassCaching()
           
 void testInterceptorProxyWithCheckedException()
           
 void testInterceptorProxyWithUncheckedException()
           
 void testInterfaceHierarchies()
           
 void testInvokerProxy()
           
 void testMethodInvocationClassCaching()
           
 void testMethodInvocationDuplicateMethods()
           
 void testMethodInvocationImplementation()
           
 void testPrimitiveParameter()
           
 void testProxyWithCheckedException()
           
 void testProxyWithUncheckedException()
           
 void 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
 

Field Detail

factory

protected final org.apache.commons.proxy.ProxyFactory factory
Constructor Detail

AbstractProxyFactoryTestCase

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

testCanProxy

public void testCanProxy()

testInterfaceHierarchies

public void testInterfaceHierarchies()

testInvokerProxy

public void testInvokerProxy()
                      throws Exception
Throws:
Exception

testDelegatingProxyInterfaceOrder

public void testDelegatingProxyInterfaceOrder()

testCreateDelegatingProxy

public void testCreateDelegatingProxy()

testBooleanInterceptorParameter

public void testBooleanInterceptorParameter()

testPrimitiveParameter

public void testPrimitiveParameter()

testCreateInterceptorProxy

public void testCreateInterceptorProxy()

testMethodInvocationImplementation

public void testMethodInvocationImplementation()
                                        throws Exception
Throws:
Exception

testMethodInvocationDuplicateMethods

public void testMethodInvocationDuplicateMethods()
                                          throws Exception
Throws:
Exception

testMethodInvocationClassCaching

public void testMethodInvocationClassCaching()
                                      throws Exception
Throws:
Exception

testDelegatingProxyClassCaching

public void testDelegatingProxyClassCaching()
                                     throws Exception
Throws:
Exception

testInterceptingProxyClassCaching

public void testInterceptingProxyClassCaching()
                                       throws Exception
Throws:
Exception

testProxyWithCheckedException

public void testProxyWithCheckedException()
                                   throws Exception
Throws:
Exception

testProxyWithUncheckedException

public void testProxyWithUncheckedException()
                                     throws Exception
Throws:
Exception

testInterceptorProxyWithUncheckedException

public void testInterceptorProxyWithUncheckedException()
                                                throws Exception
Throws:
Exception

testInterceptorProxyWithCheckedException

public void testInterceptorProxyWithCheckedException()
                                              throws Exception
Throws:
Exception

testWithNonAccessibleTargetType

public void testWithNonAccessibleTargetType()

testChangingArguments

public void testChangingArguments()


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