Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
9400198.936%13.231

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.527
info.magnolia.ui.api.app6000100%0.038
info.magnolia.ui.api.location25000100%0.052
info.magnolia.ui.api.app.registry13000100%3.255
info.magnolia.ui.api.app.launcherlayout15000100%0.353
info.magnolia.ui.api.action20000100%2.006

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.942
IsDeletedRuleTest3000100%0.94
IsNotDeletedRuleTest300166.667%0.617
IsNotVersionedRuleTest3000100%1.028

info.magnolia.ui.api.app

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorKeyGeneratorTest2000100%0.019
AppLifecycleEventTest4000100%0.019

info.magnolia.ui.api.location

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultLocationTest11000100%0.003
LocationControllerTest4000100%0.025
LocationHistoryHandlerTest10000100%0.024

info.magnolia.ui.api.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.165
ConfiguredAppDescriptorManagerTest2000100%3.09

info.magnolia.ui.api.app.launcherlayout

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

info.magnolia.ui.api.action

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractActionExecutorTest13000100%1.725
ActionDefinitionKeyGeneratorTest7000100%0.281

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

actionIsAvailableWhenNoNodeTypesAreConfigured1.015
testCreatesAndExecutesAction0.068
actionIsAvailableIfRootEnabledAndGivenNull0.067
testThrowsExceptionWhenActionThrowsRuntimeException0.058
testThrowsExceptionWhenActionThrowsActionExecutionException0.045
actionIsAvailableOnlyForTheConfiguredNodeTypes0.053
actionIsAvailableForMultipleItemsWhenExplicitlySet0.053
actionIsNotAvailableForMultipleItemsByDefault0.066
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass0.068
testCreateActionThrowsExceptionWhenActionDefinitionMissing0.052
actionIsAvailableIfPropertiesEnabledAndGivenProperty0.05
missingActionIsNotAvailable0.058
actionIsAvailableOnlyForTheConfiguredRoles0.072

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing0.21
unknownI18nAbleParentPrependAncestorGeneratedKey0.008
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName0.009
keyGeneratedFromAppDescriptorIsCompliant0.026
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId0.007
keysForActionInChooseDialog0.018
colonInIdIsReplacedByDot0.003

AppDescriptorKeyGeneratorTest

keysForIcon0.018
keysForLabel0.001

AppLifecycleEventTest

testDispatchCallsOnAppStarted0.017
testDispatchCallsOnAppStopped0.001
testDispatchCallsOnAppFocused0.001
testDispatchCallsNothingOnNullEvent0

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel0

AppLauncherLayoutTest

testGetGroup0.001
testGetGroupEntry0
testGetAppDescriptor0.001
testContainsApp0
testGetGroups0.001

AppLayoutManagerImplTest

testGetAppLayout0.051
testExcludesEmptyGroups0.033
testExcludesAppWithoutIcon0.033
testHidesAppsThatAreNotAccessibleForTheCurrentUser0.029
testHidesEntriesThatAreNotEnabled0.03
testIncludesAppsThatAreAccessibleForTheCurrentUser0.069
testSendsLauncherLayoutChangedEvent0.039
testExcludesAppWithoutLabel0.033
testHidesAppsThatAreNotEnabled0.032

AppDescriptorRegistryTest

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

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange3.081
testAppDescriptorOnStart0.009

HasVersionsRuleTest

testIsAvailableForNodeWithoutVersioning1.98
testIsAvailableForNullNode0.715
testIsAvailableForItemVersionOnlyOneVersion0.843
testIsAvailableForItemVersionTwoVersions0.639
testIsAvailableForItemNoVersion0.454
testIsAvailableForItemNoNode0.311

IsDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.323
testIsAvailableForItemThatIsMarkedAsDeleted0.281
testIsAvailableForItemThatIsNotDeleted0.336

IsNotDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.003
MGNLUI-2038: Ignore until the rule is fixed.
testIsAvailableForItemThatIsMarkedAsDeleted0.276
testIsAvailableForItemThatIsNotDeleted0.338

IsNotVersionedRuleTest

testWithNode0.322
testWithFrozenVersionNode0.346
testWithVersion0.36

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning0.02
testGoToWithCancelledWarning0.004
testGoToSameLocationDoesNothing0
testGoToWithConfirmedWarning0.001

LocationHistoryHandlerTest

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

Failure Details

[Summary] [Package List] [Test Cases]


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