Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
133 1 0 0 99.248% 0.895

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List


Package Tests Errors Failures Skipped Success Rate Time
org.apache.commons.proxy 23 0 0 0 100% 0.039
org.apache.commons.proxy.exception 12 0 0 0 100% 0.006
org.apache.commons.proxy.provider 9 0 0 0 100% 0.025
org.apache.commons.proxy.interceptor 18 0 0 0 100% 0.491
org.apache.commons.proxy.factory.cglib 27 0 0 0 100% 0.086
org.apache.commons.proxy.invoker 9 1 0 0 88.889% 0.136
org.apache.commons.proxy.interceptor.filter 3 0 0 0 100% 0.01
org.apache.commons.proxy.provider.remoting 4 0 0 0 100% 0.017
org.apache.commons.proxy.factory.javassist 27 0 0 0 100% 0.084
org.apache.commons.proxy.factory.util 1 0 0 0 100% 0.001

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.commons.proxy

Class Tests Errors Failures Skipped Success Rate Time
TestProxyUtils 4 0 0 0 100% 0.003
TestProxyFactory 19 0 0 0 100% 0.036

org.apache.commons.proxy.exception

Class Tests Errors Failures Skipped Success Rate Time
TestProxyFactoryException 4 0 0 0 100% 0.002
TestDelegateProviderException 4 0 0 0 100% 0.002
TestInvocationHandlerException 4 0 0 0 100% 0.002

org.apache.commons.proxy.provider

Class Tests Errors Failures Skipped Success Rate Time
TestBeanProvider 3 0 0 0 100% 0.005
TestConstantProvider 1 0 0 0 100% 0.004
TestCloningProvider 4 0 0 0 100% 0.004
TestNullProvider 1 0 0 0 100% 0.012

org.apache.commons.proxy.interceptor

Class Tests Errors Failures Skipped Success Rate Time
TestSerializingInterceptor 2 0 0 0 100% 0.033
TestInterceptorChain 2 0 0 0 100% 0.002
TestFilteredInterceptor 2 0 0 0 100% 0.02
TestExecutorInterceptor 2 0 0 0 100% 0.007
TestLoggingInterceptor 8 0 0 0 100% 0.216
TestMethodInterceptorAdapter 2 0 0 0 100% 0.213

org.apache.commons.proxy.factory.cglib

Class Tests Errors Failures Skipped Success Rate Time
TestCglibProxyFactory 27 0 0 0 100% 0.086

org.apache.commons.proxy.invoker

Class Tests Errors Failures Skipped Success Rate Time
TestNullInvoker 1 0 0 0 100% 0.007
TestInvocationHandlerAdapter 1 0 0 0 100% 0.007
TestXmlRpcInvoker 2 1 0 0 50% 0.102
TestDuckTypingInvoker 5 0 0 0 100% 0.02

org.apache.commons.proxy.interceptor.filter

Class Tests Errors Failures Skipped Success Rate Time
TestReturnTypeFilter 1 0 0 0 100% 0.002
TestPatternFilter 1 0 0 0 100% 0.006
TestSimpleFilter 1 0 0 0 100% 0.002

org.apache.commons.proxy.provider.remoting

Class Tests Errors Failures Skipped Success Rate Time
TestBurlapProvider 2 0 0 0 100% 0.007
TestHessianProvider 2 0 0 0 100% 0.01

org.apache.commons.proxy.factory.javassist

Class Tests Errors Failures Skipped Success Rate Time
TestJavassistProxyFactory 27 0 0 0 100% 0.084

org.apache.commons.proxy.factory.util

Class Tests Errors Failures Skipped Success Rate Time
TestMethodSignature 1 0 0 0 100% 0.001

Test Cases

TestBeanProvider

testWithNullBeanClass 0
testAbstractBeanClass 0.003
testNonAccessibleConstructor 0.001

TestReturnTypeFilter

testAcceptsMethod 0.001

TestProxyFactoryException

testNoArgConstructor 0
testMessageOnlyConstructor 0
testCauseOnlyConstructor 0
testMessageAndCauseConstructor 0

TestJavassistProxyFactory

testCanProxy 0
testWithAbstractSuperclass 0.007
testDelegatorWithSuperclass 0.006
testInterceptorWithSuperclass 0.009
testInvocationHandlerWithSuperclass 0.014
testProxiesWithClashingFinalMethodInSuperclass 0.018
testDelegatorWithMultipleSuperclasses 0
testInterceptorWithMultipleSuperclasses 0
testInvocationHandlerWithMultipleSuperclasses 0
testInterfaceHierarchies 0.009
testInvokerProxy 0
testDelegatingProxyInterfaceOrder 0.003
testCreateDelegatingProxy 0.003
testBooleanInterceptorParameter 0.001
testPrimitiveParameter 0
testCreateInterceptorProxy 0
testMethodInvocationImplementation 0.001
testMethodInvocationDuplicateMethods 0.005
testMethodInvocationClassCaching 0
testDelegatingProxyClassCaching 0
testInterceptingProxyClassCaching 0
testProxyWithCheckedException 0
testProxyWithUncheckedException 0
testInterceptorProxyWithUncheckedException 0
testInterceptorProxyWithCheckedException 0
testWithNonAccessibleTargetType 0
testChangingArguments 0

TestDelegateProviderException

testNoArgConstructor 0
testMessageOnlyConstructor 0
testCauseOnlyConstructor 0
testMessageAndCauseConstructor 0

TestBurlapProvider

testWithMalformedUrl 0.006
testWithMalformedUrlBean 0

TestNullInvoker

testReturnValues 0.006

TestSerializingInterceptor

testWithSerializableParametersAndReturn 0.011
testWithInvalidParameterType 0.02

TestInterceptorChain

testWithSingleInterceptor 0.001
testWithMultipleInterceptors 0

TestPatternFilter

testAccepts 0.005

TestFilteredInterceptor

testFilterAccepts 0.017
testFilterDenies 0

TestConstantProvider

testGetObject 0

TestMethodSignature

testEquals 0

TestSimpleFilter

testAccepts 0.002

TestProxyUtils

testCreateNullObject 0.001
testCreateNullObjectWithClassLoader 0
testGetAllInterfaces 0
testGetJavaClassName 0.001

TestInvocationHandlerException

testNoArgConstructor 0
testMessageOnlyConstructor 0.001
testCauseOnlyConstructor 0
testMessageAndCauseConstructor 0

TestCglibProxyFactory

testCanProxy 0.003
testWithAbstractSuperclass 0.005
testDelegatorWithSuperclass 0.004
testInterceptorWithSuperclass 0.009
testInvocationHandlerWithSuperclass 0.007
testProxiesWithClashingFinalMethodInSuperclass 0.017
testDelegatorWithMultipleSuperclasses 0
testInterceptorWithMultipleSuperclasses 0.001
testInvocationHandlerWithMultipleSuperclasses 0
testInterfaceHierarchies 0.006
testInvokerProxy 0
testDelegatingProxyInterfaceOrder 0.004
testCreateDelegatingProxy 0.005
testBooleanInterceptorParameter 0.001
testPrimitiveParameter 0
testCreateInterceptorProxy 0
testMethodInvocationImplementation 0.001
testMethodInvocationDuplicateMethods 0.016
testMethodInvocationClassCaching 0
testDelegatingProxyClassCaching 0.001
testInterceptingProxyClassCaching 0.001
testProxyWithCheckedException 0
testProxyWithUncheckedException 0
testInterceptorProxyWithUncheckedException 0
testInterceptorProxyWithCheckedException 0
testWithNonAccessibleTargetType 0
testChangingArguments 0

TestInvocationHandlerAdapter

testMethodInvocation 0.006

TestCloningProvider

testValidCloneable 0.001
testWithPrivateCloneMethod 0.001
testWithInvalidCloneable 0
testWithExceptionThrown 0

TestXmlRpcInvoker

testInvalidHandlerName 0.068
org.apache.xmlrpc.XmlRpcException-->java.lang.Exception: RPC handler object "invalid" not found and no default handler registered
testValidInvocation 0.003

TestExecutorInterceptor

testVoidMethod 0.005
testNonVoidMethod 0

TestHessianProvider

testWithMalformedUrl 0.009
testWithMalformedUrlBean 0

TestNullProvider

testGetObject 0.001

TestProxyFactory

testCanProxy 0.001
testInterfaceHierarchies 0.008
testInvokerProxy 0.005
testDelegatingProxyInterfaceOrder 0.006
testCreateDelegatingProxy 0
testBooleanInterceptorParameter 0.002
testPrimitiveParameter 0
testCreateInterceptorProxy 0.001
testMethodInvocationImplementation 0.001
testMethodInvocationDuplicateMethods 0
testMethodInvocationClassCaching 0
testDelegatingProxyClassCaching 0
testInterceptingProxyClassCaching 0.001
testProxyWithCheckedException 0
testProxyWithUncheckedException 0
testInterceptorProxyWithUncheckedException 0
testInterceptorProxyWithCheckedException 0.002
testWithNonAccessibleTargetType 0.001
testChangingArguments 0

TestLoggingInterceptor

testVoidMethod 0.189
testNonVoidMethod 0.001
testWhenLoggingDisabled 0.001
testWithArrayParameter 0
testMultipleParameters 0
testNullReturnValue 0
testException 0.005
testRuntimeException 0.001

TestDuckTypingInvoker

testExactSignatureMatch 0.005
testNoMatchingMethod 0.003
testMismatchingParameterType 0.003
testTargetHasCompatibleReturnType 0.003
testMismatchingReturnType 0.003

TestMethodInterceptorAdapter

testMethodInvocationImplementation 0.188
testMethodInterception 0.001

Failure Details


testInvalidHandlerName
net.sf.cglib.proxy.UndeclaredThrowableException: org.apache.xmlrpc.XmlRpcException-->java.lang.Exception: RPC handler object "invalid" not found and no default handler registered