magnolia-ui-api Version: 5.0 Last Published: Jun 19, 2013

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
65000100%20.404

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.173
info.magnolia.ui.api.location25000100%0.061
info.magnolia.ui.api.app.registry13000100%18.211
info.magnolia.ui.api.app.launcherlayout12000100%0.322
info.magnolia.ui.api.action11000100%1.637

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

info.magnolia.ui.api.location

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultLocationTest11000100%0.005
LocationControllerTest4000100%0.029
LocationHistoryHandlerTest10000100%0.027

info.magnolia.ui.api.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.148
ConfiguredAppDescriptorManagerTest2000100%18.063

info.magnolia.ui.api.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLauncherLayoutTest5000100%0.004
AppLayoutManagerImplTest7000100%0.318

info.magnolia.ui.api.action

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractActionExecutorTest11000100%1.637

Test Cases

[Summary] [Package List] [Test Cases]

AbstractActionExecutorTest

actionIsAvailableWhenNoNodeTypesAreConfigured0.986
testCreatesAndExecutesAction0.076
actionIsAvailableIfRootEnabledAndGivenNull0.08
testThrowsExceptionWhenActionThrowsRuntimeException0.065
testThrowsExceptionWhenActionThrowsActionExecutionException0.05
actionIsAvailableOnlyForTheConfiguredNodeTypes0.057
testCreateActionThrowsExceptionWhenActionDefinitionLacksActionClass0.065
testCreateActionThrowsExceptionWhenActionDefinitionMissing0.067
actionIsAvailableIfPropertiesEnabledAndGivenProperty0.06
missingActionIsNotAvailable0.072
actionIsAvailableOnlyForTheConfiguredRoles0.059

AppLifecycleEventTest

testDispatchCallsOnAppStarted0.171
testDispatchCallsOnAppStopped0.001
testDispatchCallsOnAppFocused0.001
testDispatchCallsNothingOnNullEvent0

AppLauncherLayoutTest

testGetGroup0.004
testGetGroupEntry0
testGetAppDescriptor0
testContainsApp0
testGetGroups0

AppLayoutManagerImplTest

testGetAppLayout0.078
testExcludesEmptyGroups0.04
testHidesAppsThatAreNotAccessibleForTheCurrentUser0.041
testHidesEntriesThatAreNotEnabled0.042
testIncludesAppsThatAreAccessibleForTheCurrentUser0.038
testSendsLauncherLayoutChangedEvent0.041
testHidesAppsThatAreNotEnabled0.038

AppDescriptorRegistryTest

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

ConfiguredAppDescriptorManagerTest

testAppDescriptorReloadsOnChange18.05
testAppDescriptorOnStart0.013

DefaultLocationTest

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

LocationControllerTest

testGoToWithoutWarning0.021
testGoToWithCancelledWarning0.006
testGoToSameLocationDoesNothing0
testGoToWithConfirmedWarning0.002

LocationHistoryHandlerTest

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