Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
14 0 0 0 100% 6.231

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 1 0 0 0 100% 1.504
info.magnolia.rest 4 0 0 0 100% 0.335
info.magnolia.rest.registry 9 0 0 0 100% 4.392

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
RestIntegrationModuleVersionHandlerTest 1 0 0 0 100% 1.504

info.magnolia.rest

Class Tests Errors Failures Skipped Success Rate Time
RestDispatcherServletTest 1 0 0 0 100% 0.324
RestExceptionMapperTest 3 0 0 0 100% 0.011

info.magnolia.rest.registry

Class Tests Errors Failures Skipped Success Rate Time
ConfiguredEndpointDefinitionManagerTest 4 0 0 0 100% 4.364
EndpointDefinitionRegistryTest 5 0 0 0 100% 0.028

Test Cases

[Summary] [Package List] [Test Cases]

ConfiguredEndpointDefinitionManagerTest

testGetEndpointDefinition 2.573
testSendsRegisteredEventForDisabledEndpoint 0.653
testIgnoresIncompleteEndpointDefinition 0.668
testSendsRegisteredEvent 0.47

EndpointDefinitionRegistryTest

testGetEndpointDefinition 0.011
testRegister 0.003
testUnregister 0.004
testGetEndpointDefinitionThrowsExceptionWhenEndpointNotFound 0.007
testUnregisterAndRegisterWhenEmpty 0.003

RestDispatcherServletTest

failureUponRegistrationOfOneEndpointDoesNotLeadToSkippingOthers 0.324

RestExceptionMapperTest

testThatRestExceptionMapperDoesNotProvideAStackTrace 0.008
testMapsRepositoryExceptionToInternalServerError 0.001
testMapsAccessDeniedExceptionToForbidden 0.002

RestIntegrationModuleVersionHandlerTest

testBasicInstallSuperuserHasRoleRest 1.504