magnolia-ui-api Version: 5.0.1 Last Published: Jul 9, 2013

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
67000100%20.298

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.app4000100%0.137
info.magnolia.ui.api.location25000100%0.052
info.magnolia.ui.api.app.registry13000100%18.191
info.magnolia.ui.api.app.launcherlayout14000100%0.376
info.magnolia.ui.api.action11000100%1.542

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

info.magnolia.ui.api.app

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLifecycleEventTest4000100%0.137

info.magnolia.ui.api.location

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultLocationTest11000100%0.003
LocationControllerTest4000100%0.023
LocationHistoryHandlerTest10000100%0.026

info.magnolia.ui.api.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.136
ConfiguredAppDescriptorManagerTest2000100%18.055

info.magnolia.ui.api.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLauncherLayoutTest5000100%0.002
AppLayoutManagerImplTest9000100%0.374

info.magnolia.ui.api.action

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractActionExecutorTest11000100%1.542

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

actionIsAvailableWhenNoNodeTypesAreConfigured0.967
testCreatesAndExecutesAction0.068
actionIsAvailableIfRootEnabledAndGivenNull0.068
testThrowsExceptionWhenActionThrowsRuntimeException0.058
testThrowsExceptionWhenActionThrowsActionExecutionException0.054
actionIsAvailableOnlyForTheConfiguredNodeTypes0.059
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass0.053
testCreateActionThrowsExceptionWhenActionDefinitionMissing0.056
actionIsAvailableIfPropertiesEnabledAndGivenProperty0.053
missingActionIsNotAvailable0.055
actionIsAvailableOnlyForTheConfiguredRoles0.051

AppLifecycleEventTest

testDispatchCallsOnAppStarted0.135
testDispatchCallsOnAppStopped0.001
testDispatchCallsOnAppFocused0.001
testDispatchCallsNothingOnNullEvent0

AppLauncherLayoutTest

testGetGroup0
testGetGroupEntry0.001
testGetAppDescriptor0
testContainsApp0.001
testGetGroups0

AppLayoutManagerImplTest

testGetAppLayout0.067
testExcludesEmptyGroups0.041
testExcludesAppWithoutIcon0.041
testHidesAppsThatAreNotAccessibleForTheCurrentUser0.039
testHidesEntriesThatAreNotEnabled0.04
testIncludesAppsThatAreAccessibleForTheCurrentUser0.037
testSendsLauncherLayoutChangedEvent0.036
testExcludesAppWithoutLabel0.036
testHidesAppsThatAreNotEnabled0.037

AppDescriptorRegistryTest

testGetAppDescriptor0.022
testGetAppDescriptors0.012
testGetAppDescriptorThrowsExceptionWhenAppNotFound0.012
testUnregisterAndRegisterWhenAdding0.016
testRegister0.01
testUnregister0.01
testUnregisterAndRegisterWhenEmpty0.01
testUnregisterAndRegisterInComplexCase0.011
TestUnregisterAndRegisterWhenUpdating0.011
testUnregisterAndRegisterWhenAddingFromMultipleSources0.012
testUnregisterAndRegisterWhenRemoving0.01

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange18.043
testAppDescriptorOnStart0.012

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning0.017
testGoToWithCancelledWarning0.004
testGoToSameLocationDoesNothing0.001
testGoToWithConfirmedWarning0.001

LocationHistoryHandlerTest

testCallsLocationControllerOnFragmentChange0.011
testGoesToDefaultLocationWhenFragmentIsNull0.001
testGoesToDefaultLocationWhenFragmentIsEmpty0.002
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentHasUnknownPrefix0.004
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentNull0.001
testGoesToDefaultLocationWhenFragmentHasUnknownPrefix0.002
testUpdatesFragmentOnLocationChange0.001
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentEmpty0.001
testHandleCurrentHistoryNavigatesToDefaultLocation0.002
testSetsFragmentToEmptyOnLocationChangeWhenMapperDoesntRecognizeTheLocation0.001