Surefire Report

Summary


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

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.045
org.apache.commons.proxy.exception 12 0 0 0 100% 0.006
org.apache.commons.proxy.provider 9 0 0 0 100% 0.018
org.apache.commons.proxy.interceptor 18 0 0 0 100% 0.492
org.apache.commons.proxy.factory.cglib 27 0 0 0 100% 0.083
org.apache.commons.proxy.invoker 9 1 0 0 88.889% 0.147
org.apache.commons.proxy.interceptor.filter 3 0 0 0 100% 0.007
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.064
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.002
TestProxyFactory 19 0 0 0 100% 0.043

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.003
TestConstantProvider 1 0 0 0 100% 0.006
TestCloningProvider 4 0 0 0 100% 0.007
TestNullProvider 1 0 0 0 100% 0.002

org.apache.commons.proxy.interceptor

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

org.apache.commons.proxy.factory.cglib

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

org.apache.commons.proxy.invoker

Class Tests Errors Failures Skipped Success Rate Time
TestNullInvoker 1 0 0 0 100% 0.006
TestInvocationHandlerAdapter 1 0 0 0 100% 0.008
TestXmlRpcInvoker 2 1 0 0 50% 0.115
TestDuckTypingInvoker 5 0 0 0 100% 0.018

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.003
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.006
TestHessianProvider 2 0 0 0 100% 0.011

org.apache.commons.proxy.factory.javassist

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

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
testNonAccessibleConstructor 0.001

TestReturnTypeFilter

testAcceptsMethod 0.001

TestProxyFactoryException

testNoArgConstructor 0
testMessageOnlyConstructor 0
testCauseOnlyConstructor 0
testMessageAndCauseConstructor 0

TestJavassistProxyFactory

testCanProxy 0
testWithAbstractSuperclass 0.005
testDelegatorWithSuperclass 0.004
testInterceptorWithSuperclass 0.008
testInvocationHandlerWithSuperclass 0.005
testProxiesWithClashingFinalMethodInSuperclass 0.015
testDelegatorWithMultipleSuperclasses 0
testInterceptorWithMultipleSuperclasses 0
testInvocationHandlerWithMultipleSuperclasses 0.001
testInterfaceHierarchies 0.007
testInvokerProxy 0
testDelegatingProxyInterfaceOrder 0.003
testCreateDelegatingProxy 0.003
testBooleanInterceptorParameter 0
testPrimitiveParameter 0
testCreateInterceptorProxy 0.001
testMethodInvocationImplementation 0
testMethodInvocationDuplicateMethods 0.004
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.004
testWithMalformedUrlBean 0

TestNullInvoker

testReturnValues 0.005

TestInterceptorChain

testWithSingleInterceptor 0
testWithMultipleInterceptors 0.001

TestSerializingInterceptor

testWithSerializableParametersAndReturn 0.008
testWithInvalidParameterType 0.011

TestPatternFilter

testAccepts 0.001

TestFilteredInterceptor

testFilterAccepts 0.017
testFilterDenies 0.001

TestConstantProvider

testGetObject 0.001

TestMethodSignature

testEquals 0

TestSimpleFilter

testAccepts 0.001

TestProxyUtils

testCreateNullObject 0
testCreateNullObjectWithClassLoader 0.001
testGetAllInterfaces 0
testGetJavaClassName 0

TestInvocationHandlerException

testNoArgConstructor 0
testMessageOnlyConstructor 0
testCauseOnlyConstructor 0
testMessageAndCauseConstructor 0

TestCglibProxyFactory

testCanProxy 0.002
testWithAbstractSuperclass 0.003
testDelegatorWithSuperclass 0.006
testInterceptorWithSuperclass 0.007
testInvocationHandlerWithSuperclass 0.006
testProxiesWithClashingFinalMethodInSuperclass 0.015
testDelegatorWithMultipleSuperclasses 0
testInterceptorWithMultipleSuperclasses 0
testInvocationHandlerWithMultipleSuperclasses 0
testInterfaceHierarchies 0.005
testInvokerProxy 0.001
testDelegatingProxyInterfaceOrder 0.003
testCreateDelegatingProxy 0.005
testBooleanInterceptorParameter 0
testPrimitiveParameter 0
testCreateInterceptorProxy 0
testMethodInvocationImplementation 0.001
testMethodInvocationDuplicateMethods 0.017
testMethodInvocationClassCaching 0
testDelegatingProxyClassCaching 0
testInterceptingProxyClassCaching 0
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.001
testWithExceptionThrown 0

TestXmlRpcInvoker

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

TestExecutorInterceptor

testVoidMethod 0.004
testNonVoidMethod 0.001

TestHessianProvider

testWithMalformedUrl 0.008
testWithMalformedUrlBean 0.001

TestNullProvider

testGetObject 0

TestProxyFactory

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

TestLoggingInterceptor

testVoidMethod 0.183
testNonVoidMethod 0.001
testWhenLoggingDisabled 0
testWithArrayParameter 0.001
testMultipleParameters 0.001
testNullReturnValue 0
testException 0.004
testRuntimeException 0.001

TestDuckTypingInvoker

testExactSignatureMatch 0.003
testNoMatchingMethod 0.002
testMismatchingParameterType 0.002
testTargetHasCompatibleReturnType 0.005
testMismatchingReturnType 0.002

TestMethodInterceptorAdapter

testMethodInvocationImplementation 0.178
testMethodInterception 0

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