Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
9400198.936%9.349

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%4.774
info.magnolia.ui.api.app6000100%0.021
info.magnolia.ui.api.location25000100%0.025
info.magnolia.ui.api.app.registry13000100%3.14
info.magnolia.ui.api.app.launcherlayout15000100%0.226
info.magnolia.ui.api.action20000100%1.163

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%3.124
IsDeletedRuleTest3000100%0.627
IsNotDeletedRuleTest300166.667%0.415
IsNotVersionedRuleTest3000100%0.608

info.magnolia.ui.api.app

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorKeyGeneratorTest2000100%0.011
AppLifecycleEventTest4000100%0.01

info.magnolia.ui.api.location

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultLocationTest11000100%0.001
LocationControllerTest4000100%0.012
LocationHistoryHandlerTest10000100%0.012

info.magnolia.ui.api.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.076
ConfiguredAppDescriptorManagerTest2000100%3.064

info.magnolia.ui.api.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLauncherGroupDefinitionKeyGeneratorTest1000100%0
AppLauncherLayoutTest5000100%0.002
AppLayoutManagerImplTest9000100%0.224

info.magnolia.ui.api.action

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractActionExecutorTest13000100%1.037
ActionDefinitionKeyGeneratorTest7000100%0.126

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

actionIsAvailableWhenNoNodeTypesAreConfigured0.607
testCreatesAndExecutesAction0.043
actionIsAvailableIfRootEnabledAndGivenNull0.044
testThrowsExceptionWhenActionThrowsRuntimeException0.036
testThrowsExceptionWhenActionThrowsActionExecutionException0.036
actionIsAvailableOnlyForTheConfiguredNodeTypes0.04
actionIsAvailableForMultipleItemsWhenExplicitlySet0.035
actionIsNotAvailableForMultipleItemsByDefault0.034
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass0.034
testCreateActionThrowsExceptionWhenActionDefinitionMissing0.038
actionIsAvailableIfPropertiesEnabledAndGivenProperty0.03
missingActionIsNotAvailable0.029
actionIsAvailableOnlyForTheConfiguredRoles0.031

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing0.087
unknownI18nAbleParentPrependAncestorGeneratedKey0.005
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName0.005
keyGeneratedFromAppDescriptorIsCompliant0.014
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId0.004
keysForActionInChooseDialog0.01
colonInIdIsReplacedByDot0.001

AppDescriptorKeyGeneratorTest

keysForIcon0.01
keysForLabel0.001

AppLifecycleEventTest

testDispatchCallsOnAppStarted0.009
testDispatchCallsOnAppStopped0.001
testDispatchCallsOnAppFocused0
testDispatchCallsNothingOnNullEvent0

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel0

AppLauncherLayoutTest

testGetGroup0.001
testGetGroupEntry0
testGetAppDescriptor0
testContainsApp0
testGetGroups0.001

AppLayoutManagerImplTest

testGetAppLayout0.036
testExcludesEmptyGroups0.024
testExcludesAppWithoutIcon0.026
testHidesAppsThatAreNotAccessibleForTheCurrentUser0.024
testHidesEntriesThatAreNotEnabled0.023
testIncludesAppsThatAreAccessibleForTheCurrentUser0.022
testSendsLauncherLayoutChangedEvent0.022
testExcludesAppWithoutLabel0.025
testHidesAppsThatAreNotEnabled0.022

AppDescriptorRegistryTest

testGetAppDescriptor0.013
testGetAppDescriptors0.006
testGetAppDescriptorThrowsExceptionWhenAppNotFound0.006
testUnregisterAndRegisterWhenAdding0.007
testRegister0.006
testUnregister0.006
testUnregisterAndRegisterWhenEmpty0.006
testUnregisterAndRegisterInComplexCase0.007
TestUnregisterAndRegisterWhenUpdating0.006
testUnregisterAndRegisterWhenAddingFromMultipleSources0.007
testUnregisterAndRegisterWhenRemoving0.006

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange3.056
testAppDescriptorOnStart0.008

HasVersionsRuleTest

testIsAvailableForNodeWithoutVersioning1.274
testIsAvailableForNullNode0.438
testIsAvailableForItemVersionOnlyOneVersion0.397
testIsAvailableForItemVersionTwoVersions0.455
testIsAvailableForItemNoVersion0.309
testIsAvailableForItemNoNode0.251

IsDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.212
testIsAvailableForItemThatIsMarkedAsDeleted0.212
testIsAvailableForItemThatIsNotDeleted0.203

IsNotDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.002
MGNLUI-2038: Ignore until the rule is fixed.
testIsAvailableForItemThatIsMarkedAsDeleted0.199
testIsAvailableForItemThatIsNotDeleted0.214

IsNotVersionedRuleTest

testWithNode0.183
testWithFrozenVersionNode0.22
testWithVersion0.205

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning0.009
testGoToWithCancelledWarning0.002
testGoToSameLocationDoesNothing0
testGoToWithConfirmedWarning0.001

LocationHistoryHandlerTest

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

Failure Details

[Summary] [Package List] [Test Cases]


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