Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
9300198.925%17.733

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%10.577
info.magnolia.ui.api.app6000100%0.045
info.magnolia.ui.api.location25000100%0.084
info.magnolia.ui.api.app.registry13000100%3.254
info.magnolia.ui.api.app.launcherlayout14000100%0.536
info.magnolia.ui.api.action20000100%3.237

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%7.105
IsDeletedRuleTest3000100%1.158
IsNotDeletedRuleTest300166.667%0.942
IsNotVersionedRuleTest3000100%1.372

info.magnolia.ui.api.app

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorKeyGeneratorTest2000100%0.021
AppLifecycleEventTest4000100%0.024

info.magnolia.ui.api.location

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultLocationTest11000100%0.002
LocationControllerTest4000100%0.041
LocationHistoryHandlerTest10000100%0.041

info.magnolia.ui.api.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.177
ConfiguredAppDescriptorManagerTest2000100%3.077

info.magnolia.ui.api.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLauncherLayoutTest5000100%0.004
AppLayoutManagerImplTest9000100%0.532

info.magnolia.ui.api.action

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractActionExecutorTest13000100%2.962
ActionDefinitionKeyGeneratorTest7000100%0.275

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

actionIsAvailableWhenNoNodeTypesAreConfigured1.799
testCreatesAndExecutesAction0.123
actionIsAvailableIfRootEnabledAndGivenNull0.13
testThrowsExceptionWhenActionThrowsRuntimeException0.113
testThrowsExceptionWhenActionThrowsActionExecutionException0.089
actionIsAvailableOnlyForTheConfiguredNodeTypes0.101
actionIsAvailableForMultipleItemsWhenExplicitlySet0.085
actionIsNotAvailableForMultipleItemsByDefault0.152
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass0.115
testCreateActionThrowsExceptionWhenActionDefinitionMissing0.06
actionIsAvailableIfPropertiesEnabledAndGivenProperty0.056
missingActionIsNotAvailable0.062
actionIsAvailableOnlyForTheConfiguredRoles0.077

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing0.185
unknownI18nAbleParentPrependAncestorGeneratedKey0.014
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName0.01
keyGeneratedFromAppDescriptorIsCompliant0.026
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId0.009
keysForActionInChooseDialog0.028
colonInIdIsReplacedByDot0.003

AppDescriptorKeyGeneratorTest

keysForIcon0.02
keysForLabel0.001

AppLifecycleEventTest

testDispatchCallsOnAppStarted0.022
testDispatchCallsOnAppStopped0.001
testDispatchCallsOnAppFocused0.001
testDispatchCallsNothingOnNullEvent0

AppLauncherLayoutTest

testGetGroup0.002
testGetGroupEntry0.001
testGetAppDescriptor0
testContainsApp0.001
testGetGroups0

AppLayoutManagerImplTest

testGetAppLayout0.084
testExcludesEmptyGroups0.086
testExcludesAppWithoutIcon0.059
testHidesAppsThatAreNotAccessibleForTheCurrentUser0.055
testHidesEntriesThatAreNotEnabled0.045
testIncludesAppsThatAreAccessibleForTheCurrentUser0.063
testSendsLauncherLayoutChangedEvent0.052
testExcludesAppWithoutLabel0.044
testHidesAppsThatAreNotEnabled0.044

AppDescriptorRegistryTest

testGetAppDescriptor0.032
testGetAppDescriptors0.011
testGetAppDescriptorThrowsExceptionWhenAppNotFound0.012
testUnregisterAndRegisterWhenAdding0.011
testRegister0.014
testUnregister0.009
testUnregisterAndRegisterWhenEmpty0.013
testUnregisterAndRegisterInComplexCase0.014
TestUnregisterAndRegisterWhenUpdating0.01
testUnregisterAndRegisterWhenAddingFromMultipleSources0.037
testUnregisterAndRegisterWhenRemoving0.014

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange3.065
testAppDescriptorOnStart0.012

HasVersionsRuleTest

testIsAvailableForNodeWithoutVersioning2.641
testIsAvailableForNullNode1.475
testIsAvailableForItemVersionOnlyOneVersion0.898
testIsAvailableForItemVersionTwoVersions0.966
testIsAvailableForItemNoVersion0.626
testIsAvailableForItemNoNode0.499

IsDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.365
testIsAvailableForItemThatIsMarkedAsDeleted0.395
testIsAvailableForItemThatIsNotDeleted0.398

IsNotDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.004
MGNLUI-2038: Ignore until the rule is fixed.
testIsAvailableForItemThatIsMarkedAsDeleted0.465
testIsAvailableForItemThatIsNotDeleted0.473

IsNotVersionedRuleTest

testWithNode0.463
testWithFrozenVersionNode0.429
testWithVersion0.48

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning0.029
testGoToWithCancelledWarning0.005
testGoToSameLocationDoesNothing0
testGoToWithConfirmedWarning0.007

LocationHistoryHandlerTest

testCallsLocationControllerOnFragmentChange0.01
testGoesToDefaultLocationWhenFragmentIsNull0.002
testGoesToDefaultLocationWhenFragmentIsEmpty0.007
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentHasUnknownPrefix0.015
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentNull0.002
testGoesToDefaultLocationWhenFragmentHasUnknownPrefix0.001
testUpdatesFragmentOnLocationChange0.001
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentEmpty0.001
testHandleCurrentHistoryNavigatesToDefaultLocation0.001
testSetsFragmentToEmptyOnLocationChangeWhenMapperDoesntRecognizeTheLocation0.001

Failure Details

[Summary] [Package List] [Test Cases]


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