Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
9400198.936%12.47

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.271
info.magnolia.ui.api.app6000100%0.024
info.magnolia.ui.api.location25000100%0.045
info.magnolia.ui.api.app.registry13000100%3.188
info.magnolia.ui.api.app.launcherlayout15000100%0.324
info.magnolia.ui.api.action20000100%1.618

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.621
IsDeletedRuleTest3000100%0.841
IsNotDeletedRuleTest300166.667%0.715
IsNotVersionedRuleTest3000100%1.094

info.magnolia.ui.api.app

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorKeyGeneratorTest2000100%0.012
AppLifecycleEventTest4000100%0.012

info.magnolia.ui.api.location

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultLocationTest11000100%0.002
LocationControllerTest4000100%0.024
LocationHistoryHandlerTest10000100%0.019

info.magnolia.ui.api.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.123
ConfiguredAppDescriptorManagerTest2000100%3.065

info.magnolia.ui.api.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLauncherGroupDefinitionKeyGeneratorTest1000100%0.002
AppLauncherLayoutTest5000100%0.001
AppLayoutManagerImplTest9000100%0.321

info.magnolia.ui.api.action

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractActionExecutorTest13000100%1.431
ActionDefinitionKeyGeneratorTest7000100%0.187

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

actionIsAvailableWhenNoNodeTypesAreConfigured0.809
testCreatesAndExecutesAction0.066
actionIsAvailableIfRootEnabledAndGivenNull0.053
testThrowsExceptionWhenActionThrowsRuntimeException0.056
testThrowsExceptionWhenActionThrowsActionExecutionException0.043
actionIsAvailableOnlyForTheConfiguredNodeTypes0.048
actionIsAvailableForMultipleItemsWhenExplicitlySet0.049
actionIsNotAvailableForMultipleItemsByDefault0.053
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass0.052
testCreateActionThrowsExceptionWhenActionDefinitionMissing0.052
actionIsAvailableIfPropertiesEnabledAndGivenProperty0.052
missingActionIsNotAvailable0.049
actionIsAvailableOnlyForTheConfiguredRoles0.049

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing0.134
unknownI18nAbleParentPrependAncestorGeneratedKey0.007
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName0.006
keyGeneratedFromAppDescriptorIsCompliant0.017
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId0.005
keysForActionInChooseDialog0.015
colonInIdIsReplacedByDot0.003

AppDescriptorKeyGeneratorTest

keysForIcon0.011
keysForLabel0.001

AppLifecycleEventTest

testDispatchCallsOnAppStarted0.01
testDispatchCallsOnAppStopped0
testDispatchCallsOnAppFocused0.001
testDispatchCallsNothingOnNullEvent0.001

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel0.002

AppLauncherLayoutTest

testGetGroup0
testGetGroupEntry0
testGetAppDescriptor0
testContainsApp0
testGetGroups0

AppLayoutManagerImplTest

testGetAppLayout0.049
testExcludesEmptyGroups0.035
testExcludesAppWithoutIcon0.036
testHidesAppsThatAreNotAccessibleForTheCurrentUser0.03
testHidesEntriesThatAreNotEnabled0.034
testIncludesAppsThatAreAccessibleForTheCurrentUser0.037
testSendsLauncherLayoutChangedEvent0.037
testExcludesAppWithoutLabel0.03
testHidesAppsThatAreNotEnabled0.033

AppDescriptorRegistryTest

testGetAppDescriptor0.019
testGetAppDescriptors0.011
testGetAppDescriptorThrowsExceptionWhenAppNotFound0.01
testUnregisterAndRegisterWhenAdding0.014
testRegister0.01
testUnregister0.01
testUnregisterAndRegisterWhenEmpty0.008
testUnregisterAndRegisterInComplexCase0.011
TestUnregisterAndRegisterWhenUpdating0.01
testUnregisterAndRegisterWhenAddingFromMultipleSources0.013
testUnregisterAndRegisterWhenRemoving0.007

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange3.056
testAppDescriptorOnStart0.009

HasVersionsRuleTest

testIsAvailableForNodeWithoutVersioning1.816
testIsAvailableForNullNode0.719
testIsAvailableForItemVersionOnlyOneVersion0.619
testIsAvailableForItemVersionTwoVersions0.659
testIsAvailableForItemNoVersion0.445
testIsAvailableForItemNoNode0.363

IsDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.278
testIsAvailableForItemThatIsMarkedAsDeleted0.29
testIsAvailableForItemThatIsNotDeleted0.273

IsNotDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.006
MGNLUI-2038: Ignore until the rule is fixed.
testIsAvailableForItemThatIsMarkedAsDeleted0.419
testIsAvailableForItemThatIsNotDeleted0.29

IsNotVersionedRuleTest

testWithNode0.319
testWithFrozenVersionNode0.399
testWithVersion0.376

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning0.022
testGoToWithCancelledWarning0.002
testGoToSameLocationDoesNothing0
testGoToWithConfirmedWarning0

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.