Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
75 0 0 2 97.333% 1.761

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.022
info.magnolia.ui.api.app.registry 13 0 0 2 84.615% 0.077
info.magnolia.ui.api.location 25 0 0 0 100% 0.038
info.magnolia.ui.api.action 13 0 0 0 100% 1.51
info.magnolia.ui.api.app.launcherlayout 18 0 0 0 100% 0.114

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.01
AppLifecycleEventTest 4 0 0 0 100% 0.012

info.magnolia.ui.api.app.registry

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

info.magnolia.ui.api.location

Class Tests Errors Failures Skipped Success Rate Time
DefaultLocationTest 11 0 0 0 100% 0.008
LocationControllerTest 4 0 0 0 100% 0.015
LocationHistoryHandlerTest 10 0 0 0 100% 0.015

info.magnolia.ui.api.action

Class Tests Errors Failures Skipped Success Rate Time
AbstractActionExecutorTest 5 0 0 0 100% 1.349
ActionDefinitionKeyGeneratorTest 8 0 0 0 100% 0.161

info.magnolia.ui.api.app.launcherlayout

Class Tests Errors Failures Skipped Success Rate Time
AppLauncherGroupDefinitionKeyGeneratorTest 1 0 0 0 100% 0
AppLauncherLayoutManagerImplTest 12 0 0 0 100% 0.114
AppLauncherLayoutTest 5 0 0 0 100% 0

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

testCreatesAndExecutesAction 1.176
testThrowsExceptionWhenActionThrowsRuntimeException 0.045
testThrowsExceptionWhenActionThrowsActionExecutionException 0.048
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass 0.041
testCreateActionThrowsExceptionWhenActionDefinitionMissing 0.039

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing 0.099
unknownI18nAbleParentPrependAncestorGeneratedKey 0.007
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName 0.006
keyGeneratedFromAppDescriptorIsCompliant 0.017
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId 0.005
keysForActionInChooseDialog 0.012
keysForActionInToolApps 0.013
colonInIdIsReplacedByDot 0.002

AppDescriptorKeyGeneratorTest

keysForIcon 0.01
keysForLabel 0

AppLifecycleEventTest

testDispatchCallsOnAppStarted 0.011
testDispatchCallsOnAppStopped 0
testDispatchCallsOnAppFocused 0.001
testDispatchCallsNothingOnNullEvent 0

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel 0

AppLauncherLayoutManagerImplTest

getLayoutForCurrentUserDoesNotIncludeInvalidAppDescriptors 0.08
getLayoutForUser 0.002
appInRestrictedGroupIsNotAddedAutomatically 0.007
appLauncherLayoutChangedEventHandler 0.004
hidesAppsThatAreNotAccessibleForTheCurrentUser 0.002
hidesEntriesThatAreNotEnabled 0.003
includesAppsThatAreAccessibleForTheCurrentUser 0.002
hideAppsThatAreNotEnabled 0.002
excludesEmptyGroups 0.002
excludeAppWithoutLabel 0.005
excludeAppWithoutIcon 0.003
appsNotAddedToAppLauncherDefinitionAreAddedToDefaultGroupExceptHiddenOne 0.002

AppLauncherLayoutTest

testGetGroup 0
testGetGroupEntry 0
testGetAppDescriptor 0
testContainsApp 0
testGetGroups 0

AppDescriptorRegistryTest

testGetAppDescriptor 0.015
testGetAppDescriptors 0.008
testGetAppDescriptorThrowsExceptionWhenAppNotFound 0.007
testUnregisterAndRegisterWhenAdding 0.007
testRegister 0.006
testUnregister 0.006
testUnregisterAndRegisterWhenEmpty 0.005
testUnregisterAndRegisterInComplexCase 0.007
TestUnregisterAndRegisterWhenUpdating 0.006
testUnregisterAndRegisterWhenAddingFromMultipleSources 0.005
testUnregisterAndRegisterWhenRemoving 0.005

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange 0
ConfiguredAppDescriptorManager is deprecated. It will be revived to provide backwards compatibility, but should not be used anymore.
testAppDescriptorOnStart 0
ConfiguredAppDescriptorManager is deprecated. It will be revived to provide backwards compatibility, but should not be used anymore.

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning 0.01
testGoToWithCancelledWarning 0.003
testGoToSameLocationDoesNothing 0.001
testGoToWithConfirmedWarning 0.001

LocationHistoryHandlerTest

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

Failure Details

[Summary] [Package List] [Test Cases]


testAppDescriptorReloadsOnChange
skipped: ConfiguredAppDescriptorManager is deprecated. It will be revived to provide backwards compatibility, but should not be used anymore.
testAppDescriptorOnStart
skipped: ConfiguredAppDescriptorManager is deprecated. It will be revived to provide backwards compatibility, but should not be used anymore.