Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
76 0 0 0 100% 14.608

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


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
info.magnolia.virtualuri.mapping 58 0 0 0 100% 0.699
info.magnolia.virtualuri.setup 2 0 0 0 100% 2.953
info.magnolia.virtualuri 8 0 0 0 100% 0.087
info.magnolia.virtualuri.setup.delta 8 0 0 0 100% 10.869

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

info.magnolia.virtualuri.mapping

Class Tests Errors Failures Skipped Success Rate Time
HostBasedRegexpVirtualUriMappingTest 20 0 0 0 100% 0.535
RegexpVirtualUriMappingTest 15 0 0 0 100% 0.043
VirtualUriMappingComparisonTest 5 0 0 0 100% 0.111
DefaultVirtualUriMappingTest 4 0 0 0 100% 0.002
HostBasedVirtualUriMappingTest 14 0 0 0 100% 0.008

info.magnolia.virtualuri.setup

Class Tests Errors Failures Skipped Success Rate Time
VirtualUriModuleVersionHandlerTest 2 0 0 0 100% 2.953

info.magnolia.virtualuri

Class Tests Errors Failures Skipped Success Rate Time
VirtualUriRegistryTest 7 0 0 0 100% 0.078
VirtualUriFilterTest 1 0 0 0 100% 0.009

info.magnolia.virtualuri.setup.delta

Class Tests Errors Failures Skipped Success Rate Time
UpdateMappingClassesAndPropertiesTaskTest 6 0 0 0 100% 9.395
VirtualUriMappingUpdateTaskTest 2 0 0 0 100% 1.474

Test Cases

[Summary] [Package List] [Test Cases]

VirtualUriRegistryTest

newDefinitionProviderBuilderForLegacyDefinition 0.043
newDefinitionProviderBuilderForWrongDefinition 0.011
getProvider 0.008
getNonExistingProvider 0.009
newDefinitionProviderBuilderForNewDefinition 0.002
getInvalidProvider 0.001
getAllDefinitions 0.004

HostBasedRegexpVirtualUriMappingTest

mapUri 0.499
testToString 0.001
mapUriWithQuery 0.002
mapUriWhenHostMappingIsNull 0.001
mapUriWithQueryToHost 0.001
mapGracefullyFailingOnIncompleteConfig 0
validateUriWhenPropertiesAreNull 0
testExample1 0.002
testExample2 0.002
testExample3 0.002
supportsMoreThan9Groups 0.008
mapQueryStringFailedOnWrongQueryString 0.004
validateUriWhenToUriIsNull 0.004
mapGracefullyFailingOnWrongRegexGroup 0.002
validateUriWhenPropertiesAreNotSet 0
mapQueryStringIsBeingPassedThroughExample1 0.001
mapQueryStringIsBeingPassedThroughExample2 0.002
mapQueryStringIsBeingPassedThroughExample3 0.002
mapRegexSubstitutionWorksAndLevelIsSetToGroupCountPlusOne 0.001
validateUriWhenToUriIsNotSet 0.001

RegexpVirtualUriMappingTest

mapGracefullyFailingOnIncompleteConfig 0.014
validateUriWhenPropertiesAreNull 0.001
testExample1 0.001
testExample2 0.001
testExample3 0
supportsMoreThan9Groups 0.001
mapQueryStringFailedOnWrongQueryString 0
validateUriWhenToUriIsNull 0
mapGracefullyFailingOnWrongRegexGroup 0.016
validateUriWhenPropertiesAreNotSet 0.001
mapQueryStringIsBeingPassedThroughExample1 0.006
mapQueryStringIsBeingPassedThroughExample2 0
mapQueryStringIsBeingPassedThroughExample3 0.001
mapRegexSubstitutionWorksAndLevelIsSetToGroupCountPlusOne 0.001
validateUriWhenToUriIsNotSet 0

VirtualUriMappingComparisonTest

defaultMappingIsCompatibleWithOldMapping 0.09
hostBasedRegexMappingIsCompatibleWithOldMapping 0.005
regexMappingIsCompatibleWithOldMapping 0.002
evaluateCollidingMappings 0.012
hostBasedMappingIsCompatibleWithOldMapping 0.002

UpdateMappingClassesAndPropertiesTaskTest

updatingMappingClassesAndPropertiesOnDeprecatedClassesShowsWarning 4.438
shouldUpdateDefaultVirtualUriMappingSuccessfully 1.446
updateHostHostBasedRegexpVirtualUriMapping 1.038
updateHostBasedVirtualUriMapping 0.962
updateRotatingVirtualUriMapping 0.699
updateRegexpVirtualUriMapping 0.812

VirtualUriModuleVersionHandlerTest

freshInstallOrdersVirtualUriFilter 1.855
updateFrom555ReplacesVirtualUriFilter 1.098

DefaultVirtualUriMappingTest

validateUriWhenPropertiesAreNull 0
mapUri 0.001
validateUriWhenPropertiesDoNotSet 0
validateUriWhenToUriIsNotSet 0.001

VirtualUriMappingUpdateTaskTest

updateOldVirtualMappingForDefaultMapping 0.884
updateCustomVirtualURIClassMapping 0.59

HostBasedVirtualUriMappingTest

noHostReturnsFallbackResult 0.001
validateUriWhenToUriIsNotSetButHostMappingIsSet 0
validateUriWhenPropertiesAreNull 0
validateWhenFromUriIsNotSet 0
nonMatchingMappingReturnsEmptyResultDespiteMatchingHost 0
mapUriWhenHostMappingIsNull 0.001
mappingThatBestMatchWinsPart1 0
mappingThatBestMatchWinsPart2 0.001
validateUriWhenToUriIsNull 0.001
nonMatchingHostReturnsFallbackResult 0.001
matchingHostReturnsResultWithOverriddenToUri 0.001
mappingWhereOneDoesMatch 0.001
validateUriWhenPropertiesAreNotSet 0
validateUriWhenToUriIsNotSet 0.001

VirtualUriFilterTest

applyUriMappings 0.009