Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
23 0 0 4 82.609% 7.86

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.rest.setup 5 0 0 0 100% 7.123
info.magnolia.rest 5 0 0 0 100% 0.283
info.magnolia.rest.registry 13 0 0 4 69.231% 0.454

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

info.magnolia.rest.setup

Class Tests Errors Failures Skipped Success Rate Time
RemoveRoleFromUserTaskTest 1 0 0 0 100% 2.416
RestIntegrationModuleVersionHandlerTest 3 0 0 0 100% 4.434
UpdateRestEditorRoleTaskTest 1 0 0 0 100% 0.273

info.magnolia.rest

Class Tests Errors Failures Skipped Success Rate Time
RestDispatcherServletTest 2 0 0 0 100% 0.278
RestExceptionMapperTest 3 0 0 0 100% 0.005

info.magnolia.rest.registry

Class Tests Errors Failures Skipped Success Rate Time
ConfiguredEndpointDefinitionManagerTest 4 0 0 4 0% 0
EndpointDefinitionRegistryTest 9 0 0 0 100% 0.454

Test Cases

[Summary] [Package List] [Test Cases]

ConfiguredEndpointDefinitionManagerTest

testGetEndpointDefinition 0
ConfiguredEndpointDefinitionManagerTest is deprecated and should not be used anymore.
testSendsRegisteredEventForDisabledEndpoint 0
ConfiguredEndpointDefinitionManagerTest is deprecated and should not be used anymore.
testIgnoresIncompleteEndpointDefinition 0
ConfiguredEndpointDefinitionManagerTest is deprecated and should not be used anymore.
testSendsRegisteredEvent 0
ConfiguredEndpointDefinitionManagerTest is deprecated and should not be used anymore.

EndpointDefinitionRegistryTest

register 0.385
unregister 0.056
getProvider 0.002
getNonExistingProvider 0.002
unregisterAndRegisterWhenEmpty 0.004
getExistingWithDeprecatedApi 0.001
getInvalidProvider 0.001
getNonExistingWithDeprecatedApi 0.001
getAllDefinitions 0.002

RestDispatcherServletTest

shouldUnregisterExistedEndpointThenReregister 0.257
failureUponRegistrationOfOneEndpointDoesNotLeadToSkippingOthers 0.021

RestExceptionMapperTest

testThatRestExceptionMapperDoesNotProvideAStackTrace 0.004
testMapsRepositoryExceptionToInternalServerError 0.001
testMapsAccessDeniedExceptionToForbidden 0

RemoveRoleFromUserTaskTest

removeRoleFromUser 2.416

RestIntegrationModuleVersionHandlerTest

updateFrom12UpdatesRestEditorRole 1.603
basicInstallSuperuserHasRoleRest 1.437
updateFrom123ChangeRestEditorRoleToRestAdminRole 1.394

UpdateRestEditorRoleTaskTest

updateRestRole 0.273

Failure Details

[Summary] [Package List] [Test Cases]


testGetEndpointDefinition
skipped: ConfiguredEndpointDefinitionManagerTest is deprecated and should not be used anymore.
testSendsRegisteredEventForDisabledEndpoint
skipped: ConfiguredEndpointDefinitionManagerTest is deprecated and should not be used anymore.
testIgnoresIncompleteEndpointDefinition
skipped: ConfiguredEndpointDefinitionManagerTest is deprecated and should not be used anymore.
testSendsRegisteredEvent
skipped: ConfiguredEndpointDefinitionManagerTest is deprecated and should not be used anymore.