Summary

Tests Errors Failures Skipped Success Rate Time
129 0 0 3 97.674% 1.718

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.clerezza.triaxrs.blackbox.jaf 2 0 0 0 100% 0.057
org.apache.clerezza.triaxrs.testResource 3 0 0 3 0% 0.001
org.apache.clerezza.triaxrs.providers 2 0 0 0 100% 0.033
org.apache.clerezza.triaxrs 5 0 0 0 100% 0.048
org.apache.clerezza.triaxrs.blackbox.writers 8 0 0 0 100% 0.118
org.apache.clerezza.triaxrs.util 13 0 0 0 100% 0.076
org.apache.clerezza.triaxrs.blackbox.context 1 0 0 0 100% 0.009
org.apache.clerezza.triaxrs.blackbox 95 0 0 0 100% 1.376

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

org.apache.clerezza.triaxrs.blackbox.jaf

Class Tests Errors Failures Skipped Success Rate Time
TestJafProvider 2 0 0 0 100% 0.057

org.apache.clerezza.triaxrs.testResource

Class Tests Errors Failures Skipped Success Rate Time
TestSubResource 1 0 0 1 0% 0.001
TestResourceWithTemplateInMethod 1 0 0 1 0% 0
TestResource 1 0 0 1 0% 0

org.apache.clerezza.triaxrs.providers

Class Tests Errors Failures Skipped Success Rate Time
CascadingProvidersTest 1 0 0 0 100% 0.031
SelectableProvidersTest 1 0 0 0 100% 0.002

org.apache.clerezza.triaxrs

Class Tests Errors Failures Skipped Success Rate Time
TestProviders 2 0 0 0 100% 0.003
TestGetMethodCalledByPath 1 0 0 0 100% 0.017
ComponentsRegistrationTest 1 0 0 0 100% 0.02
TestTemplate 1 0 0 0 100% 0.008

org.apache.clerezza.triaxrs.blackbox.writers

Class Tests Errors Failures Skipped Success Rate Time
WriterAcceptTest 3 0 0 0 100% 0.021
TestRuntimeWriterSelection 1 0 0 0 100% 0.048
SelectWriterBasedOnAcceptTest 4 0 0 0 100% 0.049

org.apache.clerezza.triaxrs.util

Class Tests Errors Failures Skipped Success Rate Time
TemplateEncoderTest 3 0 0 0 100% 0.013
TestQueryParserUtil 3 0 0 0 100% 0.002
TestMethodUtil 1 0 0 0 100% 0.005
AcceptHeaderTest 2 0 0 0 100% 0.003
URITemplateTest 2 0 0 0 100% 0.002
MediaTypeComparatorTest 2 0 0 0 100% 0.051

org.apache.clerezza.triaxrs.blackbox.context

Class Tests Errors Failures Skipped Success Rate Time
TestHeadersInjection 1 0 0 0 100% 0.009

org.apache.clerezza.triaxrs.blackbox

Class Tests Errors Failures Skipped Success Rate Time
AutoGeneratedOptionsTest 3 0 0 0 100% 0.022
SubResourceLocatorTest 3 0 0 0 100% 0.025
TestResponseToAcceptHeader 1 0 0 0 100% 0.006
ResourcePathTest 6 0 0 0 100% 0.038
ContextInjectionIntoFieldTest 3 0 0 0 100% 0.14
TestBundlePathPrefix 4 0 0 0 100% 0.02
TestExceptionMappingProviderSelection 1 0 0 0 100% 0.017
TestAnnotationInheritance 5 0 0 0 100% 0.039
TestSourceProvider 7 0 0 0 100% 0.188
TestSimplePut 1 0 0 0 100% 0.006
TestResponse 2 0 0 0 100% 0.012
TestPostSubResourceMethod 1 0 0 0 100% 0.018
WildcardWriterTest 1 0 0 0 100% 0.008
TestCascadingProviders 4 0 0 0 100% 0.086
TestApplicationProvidedSingleton 1 0 0 0 100% 0.004
TestWriterDeterminedContentType 1 0 0 0 100% 0.219
EmptyPathSubResourceLocaterTest 2 0 0 0 100% 0.029
TestLocaleProvider 4 0 0 0 100% 0.025
TestTriaxrsPrefixManager 5 0 0 0 100% 0.027
TestNullEntityResponseBuilder 3 0 0 0 100% 0.011
TestQueryParam 3 0 0 0 100% 0.02
TestPutWithReader 1 0 0 0 100% 0.011
TestRegexPathParam 1 0 0 0 100% 0.008
TestSimpleGet 1 0 0 0 100% 0.005
MethodSelectionTest 3 0 0 0 100% 0.018
TestAnnotationDefaultValue 8 0 0 0 100% 0.182
TestPlainPathParam 1 0 0 0 100% 0.004
ExceptionMappingForProvidersTest 2 0 0 0 100% 0.028
TestComponentInjectedWriter 1 0 0 0 100% 0.006
ResourceExecutorTest 1 0 0 0 100% 0.012
AcceptMethodSelectionTest 5 0 0 0 100% 0.043
FormParamTest 1 0 0 0 100% 0.005
TestCheckedExceptionHandling 1 0 0 0 100% 0.005
ExtendedMediaTypeTest 1 0 0 0 100% 0.008
TestPrimitiveCharInjection 1 0 0 0 100% 0.004
TestUnavailableGet 1 0 0 0 100% 0.008
TestApplicationProvidedWriter 1 0 0 0 100% 0.024
TestGenericEntityResponse 1 0 0 0 100% 0.025
TestWebApplicationExceptionHandling 1 0 0 0 100% 0.005
TestPrimitiveIntInjection 1 0 0 0 100% 0.005
TestWebApplicationExceptionHandlingWithoutEntity 1 0 0 0 100% 0.01

Test Cases

TemplateEncoderTest

simpleEncoding 0.001
spaceEncoding 0.001
containsAlreadyEncodedCharsTest 0.001

AutoGeneratedOptionsTest

testResponseToOptionsRequest 0.011
testResponseToOptionsRequestOnSubresource 0.004
testResponseToOptionsRequestWithNoResource 0.004

SubResourceLocatorTest

testGetOnMySubResource 0.015
testGetOnMyRootResource 0.004
testSubMethodOnMySubResource 0.003

TestResponseToAcceptHeader

testResponse 0.005

ResourcePathTest

requestOnResourcePathTest 0.004
requestOnResourcePathContainingEncodedSpaceTest 0.005
requestOnResourcePathContainingPlusTest 0.016
requestOnResourcePathContainingSpaceTest 0.005
reqOnResMethodPathContainingEncSpaceTest 0.003
reqOnResMethodPathContainingSpaceTest 0.003

ContextInjectionIntoFieldTest

injectIntoProviderField 0.008
testConcurrency 0.125
testFieldInjectionIntoResourceField 0.004

TestBundlePathPrefix

testPrefixedUrlOfApplication 0.007
testNotPrefixedUrlRequestUnreachableOfApp 0.004
testPrefixedUrlOfComponent 0.004
testNotPrefixedUrlRequestUnreachableOfComp 0.003

TestExceptionMappingProviderSelection

testExceptions 0.006

TestAnnotationInheritance

testInterfaceAnnotation 0.008
testSuperClassAnnotation 0.005
testSuperClassPrecedence 0.008
testClassIgnorsInterface 0.008
testClassIgnorsSuperClass 0.007

TestSourceProvider

readStreamSource 0.061
readSAXSource 0.005
readDOMSource 0.045
writeStreamSource 0.005
writeSAXSource 0.033
writeDOMSource 0.005
writeDomSource 0.005

TestSimplePut

performPut 0.005

TestQueryParserUtil

testGetMatrixEmpty 0
testGetMatrix 0.001
testGetQueryParam 0

WriterAcceptTest

testResponseObject 0.007
testNoMatchingAcceptAndProduce 0.007
testWrongContentTypeInResponse 0.005

TestResponse

testResponseObject 0.004
testPostResponseObjectWithEmptyEntity 0.007

TestPostSubResourceMethod

testOptions 0.017

TestMethodUtil

testGetAnnotatedMethods 0.004

WildcardWriterTest

testResponseObject 0.007

TestCascadingProviders

testCascadingProviders1 0.052
testCascadingProviders2 0.016
testCascadingProviders3 0.01
testCascadingProviders4 0.006

TestApplicationProvidedSingleton

testOptions 0.003

TestWriterDeterminedContentType

testResponseObject 0.218

EmptyPathSubResourceLocaterTest

nonEmptySubResourcePath 0.025
emptySubResourcePath 0.003

TestLocaleProvider

testHttpHeadersAndHeaderParam 0.007
testIllegalArgumentHandling 0.005
testLocaleProviderFromString 0.001
testLocaleProviderToString 0.001

AcceptHeaderTest

gettingQualityWithWildCard 0.001
gettingQualityWithoutWildCard 0.001

TestTriaxrsPrefixManager

testGetCustomPrefix 0.02
testGetDefaultPrefix 0.001
testCustomPriorDefault 0.001
testCustomPrefixDeactivated 0.001
testDefaultPrefixDeactivated 0.001

TestSubResource

org.apache.clerezza.triaxrs.testResource.TestSubResource 0.01
skipped

TestJafProvider

testJAFProviderBodyReader 0.048
testJAFProviderBodyWriter 0.005

TestResourceWithTemplateInMethod

org.apache.clerezza.triaxrs.testResource.TestResourceWithTemplateInMethod 0.008
skipped

TestProviders

getExceptionMapper 0.001
getExceptionMapper2 0.001

TestHeadersInjection

testOptions 0.003

TestNullEntityResponseBuilder

testStatusCreated 0
testNullEntity 0.001
testResponseCode 0.008

TestQueryParam

testQueryParam 0.007
testQueryParamWithSpace 0.005
testMultiValueQueryParam 0.007

TestPutWithReader

performPut 0.011

TestGetMethodCalledByPath

testGetMethodPathNotFound 0.016

TestRegexPathParam

testQueryParam 0.007

TestSimpleGet

testOptions 0.004

MethodSelectionTest

tesPost1 0.009
testPost2 0.004
tesPost3 0.004

URITemplateTest

simpleTemplateMatching 0.001
simpleParameterizedeMatching 0.001

TestAnnotationDefaultValue

testPathParamInjectionIntoMethod 0.018
testMatrixParamInjectionIntoMethod 0.028
testQueryParamInjectionIntoMethod 0.034
testFormParamInjectionIntoMethod 0.024
testCookieParamInjectionIntoMethod 0.029
testHeaderParamInjectionIntoMethod 0.025
testInjectionIntoField 0.005
testInjectionIntoConstructor 0.005

TestPlainPathParam

testQueryParam 0.004

ExceptionMappingForProvidersTest

testMappingForMessageBodyReader 0.01
testMappingForMessageBodyWriter 0.017

TestComponentInjectedWriter

testResponseObject 0.005

ResourceExecutorTest

testHandleOnResource 0.011

AcceptMethodSelectionTest

acceptHeaderBasedMethodSelection 0.006
acceptHeaderBasedMethodSelectionWithQ 0.013
acceptHeaderBasedMethodSelectionWithQ2 0.01
acceptHeaderBasedMethodSelectionWithQ3 0.006
acceptHeaderBasedMethodSelectionWithQ4 0.004

FormParamTest

testFormParamInjectionIntoMethod 0.004

CascadingProvidersTest

testGetMessageBodyReader 0.03

TestResource

org.apache.clerezza.triaxrs.testResource.TestResource 0.01
skipped

SelectableProvidersTest

mediaType 0.002

TestCheckedExceptionHandling

testExceptions 0.004

ExtendedMediaTypeTest

testResponseObject 0.007

TestPrimitiveCharInjection

testIntInjection 0.004

TestUnavailableGet

testOptions 0.007

TestApplicationProvidedWriter

testResponseObject 0.013

TestGenericEntityResponse

testResponseObject 0.025

ComponentsRegistrationTest

testComponentRegistration 0.02

TestWebApplicationExceptionHandling

testExceptions 0.004

TestRuntimeWriterSelection

testResponseObject 0.047

MediaTypeComparatorTest

apiTest 0.019
testInSet 0.002

TestPrimitiveIntInjection

testIntInjection 0.004

TestTemplate

testWithParameterNotFound 0.007

SelectWriterBasedOnAcceptTest

testString1 0.018
testString2 0.006
testString2NotWildcard 0.006
testWildcard 0.018

TestWebApplicationExceptionHandlingWithoutEntity

testExceptions 0.009

Failure Details

org.apache.clerezza.triaxrs.testResource.TestSubResource
skipped: skipped
org.apache.clerezza.triaxrs.testResource.TestResourceWithTemplateInMethod
skipped: skipped
org.apache.clerezza.triaxrs.testResource.TestResource
skipped: skipped