Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
9300198.925%13.779

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%8.197
info.magnolia.ui.api.app6000100%0.03
info.magnolia.ui.api.location25000100%0.041
info.magnolia.ui.api.app.registry13000100%3.22
info.magnolia.ui.api.app.launcherlayout14000100%0.367
info.magnolia.ui.api.action20000100%1.924

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%5.384
IsDeletedRuleTest3000100%1.023
IsNotDeletedRuleTest300166.667%0.729
IsNotVersionedRuleTest3000100%1.061

info.magnolia.ui.api.app

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorKeyGeneratorTest2000100%0.013
AppLifecycleEventTest4000100%0.017

info.magnolia.ui.api.location

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

info.magnolia.ui.api.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.138
ConfiguredAppDescriptorManagerTest2000100%3.082

info.magnolia.ui.api.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLauncherLayoutTest5000100%0.003
AppLayoutManagerImplTest9000100%0.364

info.magnolia.ui.api.action

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractActionExecutorTest13000100%1.704
ActionDefinitionKeyGeneratorTest7000100%0.22

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

actionIsAvailableWhenNoNodeTypesAreConfigured1.025
testCreatesAndExecutesAction0.069
actionIsAvailableIfRootEnabledAndGivenNull0.061
testThrowsExceptionWhenActionThrowsRuntimeException0.06
testThrowsExceptionWhenActionThrowsActionExecutionException0.057
actionIsAvailableOnlyForTheConfiguredNodeTypes0.062
actionIsAvailableForMultipleItemsWhenExplicitlySet0.054
actionIsNotAvailableForMultipleItemsByDefault0.063
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass0.054
testCreateActionThrowsExceptionWhenActionDefinitionMissing0.051
actionIsAvailableIfPropertiesEnabledAndGivenProperty0.048
missingActionIsNotAvailable0.047
actionIsAvailableOnlyForTheConfiguredRoles0.053

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing0.158
unknownI18nAbleParentPrependAncestorGeneratedKey0.008
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName0.007
keyGeneratedFromAppDescriptorIsCompliant0.021
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId0.007
keysForActionInChooseDialog0.016
colonInIdIsReplacedByDot0.003

AppDescriptorKeyGeneratorTest

keysForIcon0.012
keysForLabel0.001

AppLifecycleEventTest

testDispatchCallsOnAppStarted0.014
testDispatchCallsOnAppStopped0.001
testDispatchCallsOnAppFocused0.001
testDispatchCallsNothingOnNullEvent0.001

AppLauncherLayoutTest

testGetGroup0.001
testGetGroupEntry0.001
testGetAppDescriptor0
testContainsApp0.001
testGetGroups0

AppLayoutManagerImplTest

testGetAppLayout0.059
testExcludesEmptyGroups0.039
testExcludesAppWithoutIcon0.041
testHidesAppsThatAreNotAccessibleForTheCurrentUser0.041
testHidesEntriesThatAreNotEnabled0.038
testIncludesAppsThatAreAccessibleForTheCurrentUser0.038
testSendsLauncherLayoutChangedEvent0.037
testExcludesAppWithoutLabel0.035
testHidesAppsThatAreNotEnabled0.036

AppDescriptorRegistryTest

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

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange3.069
testAppDescriptorOnStart0.013

HasVersionsRuleTest

testIsAvailableForNodeWithoutVersioning2.395
testIsAvailableForNullNode0.745
testIsAvailableForItemVersionOnlyOneVersion0.642
testIsAvailableForItemVersionTwoVersions0.693
testIsAvailableForItemNoVersion0.523
testIsAvailableForItemNoNode0.386

IsDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.365
testIsAvailableForItemThatIsMarkedAsDeleted0.334
testIsAvailableForItemThatIsNotDeleted0.324

IsNotDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.001
MGNLUI-2038: Ignore until the rule is fixed.
testIsAvailableForItemThatIsMarkedAsDeleted0.405
testIsAvailableForItemThatIsNotDeleted0.323

IsNotVersionedRuleTest

testWithNode0.32
testWithFrozenVersionNode0.353
testWithVersion0.388

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning0.015
testGoToWithCancelledWarning0.003
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.