Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
71000100%5.223

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
info.magnolia.ui.api.app6000100%0.038
info.magnolia.ui.api.location25000100%0.05
info.magnolia.ui.api.app.registry13000100%3.289
info.magnolia.ui.api.app.launcherlayout15000100%0.442
info.magnolia.ui.api.action12000100%1.404

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

info.magnolia.ui.api.app

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorKeyGeneratorTest2000100%0.015
AppLifecycleEventTest4000100%0.023

info.magnolia.ui.api.location

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultLocationTest11000100%0.004
LocationControllerTest4000100%0.022
LocationHistoryHandlerTest10000100%0.024

info.magnolia.ui.api.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.176
ConfiguredAppDescriptorManagerTest2000100%3.113

info.magnolia.ui.api.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLauncherGroupDefinitionKeyGeneratorTest1000100%0.001
AppLauncherLayoutTest5000100%0.002
AppLayoutManagerImplTest9000100%0.439

info.magnolia.ui.api.action

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractActionExecutorTest5000100%1.205
ActionDefinitionKeyGeneratorTest7000100%0.199

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

testCreatesAndExecutesAction0.966
testThrowsExceptionWhenActionThrowsRuntimeException0.066
testThrowsExceptionWhenActionThrowsActionExecutionException0.06
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass0.059
testCreateActionThrowsExceptionWhenActionDefinitionMissing0.054

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing0.133
unknownI18nAbleParentPrependAncestorGeneratedKey0.009
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName0.01
keyGeneratedFromAppDescriptorIsCompliant0.021
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId0.007
keysForActionInChooseDialog0.016
colonInIdIsReplacedByDot0.003

AppDescriptorKeyGeneratorTest

keysForIcon0.014
keysForLabel0.001

AppLifecycleEventTest

testDispatchCallsOnAppStarted0.02
testDispatchCallsOnAppStopped0.001
testDispatchCallsOnAppFocused0.001
testDispatchCallsNothingOnNullEvent0.001

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel0

AppLauncherLayoutTest

testGetGroup0.001
testGetGroupEntry0.001
testGetAppDescriptor0
testContainsApp0
testGetGroups0

AppLayoutManagerImplTest

testGetAppLayout0.074
testExcludesEmptyGroups0.047
testExcludesAppWithoutIcon0.052
testHidesAppsThatAreNotAccessibleForTheCurrentUser0.051
testHidesEntriesThatAreNotEnabled0.05
testIncludesAppsThatAreAccessibleForTheCurrentUser0.045
testSendsLauncherLayoutChangedEvent0.042
testExcludesAppWithoutLabel0.04
testHidesAppsThatAreNotEnabled0.038

AppDescriptorRegistryTest

testGetAppDescriptor0.06
testGetAppDescriptors0.012
testGetAppDescriptorThrowsExceptionWhenAppNotFound0.011
testUnregisterAndRegisterWhenAdding0.012
testRegister0.011
testUnregister0.01
testUnregisterAndRegisterWhenEmpty0.01
testUnregisterAndRegisterInComplexCase0.015
TestUnregisterAndRegisterWhenUpdating0.011
testUnregisterAndRegisterWhenAddingFromMultipleSources0.013
testUnregisterAndRegisterWhenRemoving0.011

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange3.096
testAppDescriptorOnStart0.017

DefaultLocationTest

testExtractParameter0.001
testDefaultLocationDecodeFragmentFromFragment0.001
testExtractAppName0
testExtractAppType0
testToString0.001
testEqualsReturnsFalseOnIncompatibleType0
testDefaultLocationDecodeFragment0
testDefaultLocationFromFragment0
testEqualsReturnsFalseOnNull0.001
testDefaultLocationFromNullFragmentThrowsException0
testExtractSubAppId0

LocationControllerTest

testGoToWithoutWarning0.017
testGoToWithCancelledWarning0.004
testGoToSameLocationDoesNothing0
testGoToWithConfirmedWarning0.001

LocationHistoryHandlerTest

testCallsLocationControllerOnFragmentChange0.008
testGoesToDefaultLocationWhenFragmentIsNull0.002
testGoesToDefaultLocationWhenFragmentIsEmpty0.001
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentHasUnknownPrefix0.002
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentNull0.002
testGoesToDefaultLocationWhenFragmentHasUnknownPrefix0.002
testUpdatesFragmentOnLocationChange0.002
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentEmpty0.002
testHandleCurrentHistoryNavigatesToDefaultLocation0.002
testSetsFragmentToEmptyOnLocationChangeWhenMapperDoesntRecognizeTheLocation0.001