Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.registry 13 0 0 2 84.615% 0.252
info.magnolia.ui.api.location 25 0 0 0 100% 0.119
info.magnolia.ui.api.app 6 0 0 0 100% 0.045
info.magnolia.ui.api.action 13 0 0 0 100% 2.82
info.magnolia.ui.api.app.launcherlayout 18 0 0 0 100% 0.291

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

info.magnolia.ui.api.app.registry

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

info.magnolia.ui.api.location

Class Tests Errors Failures Skipped Success Rate Time
LocationHistoryHandlerTest 10 0 0 0 100% 0.108
LocationControllerTest 4 0 0 0 100% 0.006
DefaultLocationTest 11 0 0 0 100% 0.005

info.magnolia.ui.api.app

Class Tests Errors Failures Skipped Success Rate Time
AppDescriptorKeyGeneratorTest 2 0 0 0 100% 0.007
AppLifecycleEventTest 4 0 0 0 100% 0.038

info.magnolia.ui.api.action

Class Tests Errors Failures Skipped Success Rate Time
AbstractActionExecutorTest 5 0 0 0 100% 1.731
ActionDefinitionKeyGeneratorTest 8 0 0 0 100% 1.089

info.magnolia.ui.api.app.launcherlayout

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

Test Cases

[Summary] [Package List] [Test Cases]

AppLauncherLayoutTest

testGetGroup 0.001
testGetGroupEntry 0
testGetAppDescriptor 0
testContainsApp 0
testGetGroups 0

AbstractActionExecutorTest

testCreatesAndExecutesAction 1.267
testThrowsExceptionWhenActionThrowsRuntimeException 0.109
testThrowsExceptionWhenActionThrowsActionExecutionException 0.082
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass 0.123
testCreateActionThrowsExceptionWhenActionDefinitionMissing 0.15

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.

LocationHistoryHandlerTest

testCallsLocationControllerOnFragmentChange 0.057
testGoesToDefaultLocationWhenFragmentIsNull 0.033
testGoesToDefaultLocationWhenFragmentIsEmpty 0.002
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentHasUnknownPrefix 0.003
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentNull 0.005
testGoesToDefaultLocationWhenFragmentHasUnknownPrefix 0.002
testUpdatesFragmentOnLocationChange 0.005
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentEmpty 0.001
testHandleCurrentHistoryNavigatesToDefaultLocation 0
testSetsFragmentToEmptyOnLocationChangeWhenMapperDoesntRecognizeTheLocation 0

AppLauncherLayoutManagerImplTest

getLayoutForCurrentUserDoesNotIncludeInvalidAppDescriptors 0.209
getLayoutForUser 0.006
appInRestrictedGroupIsNotAddedAutomatically 0.011
appLauncherLayoutChangedEventHandler 0.005
hidesAppsThatAreNotAccessibleForTheCurrentUser 0.011
hidesEntriesThatAreNotEnabled 0.004
includesAppsThatAreAccessibleForTheCurrentUser 0.002
hideAppsThatAreNotEnabled 0.012
excludesEmptyGroups 0.006
excludeAppWithoutLabel 0.014
excludeAppWithoutIcon 0.003
appsNotAddedToAppLauncherDefinitionAreAddedToDefaultGroupExceptHiddenOne 0.007

LocationControllerTest

testGoToWithoutWarning 0.003
testGoToWithCancelledWarning 0.002
testGoToSameLocationDoesNothing 0
testGoToWithConfirmedWarning 0.001

DefaultLocationTest

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

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing 0.956
unknownI18nAbleParentPrependAncestorGeneratedKey 0.01
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName 0.014
keyGeneratedFromAppDescriptorIsCompliant 0.051
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId 0.01
keysForActionInChooseDialog 0.021
keysForActionInToolApps 0.023
colonInIdIsReplacedByDot 0.004

AppDescriptorRegistryTest

testGetAppDescriptor 0.016
testGetAppDescriptors 0.021
testGetAppDescriptorThrowsExceptionWhenAppNotFound 0.018
testUnregisterAndRegisterWhenAdding 0.032
testRegister 0.034
testUnregister 0.009
testUnregisterAndRegisterWhenEmpty 0.024
testUnregisterAndRegisterInComplexCase 0.018
TestUnregisterAndRegisterWhenUpdating 0.032
testUnregisterAndRegisterWhenAddingFromMultipleSources 0.025
testUnregisterAndRegisterWhenRemoving 0.023

AppDescriptorKeyGeneratorTest

keysForIcon 0.007
keysForLabel 0

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel 0

AppLifecycleEventTest

testDispatchCallsOnAppStarted 0.03
testDispatchCallsOnAppStopped 0.005
testDispatchCallsOnAppFocused 0.002
testDispatchCallsNothingOnNullEvent 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.