Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
71000100%5.059

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.028
info.magnolia.ui.api.location25000100%0.035
info.magnolia.ui.api.app.registry13000100%3.215
info.magnolia.ui.api.app.launcherlayout15000100%0.41
info.magnolia.ui.api.action12000100%1.371

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

info.magnolia.ui.api.location

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultLocationTest11000100%0.003
LocationControllerTest4000100%0.02
LocationHistoryHandlerTest10000100%0.012

info.magnolia.ui.api.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.145
ConfiguredAppDescriptorManagerTest2000100%3.07

info.magnolia.ui.api.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLauncherGroupDefinitionKeyGeneratorTest1000100%0.001
AppLauncherLayoutTest5000100%0.005
AppLayoutManagerImplTest9000100%0.404

info.magnolia.ui.api.action

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractActionExecutorTest5000100%1.187
ActionDefinitionKeyGeneratorTest7000100%0.184

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

testCreatesAndExecutesAction0.964
testThrowsExceptionWhenActionThrowsRuntimeException0.076
testThrowsExceptionWhenActionThrowsActionExecutionException0.048
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass0.057
testCreateActionThrowsExceptionWhenActionDefinitionMissing0.042

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing0.113
unknownI18nAbleParentPrependAncestorGeneratedKey0.011
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName0.007
keyGeneratedFromAppDescriptorIsCompliant0.027
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId0.006
keysForActionInChooseDialog0.016
colonInIdIsReplacedByDot0.004

AppDescriptorKeyGeneratorTest

keysForIcon0.013
keysForLabel0

AppLifecycleEventTest

testDispatchCallsOnAppStarted0.013
testDispatchCallsOnAppStopped0.001
testDispatchCallsOnAppFocused0
testDispatchCallsNothingOnNullEvent0.001

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel0.001

AppLauncherLayoutTest

testGetGroup0.001
testGetGroupEntry0.001
testGetAppDescriptor0
testContainsApp0
testGetGroups0.003

AppLayoutManagerImplTest

testGetAppLayout0.058
testExcludesEmptyGroups0.038
testExcludesAppWithoutIcon0.047
testHidesAppsThatAreNotAccessibleForTheCurrentUser0.055
testHidesEntriesThatAreNotEnabled0.046
testIncludesAppsThatAreAccessibleForTheCurrentUser0.043
testSendsLauncherLayoutChangedEvent0.04
testExcludesAppWithoutLabel0.038
testHidesAppsThatAreNotEnabled0.039

AppDescriptorRegistryTest

testGetAppDescriptor0.054
testGetAppDescriptors0.008
testGetAppDescriptorThrowsExceptionWhenAppNotFound0.009
testUnregisterAndRegisterWhenAdding0.01
testRegister0.008
testUnregister0.008
testUnregisterAndRegisterWhenEmpty0.009
testUnregisterAndRegisterInComplexCase0.01
TestUnregisterAndRegisterWhenUpdating0.008
testUnregisterAndRegisterWhenAddingFromMultipleSources0.012
testUnregisterAndRegisterWhenRemoving0.009

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange3.061
testAppDescriptorOnStart0.009

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning0.016
testGoToWithCancelledWarning0.003
testGoToSameLocationDoesNothing0
testGoToWithConfirmedWarning0.001

LocationHistoryHandlerTest

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