Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
76 0 0 2 97.368% 3.203

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.134
info.magnolia.ui.api.app.registry 13 0 0 2 84.615% 0.848
info.magnolia.ui.api.app 7 0 0 0 100% 0.254
info.magnolia.ui.api.action 13 0 0 0 100% 1.781
info.magnolia.ui.api.app.launcherlayout 18 0 0 0 100% 0.186

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.008
LocationControllerTest 4 0 0 0 100% 0.022
LocationHistoryHandlerTest 10 0 0 0 100% 0.104

info.magnolia.ui.api.app.registry

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

info.magnolia.ui.api.app

Class Tests Errors Failures Skipped Success Rate Time
AppLifecycleEventTest 4 0 0 0 100% 0.037
AppInstanceControllerDefaultMethodTest 1 0 0 0 100% 0.003
AppDescriptorKeyGeneratorTest 2 0 0 0 100% 0.214

info.magnolia.ui.api.action

Class Tests Errors Failures Skipped Success Rate Time
ActionDefinitionKeyGeneratorTest 8 0 0 0 100% 0.313
AbstractActionExecutorTest 5 0 0 0 100% 1.468

info.magnolia.ui.api.app.launcherlayout

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

Test Cases

[Summary] [Package List] [Test Cases]

DefaultLocationTest

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

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel 0.007

AppLauncherLayoutManagerImplTest

getLayoutForCurrentUserDoesNotIncludeInvalidAppDescriptors 0.11
getLayoutForUser 0.007
appInRestrictedGroupIsNotAddedAutomatically 0.012
appLauncherLayoutChangedEventHandler 0.005
hidesAppsThatAreNotAccessibleForTheCurrentUser 0.005
hidesEntriesThatAreNotEnabled 0.005
includesAppsThatAreAccessibleForTheCurrentUser 0.003
hideAppsThatAreNotEnabled 0.002
excludesEmptyGroups 0.005
excludeAppWithoutLabel 0.014
excludeAppWithoutIcon 0.009
appsNotAddedToAppLauncherDefinitionAreAddedToDefaultGroupExceptHiddenOne 0.002

AppDescriptorRegistryTest

testGetAppDescriptor 0.743
testGetAppDescriptors 0.015
testGetAppDescriptorThrowsExceptionWhenAppNotFound 0.012
testUnregisterAndRegisterWhenAdding 0.017
testRegister 0.008
testUnregister 0.008
testUnregisterAndRegisterWhenEmpty 0.008
testUnregisterAndRegisterInComplexCase 0.007
TestUnregisterAndRegisterWhenUpdating 0.011
testUnregisterAndRegisterWhenAddingFromMultipleSources 0.01
testUnregisterAndRegisterWhenRemoving 0.009

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing 0.21
unknownI18nAbleParentPrependAncestorGeneratedKey 0.008
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName 0.011
keyGeneratedFromAppDescriptorIsCompliant 0.028
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId 0.014
keysForActionInChooseDialog 0.019
keysForActionInToolApps 0.017
colonInIdIsReplacedByDot 0.006

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.002
testGoToWithCancelledWarning 0.002
testGoToSameLocationDoesNothing 0.014
testGoToWithConfirmedWarning 0.004

AppLifecycleEventTest

testDispatchCallsOnAppStarted 0.034
testDispatchCallsOnAppStopped 0.001
testDispatchCallsOnAppFocused 0.001
testDispatchCallsNothingOnNullEvent 0.001

AbstractActionExecutorTest

testCreatesAndExecutesAction 0.993
testThrowsExceptionWhenActionThrowsRuntimeException 0.288
testThrowsExceptionWhenActionThrowsActionExecutionException 0
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass 0.055
testCreateActionThrowsExceptionWhenActionDefinitionMissing 0.132

LocationHistoryHandlerTest

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

AppInstanceControllerDefaultMethodTest

byDefaultNoAppIsHeaderApp 0.003

AppDescriptorKeyGeneratorTest

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