Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
9300198.925%27.797

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.357
info.magnolia.ui.api.app6000100%0.028
info.magnolia.ui.api.location25000100%0.044
info.magnolia.ui.api.app.registry13000100%18.189
info.magnolia.ui.api.app.launcherlayout14000100%0.35
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.833
IsDeletedRuleTest3000100%0.963
IsNotDeletedRuleTest300166.667%0.633
IsNotVersionedRuleTest3000100%0.928

info.magnolia.ui.api.app

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorKeyGeneratorTest2000100%0.012
AppLifecycleEventTest4000100%0.016

info.magnolia.ui.api.location

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultLocationTest11000100%0.003
LocationControllerTest4000100%0.021
LocationHistoryHandlerTest10000100%0.02

info.magnolia.ui.api.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.135
ConfiguredAppDescriptorManagerTest2000100%18.054

info.magnolia.ui.api.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLauncherLayoutTest5000100%0.001
AppLayoutManagerImplTest9000100%0.349

info.magnolia.ui.api.action

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractActionExecutorTest13000100%1.625
ActionDefinitionKeyGeneratorTest7000100%0.204

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

actionIsAvailableWhenNoNodeTypesAreConfigured0.983
testCreatesAndExecutesAction0.067
actionIsAvailableIfRootEnabledAndGivenNull0.058
testThrowsExceptionWhenActionThrowsRuntimeException0.056
testThrowsExceptionWhenActionThrowsActionExecutionException0.054
actionIsAvailableOnlyForTheConfiguredNodeTypes0.061
actionIsAvailableForMultipleItemsWhenExplicitlySet0.052
actionIsNotAvailableForMultipleItemsByDefault0.057
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass0.05
testCreateActionThrowsExceptionWhenActionDefinitionMissing0.048
actionIsAvailableIfPropertiesEnabledAndGivenProperty0.045
missingActionIsNotAvailable0.045
actionIsAvailableOnlyForTheConfiguredRoles0.049

ActionDefinitionKeyGeneratorTest

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

AppDescriptorKeyGeneratorTest

keysForIcon0.011
keysForLabel0.001

AppLifecycleEventTest

testDispatchCallsOnAppStarted0.014
testDispatchCallsOnAppStopped0.001
testDispatchCallsOnAppFocused0.001
testDispatchCallsNothingOnNullEvent0

AppLauncherLayoutTest

testGetGroup0.001
testGetGroupEntry0
testGetAppDescriptor0
testContainsApp0
testGetGroups0

AppLayoutManagerImplTest

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

AppDescriptorRegistryTest

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

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange18.042
testAppDescriptorOnStart0.012

HasVersionsRuleTest

testIsAvailableForNodeWithoutVersioning1.99
testIsAvailableForNullNode0.713
testIsAvailableForItemVersionOnlyOneVersion0.603
testIsAvailableForItemVersionTwoVersions0.648
testIsAvailableForItemNoVersion0.504
testIsAvailableForItemNoNode0.375

IsDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.334
testIsAvailableForItemThatIsMarkedAsDeleted0.312
testIsAvailableForItemThatIsNotDeleted0.317

IsNotDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.001
MGNLUI-2038: Ignore until the rule is fixed.
testIsAvailableForItemThatIsMarkedAsDeleted0.34
testIsAvailableForItemThatIsNotDeleted0.292

IsNotVersionedRuleTest

testWithNode0.289
testWithFrozenVersionNode0.324
testWithVersion0.315

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning0.016
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.