Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.039
info.magnolia.ui.api.location 25 0 0 0 100% 0.033
info.magnolia.ui.api.app.registry 13 0 0 0 100% 3.211
info.magnolia.ui.api.app.launcherlayout 15 0 0 0 100% 0.401
info.magnolia.ui.api.action 12 0 0 0 100% 1.465

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.024
AppLifecycleEventTest 4 0 0 0 100% 0.015

info.magnolia.ui.api.location

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

info.magnolia.ui.api.app.registry

Class Tests Errors Failures Skipped Success Rate Time
AppDescriptorRegistryTest 11 0 0 0 100% 0.144
ConfiguredAppDescriptorManagerTest 2 0 0 0 100% 3.067

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.003
AppLayoutManagerImplTest 9 0 0 0 100% 0.397

info.magnolia.ui.api.action

Class Tests Errors Failures Skipped Success Rate Time
AbstractActionExecutorTest 5 0 0 0 100% 1.275
ActionDefinitionKeyGeneratorTest 7 0 0 0 100% 0.19

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

testCreatesAndExecutesAction 1.064
testThrowsExceptionWhenActionThrowsRuntimeException 0.056
testThrowsExceptionWhenActionThrowsActionExecutionException 0.056
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass 0.051
testCreateActionThrowsExceptionWhenActionDefinitionMissing 0.048

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing 0.118
unknownI18nAbleParentPrependAncestorGeneratedKey 0.009
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName 0.008
keyGeneratedFromAppDescriptorIsCompliant 0.025
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId 0.01
keysForActionInChooseDialog 0.016
colonInIdIsReplacedByDot 0.004

AppDescriptorKeyGeneratorTest

keysForIcon 0.023
keysForLabel 0.001

AppLifecycleEventTest

testDispatchCallsOnAppStarted 0.014
testDispatchCallsOnAppStopped 0.001
testDispatchCallsOnAppFocused 0
testDispatchCallsNothingOnNullEvent 0

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel 0.001

AppLauncherLayoutTest

testGetGroup 0.001
testGetGroupEntry 0.001
testGetAppDescriptor 0
testContainsApp 0.001
testGetGroups 0

AppLayoutManagerImplTest

testGetAppLayout 0.055
testExcludesEmptyGroups 0.04
testExcludesAppWithoutIcon 0.05
testHidesAppsThatAreNotAccessibleForTheCurrentUser 0.043
testHidesEntriesThatAreNotEnabled 0.038
testIncludesAppsThatAreAccessibleForTheCurrentUser 0.034
testSendsLauncherLayoutChangedEvent 0.059
testExcludesAppWithoutLabel 0.047
testHidesAppsThatAreNotEnabled 0.031

AppDescriptorRegistryTest

testGetAppDescriptor 0.046
testGetAppDescriptors 0.01
testGetAppDescriptorThrowsExceptionWhenAppNotFound 0.009
testUnregisterAndRegisterWhenAdding 0.011
testRegister 0.009
testUnregister 0.01
testUnregisterAndRegisterWhenEmpty 0.008
testUnregisterAndRegisterInComplexCase 0.01
TestUnregisterAndRegisterWhenUpdating 0.01
testUnregisterAndRegisterWhenAddingFromMultipleSources 0.011
testUnregisterAndRegisterWhenRemoving 0.01

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange 3.057
testAppDescriptorOnStart 0.01

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning 0.016
testGoToWithCancelledWarning 0.003
testGoToSameLocationDoesNothing 0
testGoToWithConfirmedWarning 0.001

LocationHistoryHandlerTest

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