magnolia-ui-api Version: 5.1-alpha1 Last Published: Aug 23, 2013

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
69000100%20.176

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.168
info.magnolia.ui.api.location25000100%0.055
info.magnolia.ui.api.app.registry13000100%18.171
info.magnolia.ui.api.app.launcherlayout14000100%0.34
info.magnolia.ui.api.action13000100%1.442

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.168

info.magnolia.ui.api.location

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultLocationTest11000100%0.001
LocationControllerTest4000100%0.027
LocationHistoryHandlerTest10000100%0.027

info.magnolia.ui.api.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.11
ConfiguredAppDescriptorManagerTest2000100%18.061

info.magnolia.ui.api.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLauncherLayoutTest5000100%0.001
AppLayoutManagerImplTest9000100%0.339

info.magnolia.ui.api.action

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractActionExecutorTest13000100%1.442

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

actionIsAvailableWhenNoNodeTypesAreConfigured0.853
testCreatesAndExecutesAction0.06
actionIsAvailableIfRootEnabledAndGivenNull0.052
testThrowsExceptionWhenActionThrowsRuntimeException0.052
testThrowsExceptionWhenActionThrowsActionExecutionException0.042
actionIsAvailableOnlyForTheConfiguredNodeTypes0.052
actionIsAvailableForMultipleItemsWhenExplicitlySet0.047
actionIsNotAvailableForMultipleItemsByDefault0.052
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass0.049
testCreateActionThrowsExceptionWhenActionDefinitionMissing0.05
actionIsAvailableIfPropertiesEnabledAndGivenProperty0.044
missingActionIsNotAvailable0.046
actionIsAvailableOnlyForTheConfiguredRoles0.043

AppLifecycleEventTest

testDispatchCallsOnAppStarted0.166
testDispatchCallsOnAppStopped0.001
testDispatchCallsOnAppFocused0.001
testDispatchCallsNothingOnNullEvent0

AppLauncherLayoutTest

testGetGroup0.001
testGetGroupEntry0
testGetAppDescriptor0
testContainsApp0
testGetGroups0

AppLayoutManagerImplTest

testGetAppLayout0.06
testExcludesEmptyGroups0.031
testExcludesAppWithoutIcon0.035
testHidesAppsThatAreNotAccessibleForTheCurrentUser0.031
testHidesEntriesThatAreNotEnabled0.03
testIncludesAppsThatAreAccessibleForTheCurrentUser0.034
testSendsLauncherLayoutChangedEvent0.042
testExcludesAppWithoutLabel0.038
testHidesAppsThatAreNotEnabled0.038

AppDescriptorRegistryTest

testGetAppDescriptor0.022
testGetAppDescriptors0.009
testGetAppDescriptorThrowsExceptionWhenAppNotFound0.007
testUnregisterAndRegisterWhenAdding0.011
testRegister0.009
testUnregister0.008
testUnregisterAndRegisterWhenEmpty0.007
testUnregisterAndRegisterInComplexCase0.008
TestUnregisterAndRegisterWhenUpdating0.009
testUnregisterAndRegisterWhenAddingFromMultipleSources0.011
testUnregisterAndRegisterWhenRemoving0.009

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange18.053
testAppDescriptorOnStart0.008

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning0.02
testGoToWithCancelledWarning0.004
testGoToSameLocationDoesNothing0
testGoToWithConfirmedWarning0.003

LocationHistoryHandlerTest

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