Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.054
info.magnolia.ui.api.location 25 0 0 0 100% 0.066
info.magnolia.ui.api.app.registry 13 0 0 2 84.615% 0.141
info.magnolia.ui.api.app.launcherlayout 16 0 0 0 100% 0.617
info.magnolia.ui.api.action 12 0 0 0 100% 1.833

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.026
AppLifecycleEventTest 4 0 0 0 100% 0.028

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.032
LocationHistoryHandlerTest 10 0 0 0 100% 0.022

info.magnolia.ui.api.app.registry

Class Tests Errors Failures Skipped Success Rate Time
AppDescriptorRegistryTest 11 0 0 0 100% 0.141
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.001
AppLauncherLayoutManagerImplTest 10 0 0 0 100% 0.616
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% 1.603
ActionDefinitionKeyGeneratorTest 7 0 0 0 100% 0.23

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

testCreatesAndExecutesAction 1.315
testThrowsExceptionWhenActionThrowsRuntimeException 0.078
testThrowsExceptionWhenActionThrowsActionExecutionException 0.079
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass 0.066
testCreateActionThrowsExceptionWhenActionDefinitionMissing 0.065

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing 0.142
unknownI18nAbleParentPrependAncestorGeneratedKey 0.011
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName 0.009
keyGeneratedFromAppDescriptorIsCompliant 0.029
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId 0.011
keysForActionInChooseDialog 0.024
colonInIdIsReplacedByDot 0.004

AppDescriptorKeyGeneratorTest

keysForIcon 0.025
keysForLabel 0.001

AppLifecycleEventTest

testDispatchCallsOnAppStarted 0.026
testDispatchCallsOnAppStopped 0
testDispatchCallsOnAppFocused 0.001
testDispatchCallsNothingOnNullEvent 0.001

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel 0.001

AppLauncherLayoutManagerImplTest

testGetAppLayout 0.093
testExcludesEmptyGroups 0.045
getLayoutForCurrentUserDoesntIncludeInvalidAppDescriptors 0.053
testExcludesAppWithoutIcon 0.05
testHidesAppsThatAreNotAccessibleForTheCurrentUser 0.064
testHidesEntriesThatAreNotEnabled 0.066
testIncludesAppsThatAreAccessibleForTheCurrentUser 0.052
testSendsLauncherLayoutChangedEvent 0.074
testExcludesAppWithoutLabel 0.054
testHidesAppsThatAreNotEnabled 0.065

AppLauncherLayoutTest

testGetGroup 0
testGetGroupEntry 0
testGetAppDescriptor 0
testContainsApp 0
testGetGroups 0

AppDescriptorRegistryTest

testGetAppDescriptor 0.022
testGetAppDescriptors 0.01
testGetAppDescriptorThrowsExceptionWhenAppNotFound 0.022
testUnregisterAndRegisterWhenAdding 0.014
testRegister 0.015
testUnregister 0.009
testUnregisterAndRegisterWhenEmpty 0.011
testUnregisterAndRegisterInComplexCase 0.009
TestUnregisterAndRegisterWhenUpdating 0.01
testUnregisterAndRegisterWhenAddingFromMultipleSources 0.009
testUnregisterAndRegisterWhenRemoving 0.01

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

LocationControllerTest

testGoToWithoutWarning 0.028
testGoToWithCancelledWarning 0.003
testGoToSameLocationDoesNothing 0
testGoToWithConfirmedWarning 0.001

LocationHistoryHandlerTest

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