Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
71000100%4.5

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.025
info.magnolia.ui.api.location25000100%0.022
info.magnolia.ui.api.app.registry13000100%3.179
info.magnolia.ui.api.app.launcherlayout15000100%0.294
info.magnolia.ui.api.action12000100%0.98

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.01
AppLifecycleEventTest4000100%0.015

info.magnolia.ui.api.location

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultLocationTest11000100%0.001
LocationControllerTest4000100%0.014
LocationHistoryHandlerTest10000100%0.007

info.magnolia.ui.api.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.114
ConfiguredAppDescriptorManagerTest2000100%3.065

info.magnolia.ui.api.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLauncherGroupDefinitionKeyGeneratorTest1000100%0
AppLauncherLayoutTest5000100%0.001
AppLayoutManagerImplTest9000100%0.293

info.magnolia.ui.api.action

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractActionExecutorTest5000100%0.847
ActionDefinitionKeyGeneratorTest7000100%0.133

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

testCreatesAndExecutesAction0.686
testThrowsExceptionWhenActionThrowsRuntimeException0.049
testThrowsExceptionWhenActionThrowsActionExecutionException0.039
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass0.038
testCreateActionThrowsExceptionWhenActionDefinitionMissing0.035

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing0.083
unknownI18nAbleParentPrependAncestorGeneratedKey0.006
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName0.006
keyGeneratedFromAppDescriptorIsCompliant0.02
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId0.005
keysForActionInChooseDialog0.011
colonInIdIsReplacedByDot0.002

AppDescriptorKeyGeneratorTest

keysForIcon0.009
keysForLabel0.001

AppLifecycleEventTest

testDispatchCallsOnAppStarted0.013
testDispatchCallsOnAppStopped0.001
testDispatchCallsOnAppFocused0
testDispatchCallsNothingOnNullEvent0.001

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel0

AppLauncherLayoutTest

testGetGroup0
testGetGroupEntry0.001
testGetAppDescriptor0
testContainsApp0
testGetGroups0

AppLayoutManagerImplTest

testGetAppLayout0.05
testExcludesEmptyGroups0.032
testExcludesAppWithoutIcon0.034
testHidesAppsThatAreNotAccessibleForTheCurrentUser0.035
testHidesEntriesThatAreNotEnabled0.029
testIncludesAppsThatAreAccessibleForTheCurrentUser0.028
testSendsLauncherLayoutChangedEvent0.035
testExcludesAppWithoutLabel0.026
testHidesAppsThatAreNotEnabled0.024

AppDescriptorRegistryTest

testGetAppDescriptor0.041
testGetAppDescriptors0.007
testGetAppDescriptorThrowsExceptionWhenAppNotFound0.007
testUnregisterAndRegisterWhenAdding0.008
testRegister0.006
testUnregister0.006
testUnregisterAndRegisterWhenEmpty0.007
testUnregisterAndRegisterInComplexCase0.007
TestUnregisterAndRegisterWhenUpdating0.008
testUnregisterAndRegisterWhenAddingFromMultipleSources0.011
testUnregisterAndRegisterWhenRemoving0.006

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange3.055
testAppDescriptorOnStart0.01

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning0.01
testGoToWithCancelledWarning0.003
testGoToSameLocationDoesNothing0.001
testGoToWithConfirmedWarning0

LocationHistoryHandlerTest

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