Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
9300198.925%14.363

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.availability1500193.333%8.962
info.magnolia.ui.api.app6000100%0.025
info.magnolia.ui.api.location25000100%0.051
info.magnolia.ui.api.app.registry13000100%3.494
info.magnolia.ui.api.app.launcherlayout14000100%1
info.magnolia.ui.api.action20000100%0.831

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

info.magnolia.ui.api.availability

ClassTestsErrors FailuresSkippedSuccess RateTime
IsDeletedRuleTest3000100%1.412
HasVersionsRuleTest6000100%2.13
IsNotVersionedRuleTest3000100%1.899
IsNotDeletedRuleTest300166.667%3.521

info.magnolia.ui.api.app

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLifecycleEventTest4000100%0.014
AppDescriptorKeyGeneratorTest2000100%0.011

info.magnolia.ui.api.location

ClassTestsErrors FailuresSkippedSuccess RateTime
LocationHistoryHandlerTest10000100%0.026
DefaultLocationTest11000100%0.001
LocationControllerTest4000100%0.024

info.magnolia.ui.api.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
ConfiguredAppDescriptorManagerTest2000100%3.358
AppDescriptorRegistryTest11000100%0.136

info.magnolia.ui.api.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLayoutManagerImplTest9000100%0.994
AppLauncherLayoutTest5000100%0.006

info.magnolia.ui.api.action

ClassTestsErrors FailuresSkippedSuccess RateTime
ActionDefinitionKeyGeneratorTest7000100%0.167
AbstractActionExecutorTest13000100%0.664

Test Cases

[Summary] [Package List] [Test Cases]

AppLayoutManagerImplTest

testGetAppLayout0.613
testExcludesEmptyGroups0.05
testExcludesAppWithoutIcon0.048
testHidesAppsThatAreNotAccessibleForTheCurrentUser0.058
testHidesEntriesThatAreNotEnabled0.043
testIncludesAppsThatAreAccessibleForTheCurrentUser0.044
testSendsLauncherLayoutChangedEvent0.046
testExcludesAppWithoutLabel0.042
testHidesAppsThatAreNotEnabled0.05

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange3.337
testAppDescriptorOnStart0.021

IsDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.629
testIsAvailableForItemThatIsMarkedAsDeleted0.367
testIsAvailableForItemThatIsNotDeleted0.416

LocationHistoryHandlerTest

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

HasVersionsRuleTest

testIsAvailableForNodeWithoutVersioning0.522
testIsAvailableForNullNode0.276
testIsAvailableForItemVersionOnlyOneVersion0.375
testIsAvailableForItemVersionTwoVersions0.406
testIsAvailableForItemNoVersion0.275
testIsAvailableForItemNoNode0.276

IsNotVersionedRuleTest

testWithNode0.439
testWithFrozenVersionNode0.708
testWithVersion0.752

IsNotDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.004
MGNLUI-2038: Ignore until the rule is fixed.
testIsAvailableForItemThatIsMarkedAsDeleted2.781
testIsAvailableForItemThatIsNotDeleted0.736

AppLifecycleEventTest

testDispatchCallsOnAppStarted0.011
testDispatchCallsOnAppStopped0.001
testDispatchCallsOnAppFocused0.002
testDispatchCallsNothingOnNullEvent0

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing0.115
unknownI18nAbleParentPrependAncestorGeneratedKey0.006
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName0.006
keyGeneratedFromAppDescriptorIsCompliant0.018
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId0.006
keysForActionInChooseDialog0.014
colonInIdIsReplacedByDot0.002

AppLauncherLayoutTest

testGetGroup0.006
testGetGroupEntry0
testGetAppDescriptor0
testContainsApp0
testGetGroups0

DefaultLocationTest

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

AppDescriptorKeyGeneratorTest

keysForIcon0.01
keysForLabel0.001

AbstractActionExecutorTest

actionIsAvailableWhenNoNodeTypesAreConfigured0.207
testCreatesAndExecutesAction0.04
actionIsAvailableIfRootEnabledAndGivenNull0.037
testThrowsExceptionWhenActionThrowsRuntimeException0.039
testThrowsExceptionWhenActionThrowsActionExecutionException0.036
actionIsAvailableOnlyForTheConfiguredNodeTypes0.053
actionIsAvailableForMultipleItemsWhenExplicitlySet0.038
actionIsNotAvailableForMultipleItemsByDefault0.034
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass0.036
testCreateActionThrowsExceptionWhenActionDefinitionMissing0.035
actionIsAvailableIfPropertiesEnabledAndGivenProperty0.035
missingActionIsNotAvailable0.036
actionIsAvailableOnlyForTheConfiguredRoles0.038

AppDescriptorRegistryTest

testGetAppDescriptor0.011
testGetAppDescriptors0.016
testGetAppDescriptorThrowsExceptionWhenAppNotFound0.013
testUnregisterAndRegisterWhenAdding0.02
testRegister0.012
testUnregister0.011
testUnregisterAndRegisterWhenEmpty0.011
testUnregisterAndRegisterInComplexCase0.012
TestUnregisterAndRegisterWhenUpdating0.009
testUnregisterAndRegisterWhenAddingFromMultipleSources0.01
testUnregisterAndRegisterWhenRemoving0.011

LocationControllerTest

testGoToWithoutWarning0.017
testGoToWithCancelledWarning0.005
testGoToSameLocationDoesNothing0
testGoToWithConfirmedWarning0.002

Failure Details

[Summary] [Package List] [Test Cases]


testIsAvailableForItemThatIsDeleted
skipped: MGNLUI-2038: Ignore until the rule is fixed.