Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.166
info.magnolia.ui.api.app.registry 13 0 0 2 84.615% 0.259
info.magnolia.ui.api.location 25 0 0 0 100% 0.162
info.magnolia.ui.api.action 13 0 0 0 100% 5.295
info.magnolia.ui.api.app.launcherlayout 18 0 0 0 100% 0.286

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.131
AppLifecycleEventTest 4 0 0 0 100% 0.035

info.magnolia.ui.api.app.registry

Class Tests Errors Failures Skipped Success Rate Time
AppDescriptorRegistryTest 11 0 0 0 100% 0.259
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.078
LocationControllerTest 4 0 0 0 100% 0.027
LocationHistoryHandlerTest 10 0 0 0 100% 0.057

info.magnolia.ui.api.action

Class Tests Errors Failures Skipped Success Rate Time
AbstractActionExecutorTest 5 0 0 0 100% 4.592
ActionDefinitionKeyGeneratorTest 8 0 0 0 100% 0.703

info.magnolia.ui.api.app.launcherlayout

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

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

testCreatesAndExecutesAction 3.927
testThrowsExceptionWhenActionThrowsRuntimeException 0.165
testThrowsExceptionWhenActionThrowsActionExecutionException 0.162
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass 0.182
testCreateActionThrowsExceptionWhenActionDefinitionMissing 0.156

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing 0.428
unknownI18nAbleParentPrependAncestorGeneratedKey 0.011
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName 0.031
keyGeneratedFromAppDescriptorIsCompliant 0.11
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId 0.022
keysForActionInChooseDialog 0.077
keysForActionInToolApps 0.022
colonInIdIsReplacedByDot 0.002

AppDescriptorKeyGeneratorTest

keysForIcon 0.131
keysForLabel 0

AppLifecycleEventTest

testDispatchCallsOnAppStarted 0.033
testDispatchCallsOnAppStopped 0.001
testDispatchCallsOnAppFocused 0.001
testDispatchCallsNothingOnNullEvent 0

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel 0.001

AppLauncherLayoutManagerImplTest

getLayoutForCurrentUserDoesNotIncludeInvalidAppDescriptors 0.221
getLayoutForUser 0.003
appInRestrictedGroupIsNotAddedAutomatically 0.008
appLauncherLayoutChangedEventHandler 0.019
hidesAppsThatAreNotAccessibleForTheCurrentUser 0.003
hidesEntriesThatAreNotEnabled 0.004
includesAppsThatAreAccessibleForTheCurrentUser 0.004
hideAppsThatAreNotEnabled 0.004
excludesEmptyGroups 0.003
excludeAppWithoutLabel 0.009
excludeAppWithoutIcon 0.004
appsNotAddedToAppLauncherDefinitionAreAddedToDefaultGroupExceptHiddenOne 0.002

AppLauncherLayoutTest

testGetGroup 0.001
testGetGroupEntry 0
testGetAppDescriptor 0
testContainsApp 0
testGetGroups 0

AppDescriptorRegistryTest

testGetAppDescriptor 0.072
testGetAppDescriptors 0.01
testGetAppDescriptorThrowsExceptionWhenAppNotFound 0.009
testUnregisterAndRegisterWhenAdding 0.05
testRegister 0.051
testUnregister 0.008
testUnregisterAndRegisterWhenEmpty 0.026
testUnregisterAndRegisterInComplexCase 0.009
TestUnregisterAndRegisterWhenUpdating 0.007
testUnregisterAndRegisterWhenAddingFromMultipleSources 0.008
testUnregisterAndRegisterWhenRemoving 0.009

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.009
testDefaultLocationDecodeFragmentFromFragment 0.001
testExtractAppName 0
testExtractAppType 0
testToString 0
testEqualsReturnsFalseOnIncompatibleType 0
testDefaultLocationDecodeFragment 0
testDefaultLocationFromFragment 0
testEqualsReturnsFalseOnNull 0.068
testDefaultLocationFromNullFragmentThrowsException 0
testExtractSubAppId 0

LocationControllerTest

testGoToWithoutWarning 0.021
testGoToWithCancelledWarning 0.004
testGoToSameLocationDoesNothing 0
testGoToWithConfirmedWarning 0.002

LocationHistoryHandlerTest

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

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.