Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
71 0 0 0 100% 9.354

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.067
info.magnolia.ui.api.location 25 0 0 0 100% 0.075
info.magnolia.ui.api.app.registry 13 0 0 0 100% 3.652
info.magnolia.ui.api.app.launcherlayout 15 0 0 0 100% 0.86
info.magnolia.ui.api.action 12 0 0 0 100% 4.7

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.031
AppLifecycleEventTest 4 0 0 0 100% 0.036

info.magnolia.ui.api.location

Class Tests Errors Failures Skipped Success Rate Time
DefaultLocationTest 11 0 0 0 100% 0.005
LocationControllerTest 4 0 0 0 100% 0.031
LocationHistoryHandlerTest 10 0 0 0 100% 0.039

info.magnolia.ui.api.app.registry

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

info.magnolia.ui.api.app.launcherlayout

Class Tests Errors Failures Skipped Success Rate Time
AppLauncherGroupDefinitionKeyGeneratorTest 1 0 0 0 100% 0.003
AppLauncherLayoutTest 5 0 0 0 100% 0.003
AppLayoutManagerImplTest 9 0 0 0 100% 0.854

info.magnolia.ui.api.action

Class Tests Errors Failures Skipped Success Rate Time
AbstractActionExecutorTest 5 0 0 0 100% 4.09
ActionDefinitionKeyGeneratorTest 7 0 0 0 100% 0.61

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

testCreatesAndExecutesAction 3.271
testThrowsExceptionWhenActionThrowsRuntimeException 0.169
testThrowsExceptionWhenActionThrowsActionExecutionException 0.246
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass 0.198
testCreateActionThrowsExceptionWhenActionDefinitionMissing 0.206

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing 0.407
unknownI18nAbleParentPrependAncestorGeneratedKey 0.063
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName 0.012
keyGeneratedFromAppDescriptorIsCompliant 0.053
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId 0.029
keysForActionInChooseDialog 0.04
colonInIdIsReplacedByDot 0.006

AppDescriptorKeyGeneratorTest

keysForIcon 0.031
keysForLabel 0

AppLifecycleEventTest

testDispatchCallsOnAppStarted 0.031
testDispatchCallsOnAppStopped 0
testDispatchCallsOnAppFocused 0
testDispatchCallsNothingOnNullEvent 0.005

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel 0.003

AppLauncherLayoutTest

testGetGroup 0.001
testGetGroupEntry 0
testGetAppDescriptor 0.001
testContainsApp 0
testGetGroups 0.001

AppLayoutManagerImplTest

testGetAppLayout 0.146
testExcludesEmptyGroups 0.087
testExcludesAppWithoutIcon 0.118
testHidesAppsThatAreNotAccessibleForTheCurrentUser 0.108
testHidesEntriesThatAreNotEnabled 0.096
testIncludesAppsThatAreAccessibleForTheCurrentUser 0.064
testSendsLauncherLayoutChangedEvent 0.081
testExcludesAppWithoutLabel 0.069
testHidesAppsThatAreNotEnabled 0.085

AppDescriptorRegistryTest

testGetAppDescriptor 0.108
testGetAppDescriptors 0.03
testGetAppDescriptorThrowsExceptionWhenAppNotFound 0.034
testUnregisterAndRegisterWhenAdding 0.047
testRegister 0.017
testUnregister 0.017
testUnregisterAndRegisterWhenEmpty 0.036
testUnregisterAndRegisterInComplexCase 0.017
TestUnregisterAndRegisterWhenUpdating 0.029
testUnregisterAndRegisterWhenAddingFromMultipleSources 0.033
testUnregisterAndRegisterWhenRemoving 0.044

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange 3.224
testAppDescriptorOnStart 0.016

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning 0.024
testGoToWithCancelledWarning 0.006
testGoToSameLocationDoesNothing 0
testGoToWithConfirmedWarning 0.001

LocationHistoryHandlerTest

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