Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
24 0 0 4 83.333% 5.967

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% 5.387
info.magnolia.rest 5 0 0 0 100% 0.216
info.magnolia.rest.registry 14 0 0 4 71.429% 0.364

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% 1.848
RestIntegrationModuleVersionHandlerTest 3 0 0 0 100% 3.321
UpdateRestEditorRoleTaskTest 1 0 0 0 100% 0.218

info.magnolia.rest

Class Tests Errors Failures Skipped Success Rate Time
RestDispatcherServletTest 2 0 0 0 100% 0.212
RestExceptionMapperTest 3 0 0 0 100% 0.004

info.magnolia.rest.registry

Class Tests Errors Failures Skipped Success Rate Time
ConfiguredEndpointDefinitionManagerTest 4 0 0 4 0% 0
EndpointDefinitionRegistryTest 10 0 0 0 100% 0.364

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.287
decoratorsTriggerRegistryEvents 0.058
unregister 0.008
getProvider 0.001
getNonExistingProvider 0.002
unregisterAndRegisterWhenEmpty 0.003
getExistingWithDeprecatedApi 0.001
getInvalidProvider 0.001
getNonExistingWithDeprecatedApi 0.001
getAllDefinitions 0.002

RestDispatcherServletTest

shouldUnregisterExistedEndpointThenReregister 0.196
failureUponRegistrationOfOneEndpointDoesNotLeadToSkippingOthers 0.016

RestExceptionMapperTest

testThatRestExceptionMapperDoesNotProvideAStackTrace 0.004
testMapsRepositoryExceptionToInternalServerError 0
testMapsAccessDeniedExceptionToForbidden 0

RemoveRoleFromUserTaskTest

removeRoleFromUser 1.848

RestIntegrationModuleVersionHandlerTest

updateFrom12UpdatesRestEditorRole 1.195
basicInstallSuperuserHasRoleRest 1.133
updateFrom123ChangeRestEditorRoleToRestAdminRole 0.993

UpdateRestEditorRoleTaskTest

updateRestRole 0.218

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.