Surefire Report

Summary


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

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.034
org.apache.commons.proxy.exception 12 0 0 0 100% 0.007
org.apache.commons.proxy.provider 9 0 0 0 100% 0.012
org.apache.commons.proxy.interceptor 18 0 0 0 100% 0.371
org.apache.commons.proxy.factory.cglib 27 0 0 0 100% 0.08
org.apache.commons.proxy.invoker 9 1 0 0 88.889% 0.114
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.018
org.apache.commons.proxy.factory.javassist 27 0 0 0 100% 0.076
org.apache.commons.proxy.factory.util 1 0 0 0 100% 0.002

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
TestProxyFactory 19 0 0 0 100% 0.031
TestProxyUtils 4 0 0 0 100% 0.003

org.apache.commons.proxy.exception

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

org.apache.commons.proxy.provider

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

org.apache.commons.proxy.interceptor

Class Tests Errors Failures Skipped Success Rate Time
TestSerializingInterceptor 2 0 0 0 100% 0.019
TestLoggingInterceptor 8 0 0 0 100% 0.175
TestMethodInterceptorAdapter 2 0 0 0 100% 0.149
TestExecutorInterceptor 2 0 0 0 100% 0.008
TestFilteredInterceptor 2 0 0 0 100% 0.018
TestInterceptorChain 2 0 0 0 100% 0.002

org.apache.commons.proxy.factory.cglib

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

org.apache.commons.proxy.invoker

Class Tests Errors Failures Skipped Success Rate Time
TestXmlRpcInvoker 2 1 0 0 50% 0.084
TestNullInvoker 1 0 0 0 100% 0.006
TestInvocationHandlerAdapter 1 0 0 0 100% 0.009
TestDuckTypingInvoker 5 0 0 0 100% 0.015

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.008
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.076

org.apache.commons.proxy.factory.util

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

Test Cases

TestReturnTypeFilter

testAcceptsMethod 0.001

TestBurlapProvider

testWithMalformedUrl 0.006
testWithMalformedUrlBean 0

TestInvocationHandlerException

testNoArgConstructor 0
testMessageOnlyConstructor 0
testCauseOnlyConstructor 0
testMessageAndCauseConstructor 0

TestNullProvider

testGetObject 0

TestDelegateProviderException

testNoArgConstructor 0
testMessageOnlyConstructor 0.001
testCauseOnlyConstructor 0
testMessageAndCauseConstructor 0

TestPatternFilter

testAccepts 0.002

TestSimpleFilter

testAccepts 0.001

TestCglibProxyFactory

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

TestXmlRpcInvoker

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

TestBeanProvider

testWithNullBeanClass 0
testAbstractBeanClass 0
testNonAccessibleConstructor 0.001

TestJavassistProxyFactory

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

TestSerializingInterceptor

testWithSerializableParametersAndReturn 0.006
testWithInvalidParameterType 0.012

TestCloningProvider

testValidCloneable 0.001
testWithPrivateCloneMethod 0.001
testWithInvalidCloneable 0.001
testWithExceptionThrown 0

TestLoggingInterceptor

testVoidMethod 0.151
testNonVoidMethod 0
testWhenLoggingDisabled 0.001
testWithArrayParameter 0.001
testMultipleParameters 0.001
testNullReturnValue 0.001
testException 0.003
testRuntimeException 0

TestProxyFactory

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

TestMethodInterceptorAdapter

testMethodInvocationImplementation 0.13
testMethodInterception 0

TestConstantProvider

testGetObject 0

TestProxyFactoryException

testNoArgConstructor 0
testMessageOnlyConstructor 0
testCauseOnlyConstructor 0
testMessageAndCauseConstructor 0

TestExecutorInterceptor

testVoidMethod 0.004
testNonVoidMethod 0.001

TestNullInvoker

testReturnValues 0.005

TestFilteredInterceptor

testFilterAccepts 0.016
testFilterDenies 0

TestInvocationHandlerAdapter

testMethodInvocation 0.007

TestMethodSignature

testEquals 0.001

TestInterceptorChain

testWithSingleInterceptor 0
testWithMultipleInterceptors 0

TestProxyUtils

testCreateNullObject 0
testCreateNullObjectWithClassLoader 0
testGetAllInterfaces 0
testGetJavaClassName 0

TestDuckTypingInvoker

testExactSignatureMatch 0.004
testNoMatchingMethod 0.002
testMismatchingParameterType 0.002
testTargetHasCompatibleReturnType 0.002
testMismatchingReturnType 0.002

TestHessianProvider

testWithMalformedUrl 0.007
testWithMalformedUrlBean 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