Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.079
info.magnolia.ui.api.location 25 0 0 0 100% 0.062
info.magnolia.ui.api.app.registry 13 0 0 0 100% 3.694
info.magnolia.ui.api.app.launcherlayout 15 0 0 0 100% 0.783
info.magnolia.ui.api.action 12 0 0 0 100% 3.21

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.055
AppLifecycleEventTest 4 0 0 0 100% 0.024

info.magnolia.ui.api.location

Class Tests Errors Failures Skipped Success Rate Time
DefaultLocationTest 11 0 0 0 100% 0.004
LocationControllerTest 4 0 0 0 100% 0.038
LocationHistoryHandlerTest 10 0 0 0 100% 0.02

info.magnolia.ui.api.app.registry

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

info.magnolia.ui.api.app.launcherlayout

Class Tests Errors Failures Skipped Success Rate Time
AppLauncherGroupDefinitionKeyGeneratorTest 1 0 0 0 100% 0.002
AppLauncherLayoutTest 5 0 0 0 100% 0.02
AppLayoutManagerImplTest 9 0 0 0 100% 0.761

info.magnolia.ui.api.action

Class Tests Errors Failures Skipped Success Rate Time
AbstractActionExecutorTest 5 0 0 0 100% 2.828
ActionDefinitionKeyGeneratorTest 7 0 0 0 100% 0.382

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

testCreatesAndExecutesAction 2.285
testThrowsExceptionWhenActionThrowsRuntimeException 0.185
testThrowsExceptionWhenActionThrowsActionExecutionException 0.125
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass 0.128
testCreateActionThrowsExceptionWhenActionDefinitionMissing 0.105

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing 0.259
unknownI18nAbleParentPrependAncestorGeneratedKey 0.023
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName 0.011
keyGeneratedFromAppDescriptorIsCompliant 0.043
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId 0.011
keysForActionInChooseDialog 0.029
colonInIdIsReplacedByDot 0.006

AppDescriptorKeyGeneratorTest

keysForIcon 0.054
keysForLabel 0.001

AppLifecycleEventTest

testDispatchCallsOnAppStarted 0.022
testDispatchCallsOnAppStopped 0.001
testDispatchCallsOnAppFocused 0.001
testDispatchCallsNothingOnNullEvent 0

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel 0.002

AppLauncherLayoutTest

testGetGroup 0.02
testGetGroupEntry 0
testGetAppDescriptor 0
testContainsApp 0
testGetGroups 0

AppLayoutManagerImplTest

testGetAppLayout 0.107
testExcludesEmptyGroups 0.064
testExcludesAppWithoutIcon 0.106
testHidesAppsThatAreNotAccessibleForTheCurrentUser 0.086
testHidesEntriesThatAreNotEnabled 0.09
testIncludesAppsThatAreAccessibleForTheCurrentUser 0.07
testSendsLauncherLayoutChangedEvent 0.093
testExcludesAppWithoutLabel 0.083
testHidesAppsThatAreNotEnabled 0.062

AppDescriptorRegistryTest

testGetAppDescriptor 0.08
testGetAppDescriptors 0.059
testGetAppDescriptorThrowsExceptionWhenAppNotFound 0.038
testUnregisterAndRegisterWhenAdding 0.038
testRegister 0.02
testUnregister 0.032
testUnregisterAndRegisterWhenEmpty 0.049
testUnregisterAndRegisterInComplexCase 0.056
TestUnregisterAndRegisterWhenUpdating 0.015
testUnregisterAndRegisterWhenAddingFromMultipleSources 0.033
testUnregisterAndRegisterWhenRemoving 0.024

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange 3.235
testAppDescriptorOnStart 0.015

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning 0.03
testGoToWithCancelledWarning 0.007
testGoToSameLocationDoesNothing 0
testGoToWithConfirmedWarning 0.001

LocationHistoryHandlerTest

testCallsLocationControllerOnFragmentChange 0.011
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