Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.229
info.magnolia.ui.api.app.registry 13 0 0 2 84.615% 0.214
info.magnolia.ui.api.location 25 0 0 0 100% 0.227
info.magnolia.ui.api.action 13 0 0 0 100% 5.48
info.magnolia.ui.api.app.launcherlayout 18 0 0 0 100% 0.389

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.108
AppLifecycleEventTest 4 0 0 0 100% 0.121

info.magnolia.ui.api.app.registry

Class Tests Errors Failures Skipped Success Rate Time
AppDescriptorRegistryTest 11 0 0 0 100% 0.214
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.04
LocationControllerTest 4 0 0 0 100% 0.151
LocationHistoryHandlerTest 10 0 0 0 100% 0.036

info.magnolia.ui.api.action

Class Tests Errors Failures Skipped Success Rate Time
AbstractActionExecutorTest 5 0 0 0 100% 4.744
ActionDefinitionKeyGeneratorTest 8 0 0 0 100% 0.736

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.387
AppLauncherLayoutTest 5 0 0 0 100% 0.001

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

testCreatesAndExecutesAction 4.178
testThrowsExceptionWhenActionThrowsRuntimeException 0.138
testThrowsExceptionWhenActionThrowsActionExecutionException 0.182
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass 0.121
testCreateActionThrowsExceptionWhenActionDefinitionMissing 0.125

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing 0.45
unknownI18nAbleParentPrependAncestorGeneratedKey 0.014
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName 0.012
keyGeneratedFromAppDescriptorIsCompliant 0.067
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId 0.037
keysForActionInChooseDialog 0.114
keysForActionInToolApps 0.039
colonInIdIsReplacedByDot 0.003

AppDescriptorKeyGeneratorTest

keysForIcon 0.108
keysForLabel 0

AppLifecycleEventTest

testDispatchCallsOnAppStarted 0.116
testDispatchCallsOnAppStopped 0.001
testDispatchCallsOnAppFocused 0.003
testDispatchCallsNothingOnNullEvent 0.001

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel 0.001

AppLauncherLayoutManagerImplTest

getLayoutForCurrentUserDoesNotIncludeInvalidAppDescriptors 0.242
getLayoutForUser 0.003
appInRestrictedGroupIsNotAddedAutomatically 0.012
appLauncherLayoutChangedEventHandler 0.009
hidesAppsThatAreNotAccessibleForTheCurrentUser 0.071
hidesEntriesThatAreNotEnabled 0.004
includesAppsThatAreAccessibleForTheCurrentUser 0.004
hideAppsThatAreNotEnabled 0.022
excludesEmptyGroups 0.005
excludeAppWithoutLabel 0.008
excludeAppWithoutIcon 0.005
appsNotAddedToAppLauncherDefinitionAreAddedToDefaultGroupExceptHiddenOne 0.002

AppLauncherLayoutTest

testGetGroup 0.001
testGetGroupEntry 0
testGetAppDescriptor 0
testContainsApp 0
testGetGroups 0

AppDescriptorRegistryTest

testGetAppDescriptor 0.035
testGetAppDescriptors 0.044
testGetAppDescriptorThrowsExceptionWhenAppNotFound 0.016
testUnregisterAndRegisterWhenAdding 0.024
testRegister 0.016
testUnregister 0.01
testUnregisterAndRegisterWhenEmpty 0.011
testUnregisterAndRegisterInComplexCase 0.016
TestUnregisterAndRegisterWhenUpdating 0.012
testUnregisterAndRegisterWhenAddingFromMultipleSources 0.009
testUnregisterAndRegisterWhenRemoving 0.021

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.026
testDefaultLocationDecodeFragmentFromFragment 0.002
testExtractAppName 0
testExtractAppType 0.001
testToString 0.005
testEqualsReturnsFalseOnIncompatibleType 0
testDefaultLocationDecodeFragment 0
testDefaultLocationFromFragment 0.003
testEqualsReturnsFalseOnNull 0.001
testDefaultLocationFromNullFragmentThrowsException 0.001
testExtractSubAppId 0.001

LocationControllerTest

testGoToWithoutWarning 0.138
testGoToWithCancelledWarning 0.008
testGoToSameLocationDoesNothing 0.003
testGoToWithConfirmedWarning 0.002

LocationHistoryHandlerTest

testCallsLocationControllerOnFragmentChange 0.022
testGoesToDefaultLocationWhenFragmentIsNull 0.001
testGoesToDefaultLocationWhenFragmentIsEmpty 0.001
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentHasUnknownPrefix 0.004
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentNull 0.002
testGoesToDefaultLocationWhenFragmentHasUnknownPrefix 0.002
testUpdatesFragmentOnLocationChange 0.001
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentEmpty 0.001
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.