Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
77 0 0 2 97.403% 1.408

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.location 25 0 0 0 100% 0.027
info.magnolia.ui.api.app.registry 13 0 0 2 84.615% 0.481
info.magnolia.ui.api.app 7 0 0 0 100% 0.152
info.magnolia.ui.api.action 14 0 0 0 100% 0.672
info.magnolia.ui.api.app.launcherlayout 18 0 0 0 100% 0.076

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

info.magnolia.ui.api.location

Class Tests Errors Failures Skipped Success Rate Time
DefaultLocationTest 11 0 0 0 100% 0.001
LocationControllerTest 4 0 0 0 100% 0.003
LocationHistoryHandlerTest 10 0 0 0 100% 0.023

info.magnolia.ui.api.app.registry

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

info.magnolia.ui.api.app

Class Tests Errors Failures Skipped Success Rate Time
AppLifecycleEventTest 4 0 0 0 100% 0.002
AppInstanceControllerDefaultMethodTest 1 0 0 0 100% 0.001
AppDescriptorKeyGeneratorTest 2 0 0 0 100% 0.149

info.magnolia.ui.api.action

Class Tests Errors Failures Skipped Success Rate Time
ActionDefinitionKeyGeneratorTest 9 0 0 0 100% 0.12
AbstractActionExecutorTest 5 0 0 0 100% 0.552

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

Test Cases

[Summary] [Package List] [Test Cases]

DefaultLocationTest

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

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel 0

AppLauncherLayoutManagerImplTest

getLayoutForCurrentUserDoesNotIncludeInvalidAppDescriptors 0.047
getLayoutForUser 0.002
appInRestrictedGroupIsNotAddedAutomatically 0.002
appLauncherLayoutChangedEventHandler 0.003
hidesAppsThatAreNotAccessibleForTheCurrentUser 0.002
hidesEntriesThatAreNotEnabled 0.002
includesAppsThatAreAccessibleForTheCurrentUser 0.001
hideAppsThatAreNotEnabled 0.003
excludesEmptyGroups 0.001
excludeAppWithoutLabel 0.008
excludeAppWithoutIcon 0.002
appsNotAddedToAppLauncherDefinitionAreAddedToDefaultGroupExceptHiddenOne 0.002

AppDescriptorRegistryTest

testGetAppDescriptor 0.43
testGetAppDescriptors 0.006
testGetAppDescriptorThrowsExceptionWhenAppNotFound 0.005
testUnregisterAndRegisterWhenAdding 0.005
testRegister 0.005
testUnregister 0.005
testUnregisterAndRegisterWhenEmpty 0.004
testUnregisterAndRegisterInComplexCase 0.005
TestUnregisterAndRegisterWhenUpdating 0.005
testUnregisterAndRegisterWhenAddingFromMultipleSources 0.004
testUnregisterAndRegisterWhenRemoving 0.005

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing 0.07
unknownI18nAbleParentPrependAncestorGeneratedKey 0.004
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName 0.005
keyGeneratedFromAppDescriptorIsCompliant 0.012
usesCorrectGeneratorForCorrectAncestors 0.004
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId 0.004
keysForActionInChooseDialog 0.01
keysForActionInToolApps 0.008
colonInIdIsReplacedByDot 0.002

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.

AppLauncherLayoutTest

testGetGroup 0
testGetGroupEntry 0
testGetAppDescriptor 0
testContainsApp 0
testGetGroups 0

LocationControllerTest

testGoToWithoutWarning 0
testGoToWithCancelledWarning 0.002
testGoToSameLocationDoesNothing 0
testGoToWithConfirmedWarning 0.001

AppLifecycleEventTest

testDispatchCallsOnAppStarted 0.001
testDispatchCallsOnAppStopped 0.001
testDispatchCallsOnAppFocused 0
testDispatchCallsNothingOnNullEvent 0

AbstractActionExecutorTest

testCreatesAndExecutesAction 0.399
testThrowsExceptionWhenActionThrowsRuntimeException 0.053
testThrowsExceptionWhenActionThrowsActionExecutionException 0.017
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass 0.033
testCreateActionThrowsExceptionWhenActionDefinitionMissing 0.05

LocationHistoryHandlerTest

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

AppInstanceControllerDefaultMethodTest

byDefaultNoAppIsHeaderApp 0

AppDescriptorKeyGeneratorTest

keysForIcon 0.117
keysForLabel 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.