Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.037
info.magnolia.ui.api.location 25 0 0 0 100% 0.031
info.magnolia.ui.api.app.registry 13 0 0 0 100% 3.287
info.magnolia.ui.api.app.launcherlayout 15 0 0 0 100% 0.33
info.magnolia.ui.api.action 12 0 0 0 100% 1.396

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.023
AppLifecycleEventTest 4 0 0 0 100% 0.014

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.017
LocationHistoryHandlerTest 10 0 0 0 100% 0.008

info.magnolia.ui.api.app.registry

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

info.magnolia.ui.api.app.launcherlayout

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

info.magnolia.ui.api.action

Class Tests Errors Failures Skipped Success Rate Time
AbstractActionExecutorTest 5 0 0 0 100% 1.205
ActionDefinitionKeyGeneratorTest 7 0 0 0 100% 0.191

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

testCreatesAndExecutesAction 1.022
testThrowsExceptionWhenActionThrowsRuntimeException 0.051
testThrowsExceptionWhenActionThrowsActionExecutionException 0.046
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass 0.045
testCreateActionThrowsExceptionWhenActionDefinitionMissing 0.041

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing 0.129
unknownI18nAbleParentPrependAncestorGeneratedKey 0.008
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName 0.006
keyGeneratedFromAppDescriptorIsCompliant 0.026
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId 0.006
keysForActionInChooseDialog 0.013
colonInIdIsReplacedByDot 0.003

AppDescriptorKeyGeneratorTest

keysForIcon 0.022
keysForLabel 0.001

AppLifecycleEventTest

testDispatchCallsOnAppStarted 0.013
testDispatchCallsOnAppStopped 0
testDispatchCallsOnAppFocused 0.001
testDispatchCallsNothingOnNullEvent 0

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel 0.001

AppLauncherLayoutTest

testGetGroup 0
testGetGroupEntry 0.001
testGetAppDescriptor 0
testContainsApp 0.001
testGetGroups 0

AppLayoutManagerImplTest

testGetAppLayout 0.06
testExcludesEmptyGroups 0.035
testExcludesAppWithoutIcon 0.037
testHidesAppsThatAreNotAccessibleForTheCurrentUser 0.036
testHidesEntriesThatAreNotEnabled 0.033
testIncludesAppsThatAreAccessibleForTheCurrentUser 0.031
testSendsLauncherLayoutChangedEvent 0.04
testExcludesAppWithoutLabel 0.029
testHidesAppsThatAreNotEnabled 0.026

AppDescriptorRegistryTest

testGetAppDescriptor 0.051
testGetAppDescriptors 0.009
testGetAppDescriptorThrowsExceptionWhenAppNotFound 0.008
testUnregisterAndRegisterWhenAdding 0.009
testRegister 0.007
testUnregister 0.008
testUnregisterAndRegisterWhenEmpty 0.008
testUnregisterAndRegisterInComplexCase 0.009
TestUnregisterAndRegisterWhenUpdating 0.008
testUnregisterAndRegisterWhenAddingFromMultipleSources 0.01
testUnregisterAndRegisterWhenRemoving 0.008

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange 3.141
testAppDescriptorOnStart 0.011

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning 0.013
testGoToWithCancelledWarning 0.003
testGoToSameLocationDoesNothing 0
testGoToWithConfirmedWarning 0.001

LocationHistoryHandlerTest

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