Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
71 0 0 0 100% 7.224

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.ui.api.app 6 0 0 0 100% 0.061
info.magnolia.ui.api.location 25 0 0 0 100% 0.043
info.magnolia.ui.api.app.registry 13 0 0 0 100% 3.418
info.magnolia.ui.api.app.launcherlayout 15 0 0 0 100% 0.796
info.magnolia.ui.api.action 12 0 0 0 100% 2.906

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

info.magnolia.ui.api.app

Class Tests Errors Failures Skipped Success Rate Time
AppDescriptorKeyGeneratorTest 2 0 0 0 100% 0.027
AppLifecycleEventTest 4 0 0 0 100% 0.034

info.magnolia.ui.api.location

Class Tests Errors Failures Skipped Success Rate Time
DefaultLocationTest 11 0 0 0 100% 0.004
LocationControllerTest 4 0 0 0 100% 0.028
LocationHistoryHandlerTest 10 0 0 0 100% 0.011

info.magnolia.ui.api.app.registry

Class Tests Errors Failures Skipped Success Rate Time
AppDescriptorRegistryTest 11 0 0 0 100% 0.283
ConfiguredAppDescriptorManagerTest 2 0 0 0 100% 3.135

info.magnolia.ui.api.app.launcherlayout

Class Tests Errors Failures Skipped Success Rate Time
AppLauncherGroupDefinitionKeyGeneratorTest 1 0 0 0 100% 0.001
AppLauncherLayoutTest 5 0 0 0 100% 0.003
AppLayoutManagerImplTest 9 0 0 0 100% 0.792

info.magnolia.ui.api.action

Class Tests Errors Failures Skipped Success Rate Time
AbstractActionExecutorTest 5 0 0 0 100% 2.516
ActionDefinitionKeyGeneratorTest 7 0 0 0 100% 0.39

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

testCreatesAndExecutesAction 2.147
testThrowsExceptionWhenActionThrowsRuntimeException 0.088
testThrowsExceptionWhenActionThrowsActionExecutionException 0.114
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass 0.091
testCreateActionThrowsExceptionWhenActionDefinitionMissing 0.076

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing 0.245
unknownI18nAbleParentPrependAncestorGeneratedKey 0.013
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName 0.009
keyGeneratedFromAppDescriptorIsCompliant 0.075
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId 0.014
keysForActionInChooseDialog 0.03
colonInIdIsReplacedByDot 0.004

AppDescriptorKeyGeneratorTest

keysForIcon 0.026
keysForLabel 0.001

AppLifecycleEventTest

testDispatchCallsOnAppStarted 0.031
testDispatchCallsOnAppStopped 0.001
testDispatchCallsOnAppFocused 0.001
testDispatchCallsNothingOnNullEvent 0.001

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel 0.001

AppLauncherLayoutTest

testGetGroup 0.002
testGetGroupEntry 0
testGetAppDescriptor 0.001
testContainsApp 0
testGetGroups 0

AppLayoutManagerImplTest

testGetAppLayout 0.128
testExcludesEmptyGroups 0.061
testExcludesAppWithoutIcon 0.115
testHidesAppsThatAreNotAccessibleForTheCurrentUser 0.098
testHidesEntriesThatAreNotEnabled 0.073
testIncludesAppsThatAreAccessibleForTheCurrentUser 0.061
testSendsLauncherLayoutChangedEvent 0.076
testExcludesAppWithoutLabel 0.094
testHidesAppsThatAreNotEnabled 0.086

AppDescriptorRegistryTest

testGetAppDescriptor 0.088
testGetAppDescriptors 0.019
testGetAppDescriptorThrowsExceptionWhenAppNotFound 0.016
testUnregisterAndRegisterWhenAdding 0.025
testRegister 0.018
testUnregister 0.021
testUnregisterAndRegisterWhenEmpty 0.017
testUnregisterAndRegisterInComplexCase 0.019
TestUnregisterAndRegisterWhenUpdating 0.019
testUnregisterAndRegisterWhenAddingFromMultipleSources 0.021
testUnregisterAndRegisterWhenRemoving 0.02

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange 3.122
testAppDescriptorOnStart 0.013

DefaultLocationTest

testExtractParameter 0.001
testDefaultLocationDecodeFragmentFromFragment 0.001
testExtractAppName 0
testExtractAppType 0
testToString 0.001
testEqualsReturnsFalseOnIncompatibleType 0
testDefaultLocationDecodeFragment 0
testDefaultLocationFromFragment 0
testEqualsReturnsFalseOnNull 0.001
testDefaultLocationFromNullFragmentThrowsException 0
testExtractSubAppId 0

LocationControllerTest

testGoToWithoutWarning 0.02
testGoToWithCancelledWarning 0.008
testGoToSameLocationDoesNothing 0
testGoToWithConfirmedWarning 0

LocationHistoryHandlerTest

testCallsLocationControllerOnFragmentChange 0.006
testGoesToDefaultLocationWhenFragmentIsNull 0.001
testGoesToDefaultLocationWhenFragmentIsEmpty 0
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentHasUnknownPrefix 0.001
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentNull 0.001
testGoesToDefaultLocationWhenFragmentHasUnknownPrefix 0
testUpdatesFragmentOnLocationChange 0.001
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentEmpty 0.001
testHandleCurrentHistoryNavigatesToDefaultLocation 0
testSetsFragmentToEmptyOnLocationChangeWhenMapperDoesntRecognizeTheLocation 0