Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
94 0 0 1 98.936% 11.225

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
info.magnolia.ui.api.availability 15 0 0 1 93.333% 6.172
info.magnolia.ui.api.app 6 0 0 0 100% 0.024
info.magnolia.ui.api.location 25 0 0 0 100% 0.041
info.magnolia.ui.api.app.registry 13 0 0 0 100% 3.268
info.magnolia.ui.api.app.launcherlayout 15 0 0 0 100% 0.271
info.magnolia.ui.api.action 20 0 0 0 100% 1.449

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

info.magnolia.ui.api.availability

Class Tests Errors Failures Skipped Success Rate Time
HasVersionsRuleTest 6 0 0 0 100% 3.777
IsDeletedRuleTest 3 0 0 0 100% 0.884
IsNotDeletedRuleTest 3 0 0 1 66.667% 0.556
IsNotVersionedRuleTest 3 0 0 0 100% 0.955

info.magnolia.ui.api.app

Class Tests Errors Failures Skipped Success Rate Time
AppDescriptorKeyGeneratorTest 2 0 0 0 100% 0.012
AppLifecycleEventTest 4 0 0 0 100% 0.012

info.magnolia.ui.api.location

Class Tests Errors Failures Skipped Success Rate Time
DefaultLocationTest 11 0 0 0 100% 0.002
LocationControllerTest 4 0 0 0 100% 0.02
LocationHistoryHandlerTest 10 0 0 0 100% 0.019

info.magnolia.ui.api.app.registry

Class Tests Errors Failures Skipped Success Rate Time
AppDescriptorRegistryTest 11 0 0 0 100% 0.097
ConfiguredAppDescriptorManagerTest 2 0 0 0 100% 3.171

info.magnolia.ui.api.app.launcherlayout

Class Tests Errors Failures Skipped Success Rate Time
AppLauncherGroupDefinitionKeyGeneratorTest 1 0 0 0 100% 0.001
AppLauncherLayoutTest 5 0 0 0 100% 0.003
AppLayoutManagerImplTest 9 0 0 0 100% 0.267

info.magnolia.ui.api.action

Class Tests Errors Failures Skipped Success Rate Time
AbstractActionExecutorTest 13 0 0 0 100% 1.29
ActionDefinitionKeyGeneratorTest 7 0 0 0 100% 0.159

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

actionIsAvailableWhenNoNodeTypesAreConfigured 0.789
testCreatesAndExecutesAction 0.052
actionIsAvailableIfRootEnabledAndGivenNull 0.045
testThrowsExceptionWhenActionThrowsRuntimeException 0.045
testThrowsExceptionWhenActionThrowsActionExecutionException 0.043
actionIsAvailableOnlyForTheConfiguredNodeTypes 0.051
actionIsAvailableForMultipleItemsWhenExplicitlySet 0.04
actionIsNotAvailableForMultipleItemsByDefault 0.042
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass 0.039
testCreateActionThrowsExceptionWhenActionDefinitionMissing 0.036
actionIsAvailableIfPropertiesEnabledAndGivenProperty 0.036
missingActionIsNotAvailable 0.036
actionIsAvailableOnlyForTheConfiguredRoles 0.036

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing 0.11
unknownI18nAbleParentPrependAncestorGeneratedKey 0.006
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName 0.006
keyGeneratedFromAppDescriptorIsCompliant 0.017
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId 0.006
keysForActionInChooseDialog 0.012
colonInIdIsReplacedByDot 0.002

AppDescriptorKeyGeneratorTest

keysForIcon 0.011
keysForLabel 0.001

AppLifecycleEventTest

testDispatchCallsOnAppStarted 0.011
testDispatchCallsOnAppStopped 0
testDispatchCallsOnAppFocused 0
testDispatchCallsNothingOnNullEvent 0.001

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel 0

AppLauncherLayoutTest

testGetGroup 0
testGetGroupEntry 0
testGetAppDescriptor 0
testContainsApp 0
testGetGroups 0

AppLayoutManagerImplTest

testGetAppLayout 0.043
testExcludesEmptyGroups 0.029
testExcludesAppWithoutIcon 0.032
testHidesAppsThatAreNotAccessibleForTheCurrentUser 0.029
testHidesEntriesThatAreNotEnabled 0.027
testIncludesAppsThatAreAccessibleForTheCurrentUser 0.028
testSendsLauncherLayoutChangedEvent 0.027
testExcludesAppWithoutLabel 0.026
testHidesAppsThatAreNotEnabled 0.026

AppDescriptorRegistryTest

testGetAppDescriptor 0.016
testGetAppDescriptors 0.009
testGetAppDescriptorThrowsExceptionWhenAppNotFound 0.008
testUnregisterAndRegisterWhenAdding 0.008
testRegister 0.008
testUnregister 0.008
testUnregisterAndRegisterWhenEmpty 0.007
testUnregisterAndRegisterInComplexCase 0.009
TestUnregisterAndRegisterWhenUpdating 0.008
testUnregisterAndRegisterWhenAddingFromMultipleSources 0.009
testUnregisterAndRegisterWhenRemoving 0.007

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange 3.16
testAppDescriptorOnStart 0.011

HasVersionsRuleTest

testIsAvailableForNodeWithoutVersioning 1.622
testIsAvailableForNullNode 0.604
testIsAvailableForItemVersionOnlyOneVersion 0.503
testIsAvailableForItemVersionTwoVersions 0.426
testIsAvailableForItemNoVersion 0.337
testIsAvailableForItemNoNode 0.285

IsDeletedRuleTest

testIsAvailableForItemThatIsDeleted 0.287
testIsAvailableForItemThatIsMarkedAsDeleted 0.277
testIsAvailableForItemThatIsNotDeleted 0.32

IsNotDeletedRuleTest

testIsAvailableForItemThatIsDeleted 0.001
MGNLUI-2038: Ignore until the rule is fixed.
testIsAvailableForItemThatIsMarkedAsDeleted 0.276
testIsAvailableForItemThatIsNotDeleted 0.279

IsNotVersionedRuleTest

testWithNode 0.289
testWithFrozenVersionNode 0.308
testWithVersion 0.358

DefaultLocationTest

testExtractParameter 0.001
testDefaultLocationDecodeFragmentFromFragment 0.001
testExtractAppName 0
testExtractAppType 0
testToString 0
testEqualsReturnsFalseOnIncompatibleType 0
testDefaultLocationDecodeFragment 0
testDefaultLocationFromFragment 0
testEqualsReturnsFalseOnNull 0
testDefaultLocationFromNullFragmentThrowsException 0
testExtractSubAppId 0

LocationControllerTest

testGoToWithoutWarning 0.015
testGoToWithCancelledWarning 0.004
testGoToSameLocationDoesNothing 0
testGoToWithConfirmedWarning 0.001

LocationHistoryHandlerTest

testCallsLocationControllerOnFragmentChange 0.008
testGoesToDefaultLocationWhenFragmentIsNull 0.001
testGoesToDefaultLocationWhenFragmentIsEmpty 0.001
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentHasUnknownPrefix 0.002
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentNull 0.001
testGoesToDefaultLocationWhenFragmentHasUnknownPrefix 0.002
testUpdatesFragmentOnLocationChange 0.001
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentEmpty 0.001
testHandleCurrentHistoryNavigatesToDefaultLocation 0.001
testSetsFragmentToEmptyOnLocationChangeWhenMapperDoesntRecognizeTheLocation 0.001

Failure Details

[Summary] [Package List] [Test Cases]


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