Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
9400198.936%13.131

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%7.652
info.magnolia.ui.api.app6000100%0.028
info.magnolia.ui.api.location25000100%0.043
info.magnolia.ui.api.app.registry13000100%3.214
info.magnolia.ui.api.app.launcherlayout15000100%0.365
info.magnolia.ui.api.action20000100%1.829

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

info.magnolia.ui.api.availability

ClassTestsErrors FailuresSkippedSuccess RateTime
HasVersionsRuleTest6000100%4.896
IsDeletedRuleTest3000100%1.096
IsNotDeletedRuleTest300166.667%0.658
IsNotVersionedRuleTest3000100%1.002

info.magnolia.ui.api.app

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorKeyGeneratorTest2000100%0.013
AppLifecycleEventTest4000100%0.015

info.magnolia.ui.api.location

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultLocationTest11000100%0.001
LocationControllerTest4000100%0.02
LocationHistoryHandlerTest10000100%0.022

info.magnolia.ui.api.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.134
ConfiguredAppDescriptorManagerTest2000100%3.08

info.magnolia.ui.api.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLauncherGroupDefinitionKeyGeneratorTest1000100%0.001
AppLauncherLayoutTest5000100%0.003
AppLayoutManagerImplTest9000100%0.361

info.magnolia.ui.api.action

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractActionExecutorTest13000100%1.633
ActionDefinitionKeyGeneratorTest7000100%0.196

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

actionIsAvailableWhenNoNodeTypesAreConfigured0.973
testCreatesAndExecutesAction0.068
actionIsAvailableIfRootEnabledAndGivenNull0.059
testThrowsExceptionWhenActionThrowsRuntimeException0.06
testThrowsExceptionWhenActionThrowsActionExecutionException0.055
actionIsAvailableOnlyForTheConfiguredNodeTypes0.061
actionIsAvailableForMultipleItemsWhenExplicitlySet0.054
actionIsNotAvailableForMultipleItemsByDefault0.063
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass0.053
testCreateActionThrowsExceptionWhenActionDefinitionMissing0.048
actionIsAvailableIfPropertiesEnabledAndGivenProperty0.046
missingActionIsNotAvailable0.045
actionIsAvailableOnlyForTheConfiguredRoles0.048

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing0.136
unknownI18nAbleParentPrependAncestorGeneratedKey0.008
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName0.007
keyGeneratedFromAppDescriptorIsCompliant0.02
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId0.007
keysForActionInChooseDialog0.015
colonInIdIsReplacedByDot0.003

AppDescriptorKeyGeneratorTest

keysForIcon0.012
keysForLabel0.001

AppLifecycleEventTest

testDispatchCallsOnAppStarted0.013
testDispatchCallsOnAppStopped0.001
testDispatchCallsOnAppFocused0.001
testDispatchCallsNothingOnNullEvent0

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel0

AppLauncherLayoutTest

testGetGroup0
testGetGroupEntry0
testGetAppDescriptor0
testContainsApp0
testGetGroups0

AppLayoutManagerImplTest

testGetAppLayout0.057
testExcludesEmptyGroups0.039
testExcludesAppWithoutIcon0.043
testHidesAppsThatAreNotAccessibleForTheCurrentUser0.04
testHidesEntriesThatAreNotEnabled0.037
testIncludesAppsThatAreAccessibleForTheCurrentUser0.038
testSendsLauncherLayoutChangedEvent0.037
testExcludesAppWithoutLabel0.035
testHidesAppsThatAreNotEnabled0.035

AppDescriptorRegistryTest

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

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange3.068
testAppDescriptorOnStart0.012

HasVersionsRuleTest

testIsAvailableForNodeWithoutVersioning2.083
testIsAvailableForNullNode0.733
testIsAvailableForItemVersionOnlyOneVersion0.631
testIsAvailableForItemVersionTwoVersions0.634
testIsAvailableForItemNoVersion0.42
testIsAvailableForItemNoNode0.395

IsDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.356
testIsAvailableForItemThatIsMarkedAsDeleted0.36
testIsAvailableForItemThatIsNotDeleted0.38

IsNotDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.002
MGNLUI-2038: Ignore until the rule is fixed.
testIsAvailableForItemThatIsMarkedAsDeleted0.323
testIsAvailableForItemThatIsNotDeleted0.333

IsNotVersionedRuleTest

testWithNode0.297
testWithFrozenVersionNode0.349
testWithVersion0.356

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning0.015
testGoToWithCancelledWarning0.004
testGoToSameLocationDoesNothing0
testGoToWithConfirmedWarning0.001

LocationHistoryHandlerTest

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

Failure Details

[Summary] [Package List] [Test Cases]


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