Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.041
info.magnolia.ui.api.location 25 0 0 0 100% 0.06
info.magnolia.ui.api.app.registry 13 0 0 2 84.615% 0.153
info.magnolia.ui.api.app.launcherlayout 16 0 0 0 100% 0.65
info.magnolia.ui.api.action 12 0 0 0 100% 1.805

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.025
AppLifecycleEventTest 4 0 0 0 100% 0.016

info.magnolia.ui.api.location

Class Tests Errors Failures Skipped Success Rate Time
DefaultLocationTest 11 0 0 0 100% 0.012
LocationControllerTest 4 0 0 0 100% 0.029
LocationHistoryHandlerTest 10 0 0 0 100% 0.019

info.magnolia.ui.api.app.registry

Class Tests Errors Failures Skipped Success Rate Time
AppDescriptorRegistryTest 11 0 0 0 100% 0.153
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.649
AppLauncherLayoutTest 5 0 0 0 100% 0.001

info.magnolia.ui.api.action

Class Tests Errors Failures Skipped Success Rate Time
AbstractActionExecutorTest 5 0 0 0 100% 1.565
ActionDefinitionKeyGeneratorTest 7 0 0 0 100% 0.24

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

testCreatesAndExecutesAction 1.198
testThrowsExceptionWhenActionThrowsRuntimeException 0.113
testThrowsExceptionWhenActionThrowsActionExecutionException 0.11
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass 0.08
testCreateActionThrowsExceptionWhenActionDefinitionMissing 0.064

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing 0.136
unknownI18nAbleParentPrependAncestorGeneratedKey 0.019
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName 0.012
keyGeneratedFromAppDescriptorIsCompliant 0.038
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId 0.009
keysForActionInChooseDialog 0.022
colonInIdIsReplacedByDot 0.004

AppDescriptorKeyGeneratorTest

keysForIcon 0.025
keysForLabel 0

AppLifecycleEventTest

testDispatchCallsOnAppStarted 0.015
testDispatchCallsOnAppStopped 0.001
testDispatchCallsOnAppFocused 0
testDispatchCallsNothingOnNullEvent 0

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel 0

AppLauncherLayoutManagerImplTest

testGetAppLayout 0.08
testExcludesEmptyGroups 0.049
getLayoutForCurrentUserDoesntIncludeInvalidAppDescriptors 0.066
testExcludesAppWithoutIcon 0.06
testHidesAppsThatAreNotAccessibleForTheCurrentUser 0.072
testHidesEntriesThatAreNotEnabled 0.07
testIncludesAppsThatAreAccessibleForTheCurrentUser 0.064
testSendsLauncherLayoutChangedEvent 0.069
testExcludesAppWithoutLabel 0.062
testHidesAppsThatAreNotEnabled 0.057

AppLauncherLayoutTest

testGetGroup 0
testGetGroupEntry 0
testGetAppDescriptor 0
testContainsApp 0
testGetGroups 0.001

AppDescriptorRegistryTest

testGetAppDescriptor 0.025
testGetAppDescriptors 0.014
testGetAppDescriptorThrowsExceptionWhenAppNotFound 0.012
testUnregisterAndRegisterWhenAdding 0.013
testRegister 0.012
testUnregister 0.013
testUnregisterAndRegisterWhenEmpty 0.013
testUnregisterAndRegisterInComplexCase 0.013
TestUnregisterAndRegisterWhenUpdating 0.011
testUnregisterAndRegisterWhenAddingFromMultipleSources 0.012
testUnregisterAndRegisterWhenRemoving 0.015

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

LocationControllerTest

testGoToWithoutWarning 0.023
testGoToWithCancelledWarning 0.005
testGoToSameLocationDoesNothing 0
testGoToWithConfirmedWarning 0.001

LocationHistoryHandlerTest

testCallsLocationControllerOnFragmentChange 0.01
testGoesToDefaultLocationWhenFragmentIsNull 0.001
testGoesToDefaultLocationWhenFragmentIsEmpty 0.001
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentHasUnknownPrefix 0.001
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentNull 0.001
testGoesToDefaultLocationWhenFragmentHasUnknownPrefix 0.001
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.