Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
9400198.936%9.383

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.808
info.magnolia.ui.api.app6000100%0.021
info.magnolia.ui.api.location25000100%0.03
info.magnolia.ui.api.app.registry13000100%3.138
info.magnolia.ui.api.app.launcherlayout15000100%0.219
info.magnolia.ui.api.action20000100%1.167

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.131
IsDeletedRuleTest3000100%0.635
IsNotDeletedRuleTest300166.667%0.435
IsNotVersionedRuleTest3000100%0.607

info.magnolia.ui.api.app

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorKeyGeneratorTest2000100%0.01
AppLifecycleEventTest4000100%0.011

info.magnolia.ui.api.location

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultLocationTest11000100%0.002
LocationControllerTest4000100%0.015
LocationHistoryHandlerTest10000100%0.013

info.magnolia.ui.api.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.077
ConfiguredAppDescriptorManagerTest2000100%3.061

info.magnolia.ui.api.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLauncherGroupDefinitionKeyGeneratorTest1000100%0
AppLauncherLayoutTest5000100%0.001
AppLayoutManagerImplTest9000100%0.218

info.magnolia.ui.api.action

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractActionExecutorTest13000100%1.039
ActionDefinitionKeyGeneratorTest7000100%0.128

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

actionIsAvailableWhenNoNodeTypesAreConfigured0.608
testCreatesAndExecutesAction0.042
actionIsAvailableIfRootEnabledAndGivenNull0.047
testThrowsExceptionWhenActionThrowsRuntimeException0.038
testThrowsExceptionWhenActionThrowsActionExecutionException0.037
actionIsAvailableOnlyForTheConfiguredNodeTypes0.039
actionIsAvailableForMultipleItemsWhenExplicitlySet0.035
actionIsNotAvailableForMultipleItemsByDefault0.034
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass0.033
testCreateActionThrowsExceptionWhenActionDefinitionMissing0.037
actionIsAvailableIfPropertiesEnabledAndGivenProperty0.03
missingActionIsNotAvailable0.029
actionIsAvailableOnlyForTheConfiguredRoles0.03

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing0.087
unknownI18nAbleParentPrependAncestorGeneratedKey0.006
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName0.005
keyGeneratedFromAppDescriptorIsCompliant0.013
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId0.005
keysForActionInChooseDialog0.01
colonInIdIsReplacedByDot0.002

AppDescriptorKeyGeneratorTest

keysForIcon0.009
keysForLabel0.001

AppLifecycleEventTest

testDispatchCallsOnAppStarted0.009
testDispatchCallsOnAppStopped0.001
testDispatchCallsOnAppFocused0
testDispatchCallsNothingOnNullEvent0.001

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel0

AppLauncherLayoutTest

testGetGroup0.001
testGetGroupEntry0
testGetAppDescriptor0
testContainsApp0
testGetGroups0

AppLayoutManagerImplTest

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

AppDescriptorRegistryTest

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

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange3.049
testAppDescriptorOnStart0.012

HasVersionsRuleTest

testIsAvailableForNodeWithoutVersioning1.273
testIsAvailableForNullNode0.452
testIsAvailableForItemVersionOnlyOneVersion0.4
testIsAvailableForItemVersionTwoVersions0.438
testIsAvailableForItemNoVersion0.292
testIsAvailableForItemNoNode0.276

IsDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.218
testIsAvailableForItemThatIsMarkedAsDeleted0.213
testIsAvailableForItemThatIsNotDeleted0.204

IsNotDeletedRuleTest

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

IsNotVersionedRuleTest

testWithNode0.182
testWithFrozenVersionNode0.217
testWithVersion0.208

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning0.011
testGoToWithCancelledWarning0.003
testGoToSameLocationDoesNothing0
testGoToWithConfirmedWarning0.001

LocationHistoryHandlerTest

testCallsLocationControllerOnFragmentChange0.005
testGoesToDefaultLocationWhenFragmentIsNull0.001
testGoesToDefaultLocationWhenFragmentIsEmpty0
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentHasUnknownPrefix0.001
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentNull0.001
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.