Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
71000100%9.641

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.071
info.magnolia.ui.api.location25000100%0.047
info.magnolia.ui.api.app.registry13000100%3.798
info.magnolia.ui.api.app.launcherlayout15000100%1.442
info.magnolia.ui.api.action12000100%4.283

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.048
AppLifecycleEventTest4000100%0.023

info.magnolia.ui.api.location

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultLocationTest11000100%0.003
LocationControllerTest4000100%0.028
LocationHistoryHandlerTest10000100%0.016

info.magnolia.ui.api.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.635
ConfiguredAppDescriptorManagerTest2000100%3.163

info.magnolia.ui.api.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLauncherGroupDefinitionKeyGeneratorTest1000100%0
AppLauncherLayoutTest5000100%0.048
AppLayoutManagerImplTest9000100%1.394

info.magnolia.ui.api.action

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractActionExecutorTest5000100%3.672
ActionDefinitionKeyGeneratorTest7000100%0.611

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

testCreatesAndExecutesAction2.934
testThrowsExceptionWhenActionThrowsRuntimeException0.237
testThrowsExceptionWhenActionThrowsActionExecutionException0.18
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass0.196
testCreateActionThrowsExceptionWhenActionDefinitionMissing0.125

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing0.386
unknownI18nAbleParentPrependAncestorGeneratedKey0.043
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName0.023
keyGeneratedFromAppDescriptorIsCompliant0.064
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId0.04
keysForActionInChooseDialog0.048
colonInIdIsReplacedByDot0.007

AppDescriptorKeyGeneratorTest

keysForIcon0.047
keysForLabel0.001

AppLifecycleEventTest

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

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel0

AppLauncherLayoutTest

testGetGroup0.001
testGetGroupEntry0.001
testGetAppDescriptor0.045
testContainsApp0
testGetGroups0.001

AppLayoutManagerImplTest

testGetAppLayout0.253
testExcludesEmptyGroups0.135
testExcludesAppWithoutIcon0.244
testHidesAppsThatAreNotAccessibleForTheCurrentUser0.138
testHidesEntriesThatAreNotEnabled0.116
testIncludesAppsThatAreAccessibleForTheCurrentUser0.108
testSendsLauncherLayoutChangedEvent0.123
testExcludesAppWithoutLabel0.143
testHidesAppsThatAreNotEnabled0.134

AppDescriptorRegistryTest

testGetAppDescriptor0.202
testGetAppDescriptors0.046
testGetAppDescriptorThrowsExceptionWhenAppNotFound0.03
testUnregisterAndRegisterWhenAdding0.03
testRegister0.058
testUnregister0.035
testUnregisterAndRegisterWhenEmpty0.025
testUnregisterAndRegisterInComplexCase0.065
TestUnregisterAndRegisterWhenUpdating0.035
testUnregisterAndRegisterWhenAddingFromMultipleSources0.053
testUnregisterAndRegisterWhenRemoving0.056

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange3.149
testAppDescriptorOnStart0.014

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning0.022
testGoToWithCancelledWarning0.005
testGoToSameLocationDoesNothing0
testGoToWithConfirmedWarning0.001

LocationHistoryHandlerTest

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