Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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% 5.035
info.magnolia.ui.api.app 6 0 0 0 100% 0.034
info.magnolia.ui.api.location 25 0 0 0 100% 0.03
info.magnolia.ui.api.app.registry 13 0 0 0 100% 3.143
info.magnolia.ui.api.app.launcherlayout 15 0 0 0 100% 0.241
info.magnolia.ui.api.action 20 0 0 0 100% 1.288

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.29
IsDeletedRuleTest 3 0 0 0 100% 0.69
IsNotDeletedRuleTest 3 0 0 1 66.667% 0.395
IsNotVersionedRuleTest 3 0 0 0 100% 0.66

info.magnolia.ui.api.app

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

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.014
LocationHistoryHandlerTest 10 0 0 0 100% 0.014

info.magnolia.ui.api.app.registry

Class Tests Errors Failures Skipped Success Rate Time
AppDescriptorRegistryTest 11 0 0 0 100% 0.081
ConfiguredAppDescriptorManagerTest 2 0 0 0 100% 3.062

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.002
AppLayoutManagerImplTest 9 0 0 0 100% 0.238

info.magnolia.ui.api.action

Class Tests Errors Failures Skipped Success Rate Time
AbstractActionExecutorTest 13 0 0 0 100% 1.153
ActionDefinitionKeyGeneratorTest 7 0 0 0 100% 0.135

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

actionIsAvailableWhenNoNodeTypesAreConfigured 0.712
testCreatesAndExecutesAction 0.047
actionIsAvailableIfRootEnabledAndGivenNull 0.04
testThrowsExceptionWhenActionThrowsRuntimeException 0.039
testThrowsExceptionWhenActionThrowsActionExecutionException 0.041
actionIsAvailableOnlyForTheConfiguredNodeTypes 0.041
actionIsAvailableForMultipleItemsWhenExplicitlySet 0.036
actionIsNotAvailableForMultipleItemsByDefault 0.038
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass 0.036
testCreateActionThrowsExceptionWhenActionDefinitionMissing 0.031
actionIsAvailableIfPropertiesEnabledAndGivenProperty 0.03
missingActionIsNotAvailable 0.03
actionIsAvailableOnlyForTheConfiguredRoles 0.032

ActionDefinitionKeyGeneratorTest

unknownI18nAbleParentWithoutKeyGeneratorPrependsNothing 0.093
unknownI18nAbleParentPrependAncestorGeneratedKey 0.006
unknownI18nAbleParentWithoutKeyGeneratorButWithGetNamePrependsItsName 0.005
keyGeneratedFromAppDescriptorIsCompliant 0.014
unknownI18nAbleParentWithoutKeyGeneratorButWithGetIdPrependsItsId 0.004
keysForActionInChooseDialog 0.011
colonInIdIsReplacedByDot 0.002

AppDescriptorKeyGeneratorTest

keysForIcon 0.016
keysForLabel 0

AppLifecycleEventTest

testDispatchCallsOnAppStarted 0.017
testDispatchCallsOnAppStopped 0
testDispatchCallsOnAppFocused 0.001
testDispatchCallsNothingOnNullEvent 0

AppLauncherGroupDefinitionKeyGeneratorTest

keysForDialogLabel 0.001

AppLauncherLayoutTest

testGetGroup 0.001
testGetGroupEntry 0
testGetAppDescriptor 0
testContainsApp 0
testGetGroups 0.001

AppLayoutManagerImplTest

testGetAppLayout 0.039
testExcludesEmptyGroups 0.026
testExcludesAppWithoutIcon 0.03
testHidesAppsThatAreNotAccessibleForTheCurrentUser 0.025
testHidesEntriesThatAreNotEnabled 0.024
testIncludesAppsThatAreAccessibleForTheCurrentUser 0.024
testSendsLauncherLayoutChangedEvent 0.025
testExcludesAppWithoutLabel 0.022
testHidesAppsThatAreNotEnabled 0.023

AppDescriptorRegistryTest

testGetAppDescriptor 0.015
testGetAppDescriptors 0.006
testGetAppDescriptorThrowsExceptionWhenAppNotFound 0.006
testUnregisterAndRegisterWhenAdding 0.007
testRegister 0.006
testUnregister 0.006
testUnregisterAndRegisterWhenEmpty 0.006
testUnregisterAndRegisterInComplexCase 0.007
TestUnregisterAndRegisterWhenUpdating 0.007
testUnregisterAndRegisterWhenAddingFromMultipleSources 0.008
testUnregisterAndRegisterWhenRemoving 0.007

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange 3.052
testAppDescriptorOnStart 0.01

HasVersionsRuleTest

testIsAvailableForNodeWithoutVersioning 1.421
testIsAvailableForNullNode 0.497
testIsAvailableForItemVersionOnlyOneVersion 0.466
testIsAvailableForItemVersionTwoVersions 0.415
testIsAvailableForItemNoVersion 0.247
testIsAvailableForItemNoNode 0.244

IsDeletedRuleTest

testIsAvailableForItemThatIsDeleted 0.218
testIsAvailableForItemThatIsMarkedAsDeleted 0.25
testIsAvailableForItemThatIsNotDeleted 0.222

IsNotDeletedRuleTest

testIsAvailableForItemThatIsDeleted 0.001
MGNLUI-2038: Ignore until the rule is fixed.
testIsAvailableForItemThatIsMarkedAsDeleted 0.194
testIsAvailableForItemThatIsNotDeleted 0.2

IsNotVersionedRuleTest

testWithNode 0.209
testWithFrozenVersionNode 0.214
testWithVersion 0.237

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.011
testGoToWithCancelledWarning 0.002
testGoToSameLocationDoesNothing 0
testGoToWithConfirmedWarning 0.001

LocationHistoryHandlerTest

testCallsLocationControllerOnFragmentChange 0.005
testGoesToDefaultLocationWhenFragmentIsNull 0.001
testGoesToDefaultLocationWhenFragmentIsEmpty 0.001
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentHasUnknownPrefix 0.001
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentNull 0.001
testGoesToDefaultLocationWhenFragmentHasUnknownPrefix 0.001
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.