Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
9300198.925%13.395

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.843
info.magnolia.ui.api.app6000100%0.027
info.magnolia.ui.api.location25000100%0.043
info.magnolia.ui.api.app.registry13000100%3.226
info.magnolia.ui.api.app.launcherlayout14000100%0.368
info.magnolia.ui.api.action20000100%1.888

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%5.02
IsDeletedRuleTest3000100%1.018
IsNotDeletedRuleTest300166.667%0.677
IsNotVersionedRuleTest3000100%1.128

info.magnolia.ui.api.app

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorKeyGeneratorTest2000100%0.012
AppLifecycleEventTest4000100%0.015

info.magnolia.ui.api.location

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

info.magnolia.ui.api.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.14
ConfiguredAppDescriptorManagerTest2000100%3.086

info.magnolia.ui.api.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLauncherLayoutTest5000100%0.003
AppLayoutManagerImplTest9000100%0.365

info.magnolia.ui.api.action

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractActionExecutorTest13000100%1.687
ActionDefinitionKeyGeneratorTest7000100%0.201

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

actionIsAvailableWhenNoNodeTypesAreConfigured1.013
testCreatesAndExecutesAction0.068
actionIsAvailableIfRootEnabledAndGivenNull0.059
testThrowsExceptionWhenActionThrowsRuntimeException0.059
testThrowsExceptionWhenActionThrowsActionExecutionException0.056
actionIsAvailableOnlyForTheConfiguredNodeTypes0.061
actionIsAvailableForMultipleItemsWhenExplicitlySet0.053
actionIsNotAvailableForMultipleItemsByDefault0.067
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass0.053
testCreateActionThrowsExceptionWhenActionDefinitionMissing0.052
actionIsAvailableIfPropertiesEnabledAndGivenProperty0.048
missingActionIsNotAvailable0.048
actionIsAvailableOnlyForTheConfiguredRoles0.05

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing0.14
unknownI18nAbleParentPrependAncestorGeneratedKey0.008
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName0.007
keyGeneratedFromAppDescriptorIsCompliant0.02
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId0.007
keysForActionInChooseDialog0.016
colonInIdIsReplacedByDot0.003

AppDescriptorKeyGeneratorTest

keysForIcon0.012
keysForLabel0

AppLifecycleEventTest

testDispatchCallsOnAppStarted0.014
testDispatchCallsOnAppStopped0.001
testDispatchCallsOnAppFocused0
testDispatchCallsNothingOnNullEvent0

AppLauncherLayoutTest

testGetGroup0.001
testGetGroupEntry0
testGetAppDescriptor0.001
testContainsApp0
testGetGroups0.001

AppLayoutManagerImplTest

testGetAppLayout0.058
testExcludesEmptyGroups0.039
testExcludesAppWithoutIcon0.041
testHidesAppsThatAreNotAccessibleForTheCurrentUser0.038
testHidesEntriesThatAreNotEnabled0.042
testIncludesAppsThatAreAccessibleForTheCurrentUser0.038
testSendsLauncherLayoutChangedEvent0.038
testExcludesAppWithoutLabel0.035
testHidesAppsThatAreNotEnabled0.036

AppDescriptorRegistryTest

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

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange3.072
testAppDescriptorOnStart0.014

HasVersionsRuleTest

testIsAvailableForNodeWithoutVersioning2.113
testIsAvailableForNullNode0.722
testIsAvailableForItemVersionOnlyOneVersion0.649
testIsAvailableForItemVersionTwoVersions0.639
testIsAvailableForItemNoVersion0.515
testIsAvailableForItemNoNode0.382

IsDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.373
testIsAvailableForItemThatIsMarkedAsDeleted0.332
testIsAvailableForItemThatIsNotDeleted0.313

IsNotDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.001
MGNLUI-2038: Ignore until the rule is fixed.
testIsAvailableForItemThatIsMarkedAsDeleted0.325
testIsAvailableForItemThatIsNotDeleted0.351

IsNotVersionedRuleTest

testWithNode0.31
testWithFrozenVersionNode0.424
testWithVersion0.394

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning0.015
testGoToWithCancelledWarning0.004
testGoToSameLocationDoesNothing0
testGoToWithConfirmedWarning0.001

LocationHistoryHandlerTest

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

Failure Details

[Summary] [Package List] [Test Cases]


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