Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
9300198.925%26.323

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%6.235
info.magnolia.ui.api.app6000100%0.026
info.magnolia.ui.api.location25000100%0.048
info.magnolia.ui.api.app.registry13000100%18.155
info.magnolia.ui.api.app.launcherlayout14000100%0.325
info.magnolia.ui.api.action20000100%1.534

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.012
IsDeletedRuleTest3000100%0.794
IsNotDeletedRuleTest300166.667%0.574
IsNotVersionedRuleTest3000100%0.855

info.magnolia.ui.api.app

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorKeyGeneratorTest2000100%0.009
AppLifecycleEventTest4000100%0.017

info.magnolia.ui.api.location

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

info.magnolia.ui.api.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.108
ConfiguredAppDescriptorManagerTest2000100%18.047

info.magnolia.ui.api.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLauncherLayoutTest5000100%0.001
AppLayoutManagerImplTest9000100%0.324

info.magnolia.ui.api.action

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractActionExecutorTest13000100%1.374
ActionDefinitionKeyGeneratorTest7000100%0.16

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

actionIsAvailableWhenNoNodeTypesAreConfigured0.841
testCreatesAndExecutesAction0.061
actionIsAvailableIfRootEnabledAndGivenNull0.047
testThrowsExceptionWhenActionThrowsRuntimeException0.048
testThrowsExceptionWhenActionThrowsActionExecutionException0.045
actionIsAvailableOnlyForTheConfiguredNodeTypes0.049
actionIsAvailableForMultipleItemsWhenExplicitlySet0.042
actionIsNotAvailableForMultipleItemsByDefault0.045
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass0.045
testCreateActionThrowsExceptionWhenActionDefinitionMissing0.039
actionIsAvailableIfPropertiesEnabledAndGivenProperty0.037
missingActionIsNotAvailable0.037
actionIsAvailableOnlyForTheConfiguredRoles0.038

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing0.11
unknownI18nAbleParentPrependAncestorGeneratedKey0.006
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName0.006
keyGeneratedFromAppDescriptorIsCompliant0.017
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId0.006
keysForActionInChooseDialog0.013
colonInIdIsReplacedByDot0.002

AppDescriptorKeyGeneratorTest

keysForIcon0.009
keysForLabel0

AppLifecycleEventTest

testDispatchCallsOnAppStarted0.016
testDispatchCallsOnAppStopped0
testDispatchCallsOnAppFocused0.001
testDispatchCallsNothingOnNullEvent0

AppLauncherLayoutTest

testGetGroup0
testGetGroupEntry0
testGetAppDescriptor0
testContainsApp0
testGetGroups0

AppLayoutManagerImplTest

testGetAppLayout0.059
testExcludesEmptyGroups0.031
testExcludesAppWithoutIcon0.032
testHidesAppsThatAreNotAccessibleForTheCurrentUser0.029
testHidesEntriesThatAreNotEnabled0.029
testIncludesAppsThatAreAccessibleForTheCurrentUser0.032
testSendsLauncherLayoutChangedEvent0.03
testExcludesAppWithoutLabel0.051
testHidesAppsThatAreNotEnabled0.031

AppDescriptorRegistryTest

testGetAppDescriptor0.016
testGetAppDescriptors0.008
testGetAppDescriptorThrowsExceptionWhenAppNotFound0.009
testUnregisterAndRegisterWhenAdding0.01
testRegister0.009
testUnregister0.008
testUnregisterAndRegisterWhenEmpty0.008
testUnregisterAndRegisterInComplexCase0.009
TestUnregisterAndRegisterWhenUpdating0.009
testUnregisterAndRegisterWhenAddingFromMultipleSources0.013
testUnregisterAndRegisterWhenRemoving0.009

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange18.035
testAppDescriptorOnStart0.012

HasVersionsRuleTest

testIsAvailableForNodeWithoutVersioning1.658
testIsAvailableForNullNode0.6
testIsAvailableForItemVersionOnlyOneVersion0.517
testIsAvailableForItemVersionTwoVersions0.547
testIsAvailableForItemNoVersion0.382
testIsAvailableForItemNoNode0.308

IsDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.263
testIsAvailableForItemThatIsMarkedAsDeleted0.273
testIsAvailableForItemThatIsNotDeleted0.258

IsNotDeletedRuleTest

testIsAvailableForItemThatIsDeleted0.002
MGNLUI-2038: Ignore until the rule is fixed.
testIsAvailableForItemThatIsMarkedAsDeleted0.271
testIsAvailableForItemThatIsNotDeleted0.301

IsNotVersionedRuleTest

testWithNode0.303
testWithFrozenVersionNode0.271
testWithVersion0.281

DefaultLocationTest

testExtractParameter0
testDefaultLocationDecodeFragmentFromFragment0
testExtractAppName0
testExtractAppType0
testToString0
testEqualsReturnsFalseOnIncompatibleType0
testDefaultLocationDecodeFragment0
testDefaultLocationFromFragment0
testEqualsReturnsFalseOnNull0
testDefaultLocationFromNullFragmentThrowsException0
testExtractSubAppId0

LocationControllerTest

testGoToWithoutWarning0.016
testGoToWithCancelledWarning0.004
testGoToSameLocationDoesNothing0
testGoToWithConfirmedWarning0.001

LocationHistoryHandlerTest

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

Failure Details

[Summary] [Package List] [Test Cases]


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