Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
36 0 0 0 100% 0.804

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

Package List


Package Tests Errors Failures Skipped Success Rate Time
com.atlassian.plugins.rest.module.filter 11 0 0 0 100% 0.125
com.atlassian.plugins.rest.module.scanner 7 0 0 0 100% 0.112
com.atlassian.plugins.rest.module.servlet 10 0 0 0 100% 0.191
com.atlassian.plugins.rest.module 8 0 0 0 100% 0.376

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

com.atlassian.plugins.rest.module.filter

Class Tests Errors Failures Skipped Success Rate Time
ExtensionJerseyFilterTest 5 0 0 0 100% 0.108
TextHtmlJerseyMvcFilterTest 6 0 0 0 100% 0.017

com.atlassian.plugins.rest.module.scanner

Class Tests Errors Failures Skipped Success Rate Time
AnnotatedClassScannerTest 7 0 0 0 100% 0.112

com.atlassian.plugins.rest.module.servlet

Class Tests Errors Failures Skipped Success Rate Time
DefaultRestServletModuleManagerTest 10 0 0 0 100% 0.191

com.atlassian.plugins.rest.module

Class Tests Errors Failures Skipped Success Rate Time
OsgiComponentProviderFactoryTest 3 0 0 0 100% 0.366
TestApiVersion 5 0 0 0 100% 0.01

Test Cases

OsgiComponentProviderFactoryTest

testGetComponentProviderWithNoResourceOrProviderClasses 0.328
testGetComponentProviderWithEmptyResourceOrProviderClasses 0.001
testGetComponentProviderWithAResourceOrProviderClasses 0.001

AnnotatedClassScannerTest

testScanWithNoBasePackage 0.079
testScanWithBasePackage 0.009
testScanWithBasePackageUsingSlashes 0.004
testScanWithBasePackageAndSubPackages 0.003
testScanWithMultipleBasePackagesAndSubPackages 0.004
testScanWithMultipleBasePackages 0.004
testGetBundleFileEscapesBundleLocationBeforeResolvingFile 0.003

TestApiVersion

testUnparsableVersion 0.002
testCanParseVersionWithMajorOnly 0.001
testCanParseVersionWithMajorAndMinorOnly 0
testCanParseVersionWithMajorAndMinorAndMicro 0
testCanParseVersionWithMajorAndMinorAndMicroAndClassifier 0.002

ExtensionJerseyFilterTest

testFilterWithoutQueryParameters 0.092
testFilterWithQueryParameters 0.005
testDoNotFilterWhenExtensionNotMatched 0.002
testDoNotFilterWhenNoExtension 0.002
testDoNotFilterWhenExcluded 0.002

TextHtmlJerseyMvcFilterTest

testFilterWithoutTextHtmlContentType 0.002
testFilterWithTextHtmlContentTypeFirst 0.003
testFilterWithTextHtmlContentTypeNotFirst 0.001
testFilterWithWildcardContentTypeNotFirst 0.001
testFilterWithWildcardContentType 0.001
testFilterWithWildcardOnlyContentType 0.001

DefaultRestServletModuleManagerTest

testAddServletModule 0.083
testGetServlet 0.007
testRemoveServletModule 0.001
testGetFilters 0.007
testAddFilterModuleWithNonRestServletFilterModuleDescriptor 0.018
testAddFilterModuleWithRestServletFilterModuleDescriptor 0.051
testRemoveFilterModuleWithRestServletFilterModuleDescriptorWithNoExistingLatest 0.002
testRemoveFilterModuleWithRestServletFilterModuleDescriptorWhenRemovingNonLatest 0.007
testRemoveFilterModuleWithRestServletFilterModuleDescriptorWhenRemovingLatest 0.006
testRemoveFilterModuleWithNonRestServletFilterModuleDescriptor 0.001