magnolia-ui-api Version: 5.0.4 Last Published: Aug 28, 2013

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
67000100%19.603

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.112
info.magnolia.ui.api.location25000100%0.042
info.magnolia.ui.api.app.registry13000100%18.136
info.magnolia.ui.api.app.launcherlayout14000100%0.268
info.magnolia.ui.api.action11000100%1.045

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

info.magnolia.ui.api.location

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultLocationTest11000100%0.002
LocationControllerTest4000100%0.022
LocationHistoryHandlerTest10000100%0.018

info.magnolia.ui.api.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.099
ConfiguredAppDescriptorManagerTest2000100%18.037

info.magnolia.ui.api.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLauncherLayoutTest5000100%0.002
AppLayoutManagerImplTest9000100%0.266

info.magnolia.ui.api.action

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractActionExecutorTest11000100%1.045

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

actionIsAvailableWhenNoNodeTypesAreConfigured0.644
testCreatesAndExecutesAction0.044
actionIsAvailableIfRootEnabledAndGivenNull0.051
testThrowsExceptionWhenActionThrowsRuntimeException0.039
testThrowsExceptionWhenActionThrowsActionExecutionException0.035
actionIsAvailableOnlyForTheConfiguredNodeTypes0.039
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass0.033
testCreateActionThrowsExceptionWhenActionDefinitionMissing0.044
actionIsAvailableIfPropertiesEnabledAndGivenProperty0.042
missingActionIsNotAvailable0.041
actionIsAvailableOnlyForTheConfiguredRoles0.033

AppLifecycleEventTest

testDispatchCallsOnAppStarted0.11
testDispatchCallsOnAppStopped0.001
testDispatchCallsOnAppFocused0.001
testDispatchCallsNothingOnNullEvent0

AppLauncherLayoutTest

testGetGroup0.001
testGetGroupEntry0
testGetAppDescriptor0.001
testContainsApp0
testGetGroups0

AppLayoutManagerImplTest

testGetAppLayout0.05
testExcludesEmptyGroups0.029
testExcludesAppWithoutIcon0.028
testHidesAppsThatAreNotAccessibleForTheCurrentUser0.026
testHidesEntriesThatAreNotEnabled0.027
testIncludesAppsThatAreAccessibleForTheCurrentUser0.029
testSendsLauncherLayoutChangedEvent0.029
testExcludesAppWithoutLabel0.024
testHidesAppsThatAreNotEnabled0.024

AppDescriptorRegistryTest

testGetAppDescriptor0.016
testGetAppDescriptors0.008
testGetAppDescriptorThrowsExceptionWhenAppNotFound0.011
testUnregisterAndRegisterWhenAdding0.014
testRegister0.007
testUnregister0.007
testUnregisterAndRegisterWhenEmpty0.007
testUnregisterAndRegisterInComplexCase0.007
TestUnregisterAndRegisterWhenUpdating0.008
testUnregisterAndRegisterWhenAddingFromMultipleSources0.007
testUnregisterAndRegisterWhenRemoving0.007

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange18.03
testAppDescriptorOnStart0.007

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning0.015
testGoToWithCancelledWarning0.005
testGoToSameLocationDoesNothing0
testGoToWithConfirmedWarning0.002

LocationHistoryHandlerTest

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