Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
9300198.925%27.959

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.513
info.magnolia.ui.api.app6000100%0.028
info.magnolia.ui.api.location25000100%0.044
info.magnolia.ui.api.app.registry13000100%18.192
info.magnolia.ui.api.app.launcherlayout14000100%0.354
info.magnolia.ui.api.action20000100%1.828

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.919
IsDeletedRuleTest3000100%0.974
IsNotDeletedRuleTest300166.667%0.64
IsNotVersionedRuleTest3000100%0.98

info.magnolia.ui.api.app

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorKeyGeneratorTest2000100%0.012
AppLifecycleEventTest4000100%0.016

info.magnolia.ui.api.location

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultLocationTest11000100%0.005
LocationControllerTest4000100%0.019
LocationHistoryHandlerTest10000100%0.02

info.magnolia.ui.api.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.137
ConfiguredAppDescriptorManagerTest2000100%18.055

info.magnolia.ui.api.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLauncherLayoutTest5000100%0.002
AppLayoutManagerImplTest9000100%0.352

info.magnolia.ui.api.action

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractActionExecutorTest13000100%1.632
ActionDefinitionKeyGeneratorTest7000100%0.196

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

actionIsAvailableWhenNoNodeTypesAreConfigured0.979
testCreatesAndExecutesAction0.068
actionIsAvailableIfRootEnabledAndGivenNull0.058
testThrowsExceptionWhenActionThrowsRuntimeException0.058
testThrowsExceptionWhenActionThrowsActionExecutionException0.055
actionIsAvailableOnlyForTheConfiguredNodeTypes0.06
actionIsAvailableForMultipleItemsWhenExplicitlySet0.052
actionIsNotAvailableForMultipleItemsByDefault0.06
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass0.051
testCreateActionThrowsExceptionWhenActionDefinitionMissing0.049
actionIsAvailableIfPropertiesEnabledAndGivenProperty0.047
missingActionIsNotAvailable0.046
actionIsAvailableOnlyForTheConfiguredRoles0.049

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing0.138
unknownI18nAbleParentPrependAncestorGeneratedKey0.008
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName0.007
keyGeneratedFromAppDescriptorIsCompliant0.02
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId0.006
keysForActionInChooseDialog0.015
colonInIdIsReplacedByDot0.002

AppDescriptorKeyGeneratorTest

keysForIcon0.011
keysForLabel0.001

AppLifecycleEventTest

testDispatchCallsOnAppStarted0.014
testDispatchCallsOnAppStopped0.001
testDispatchCallsOnAppFocused0.001
testDispatchCallsNothingOnNullEvent0

AppLauncherLayoutTest

testGetGroup0.001
testGetGroupEntry0
testGetAppDescriptor0.001
testContainsApp0
testGetGroups0

AppLayoutManagerImplTest

testGetAppLayout0.058
testExcludesEmptyGroups0.038
testExcludesAppWithoutIcon0.039
testHidesAppsThatAreNotAccessibleForTheCurrentUser0.04
testHidesEntriesThatAreNotEnabled0.037
testIncludesAppsThatAreAccessibleForTheCurrentUser0.036
testSendsLauncherLayoutChangedEvent0.036
testExcludesAppWithoutLabel0.034
testHidesAppsThatAreNotEnabled0.034

AppDescriptorRegistryTest

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

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange18.043
testAppDescriptorOnStart0.012

HasVersionsRuleTest

testIsAvailableForNodeWithoutVersioning2.007
testIsAvailableForNullNode0.737
testIsAvailableForItemVersionOnlyOneVersion0.607
testIsAvailableForItemVersionTwoVersions0.646
testIsAvailableForItemNoVersion0.519
testIsAvailableForItemNoNode0.403

IsDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.344
testIsAvailableForItemThatIsMarkedAsDeleted0.321
testIsAvailableForItemThatIsNotDeleted0.309

IsNotDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.001
MGNLUI-2038: Ignore until the rule is fixed.
testIsAvailableForItemThatIsMarkedAsDeleted0.338
testIsAvailableForItemThatIsNotDeleted0.301

IsNotVersionedRuleTest

testWithNode0.293
testWithFrozenVersionNode0.341
testWithVersion0.346

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning0.014
testGoToWithCancelledWarning0.004
testGoToSameLocationDoesNothing0
testGoToWithConfirmedWarning0.001

LocationHistoryHandlerTest

testCallsLocationControllerOnFragmentChange0.008
testGoesToDefaultLocationWhenFragmentIsNull0.001
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.