Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
72 0 0 2 97.222% 1.506

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.027
info.magnolia.ui.api.location 25 0 0 0 100% 0.026
info.magnolia.ui.api.app.registry 13 0 0 2 84.615% 0.066
info.magnolia.ui.api.app.launcherlayout 16 0 0 0 100% 0.321
info.magnolia.ui.api.action 12 0 0 0 100% 1.066

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.016
AppLifecycleEventTest 4 0 0 0 100% 0.011

info.magnolia.ui.api.location

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

info.magnolia.ui.api.app.registry

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

info.magnolia.ui.api.app.launcherlayout

Class Tests Errors Failures Skipped Success Rate Time
AppLauncherGroupDefinitionKeyGeneratorTest 1 0 0 0 100% 0
AppLauncherLayoutManagerImplTest 10 0 0 0 100% 0.321
AppLauncherLayoutTest 5 0 0 0 100% 0

info.magnolia.ui.api.action

Class Tests Errors Failures Skipped Success Rate Time
AbstractActionExecutorTest 5 0 0 0 100% 0.936
ActionDefinitionKeyGeneratorTest 7 0 0 0 100% 0.13

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

testCreatesAndExecutesAction 0.759
testThrowsExceptionWhenActionThrowsRuntimeException 0.044
testThrowsExceptionWhenActionThrowsActionExecutionException 0.05
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass 0.043
testCreateActionThrowsExceptionWhenActionDefinitionMissing 0.04

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing 0.082
unknownI18nAbleParentPrependAncestorGeneratedKey 0.007
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName 0.006
keyGeneratedFromAppDescriptorIsCompliant 0.015
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId 0.005
keysForActionInChooseDialog 0.012
colonInIdIsReplacedByDot 0.003

AppDescriptorKeyGeneratorTest

keysForIcon 0.015
keysForLabel 0.001

AppLifecycleEventTest

testDispatchCallsOnAppStarted 0.009
testDispatchCallsOnAppStopped 0.001
testDispatchCallsOnAppFocused 0
testDispatchCallsNothingOnNullEvent 0.001

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel 0

AppLauncherLayoutManagerImplTest

testGetAppLayout 0.049
testExcludesEmptyGroups 0.029
getLayoutForCurrentUserDoesntIncludeInvalidAppDescriptors 0.031
testExcludesAppWithoutIcon 0.043
testHidesAppsThatAreNotAccessibleForTheCurrentUser 0.029
testHidesEntriesThatAreNotEnabled 0.03
testIncludesAppsThatAreAccessibleForTheCurrentUser 0.033
testSendsLauncherLayoutChangedEvent 0.029
testExcludesAppWithoutLabel 0.024
testHidesAppsThatAreNotEnabled 0.024

AppLauncherLayoutTest

testGetGroup 0
testGetGroupEntry 0
testGetAppDescriptor 0
testContainsApp 0
testGetGroups 0

AppDescriptorRegistryTest

testGetAppDescriptor 0.014
testGetAppDescriptors 0.007
testGetAppDescriptorThrowsExceptionWhenAppNotFound 0.005
testUnregisterAndRegisterWhenAdding 0.004
testRegister 0.006
testUnregister 0.005
testUnregisterAndRegisterWhenEmpty 0.005
testUnregisterAndRegisterInComplexCase 0.005
TestUnregisterAndRegisterWhenUpdating 0.004
testUnregisterAndRegisterWhenAddingFromMultipleSources 0.005
testUnregisterAndRegisterWhenRemoving 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.

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning 0.009
testGoToWithCancelledWarning 0.001
testGoToSameLocationDoesNothing 0
testGoToWithConfirmedWarning 0.001

LocationHistoryHandlerTest

testCallsLocationControllerOnFragmentChange 0.005
testGoesToDefaultLocationWhenFragmentIsNull 0.001
testGoesToDefaultLocationWhenFragmentIsEmpty 0
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentHasUnknownPrefix 0.001
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentNull 0
testGoesToDefaultLocationWhenFragmentHasUnknownPrefix 0.001
testUpdatesFragmentOnLocationChange 0
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentEmpty 0.001
testHandleCurrentHistoryNavigatesToDefaultLocation 0
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.