magnolia-ui-api Version: 5.0.3 Last Published: Aug 22, 2013

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
67000100%20.172

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.162
info.magnolia.ui.api.location25000100%0.069
info.magnolia.ui.api.app.registry13000100%18.177
info.magnolia.ui.api.app.launcherlayout14000100%0.355
info.magnolia.ui.api.action11000100%1.409

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

info.magnolia.ui.api.location

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultLocationTest11000100%0.004
LocationControllerTest4000100%0.029
LocationHistoryHandlerTest10000100%0.036

info.magnolia.ui.api.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.123
ConfiguredAppDescriptorManagerTest2000100%18.054

info.magnolia.ui.api.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLauncherLayoutTest5000100%0.002
AppLayoutManagerImplTest9000100%0.353

info.magnolia.ui.api.action

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractActionExecutorTest11000100%1.409

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

actionIsAvailableWhenNoNodeTypesAreConfigured0.865
testCreatesAndExecutesAction0.064
actionIsAvailableIfRootEnabledAndGivenNull0.049
testThrowsExceptionWhenActionThrowsRuntimeException0.05
testThrowsExceptionWhenActionThrowsActionExecutionException0.045
actionIsAvailableOnlyForTheConfiguredNodeTypes0.053
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass0.045
testCreateActionThrowsExceptionWhenActionDefinitionMissing0.076
actionIsAvailableIfPropertiesEnabledAndGivenProperty0.057
missingActionIsNotAvailable0.05
actionIsAvailableOnlyForTheConfiguredRoles0.055

AppLifecycleEventTest

testDispatchCallsOnAppStarted0.16
testDispatchCallsOnAppStopped0.001
testDispatchCallsOnAppFocused0.001
testDispatchCallsNothingOnNullEvent0

AppLauncherLayoutTest

testGetGroup0.001
testGetGroupEntry0
testGetAppDescriptor0.001
testContainsApp0
testGetGroups0

AppLayoutManagerImplTest

testGetAppLayout0.076
testExcludesEmptyGroups0.036
testExcludesAppWithoutIcon0.031
testHidesAppsThatAreNotAccessibleForTheCurrentUser0.035
testHidesEntriesThatAreNotEnabled0.033
testIncludesAppsThatAreAccessibleForTheCurrentUser0.031
testSendsLauncherLayoutChangedEvent0.037
testExcludesAppWithoutLabel0.039
testHidesAppsThatAreNotEnabled0.035

AppDescriptorRegistryTest

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

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange18.045
testAppDescriptorOnStart0.009

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning0.022
testGoToWithCancelledWarning0.005
testGoToSameLocationDoesNothing0
testGoToWithConfirmedWarning0.002

LocationHistoryHandlerTest

testCallsLocationControllerOnFragmentChange0.012
testGoesToDefaultLocationWhenFragmentIsNull0.001
testGoesToDefaultLocationWhenFragmentIsEmpty0.001
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentHasUnknownPrefix0.007
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentNull0
testGoesToDefaultLocationWhenFragmentHasUnknownPrefix0.001
testUpdatesFragmentOnLocationChange0.001
testHandleCurrentHistoryNavigatesToDefaultLocationWhenFragmentEmpty0.005
testHandleCurrentHistoryNavigatesToDefaultLocation0.005
testSetsFragmentToEmptyOnLocationChangeWhenMapperDoesntRecognizeTheLocation0.003