Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
71000100%5.161

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.024
info.magnolia.ui.api.location25000100%0.059
info.magnolia.ui.api.app.registry13000100%3.253
info.magnolia.ui.api.app.launcherlayout15000100%0.457
info.magnolia.ui.api.action12000100%1.368

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.014

info.magnolia.ui.api.location

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultLocationTest11000100%0.003
LocationControllerTest4000100%0.03
LocationHistoryHandlerTest10000100%0.026

info.magnolia.ui.api.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.17
ConfiguredAppDescriptorManagerTest2000100%3.083

info.magnolia.ui.api.app.launcherlayout

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

info.magnolia.ui.api.action

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractActionExecutorTest5000100%1.176
ActionDefinitionKeyGeneratorTest7000100%0.192

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

testCreatesAndExecutesAction0.949
testThrowsExceptionWhenActionThrowsRuntimeException0.057
testThrowsExceptionWhenActionThrowsActionExecutionException0.059
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass0.065
testCreateActionThrowsExceptionWhenActionDefinitionMissing0.046

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing0.123
unknownI18nAbleParentPrependAncestorGeneratedKey0.011
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName0.011
keyGeneratedFromAppDescriptorIsCompliant0.021
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId0.006
keysForActionInChooseDialog0.016
colonInIdIsReplacedByDot0.004

AppDescriptorKeyGeneratorTest

keysForIcon0.01
keysForLabel0

AppLifecycleEventTest

testDispatchCallsOnAppStarted0.012
testDispatchCallsOnAppStopped0.001
testDispatchCallsOnAppFocused0.001
testDispatchCallsNothingOnNullEvent0

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel0.001

AppLauncherLayoutTest

testGetGroup0.001
testGetGroupEntry0
testGetAppDescriptor0
testContainsApp0
testGetGroups0.001

AppLayoutManagerImplTest

testGetAppLayout0.064
testExcludesEmptyGroups0.037
testExcludesAppWithoutIcon0.059
testHidesAppsThatAreNotAccessibleForTheCurrentUser0.069
testHidesEntriesThatAreNotEnabled0.047
testIncludesAppsThatAreAccessibleForTheCurrentUser0.049
testSendsLauncherLayoutChangedEvent0.045
testExcludesAppWithoutLabel0.047
testHidesAppsThatAreNotEnabled0.037

AppDescriptorRegistryTest

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

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange3.072
testAppDescriptorOnStart0.011

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning0.023
testGoToWithCancelledWarning0.006
testGoToSameLocationDoesNothing0
testGoToWithConfirmedWarning0.001

LocationHistoryHandlerTest

testCallsLocationControllerOnFragmentChange0.01
testGoesToDefaultLocationWhenFragmentIsNull0.002
testGoesToDefaultLocationWhenFragmentIsEmpty0.003
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentHasUnknownPrefix0.005
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentNull0
testGoesToDefaultLocationWhenFragmentHasUnknownPrefix0
testUpdatesFragmentOnLocationChange0.002
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentEmpty0.001
testHandleCurrentHistoryNavigatesToDefaultLocation0.002
testSetsFragmentToEmptyOnLocationChangeWhenMapperDoesntRecognizeTheLocation0.001