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

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
87000100%16.12

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.framework.i18n5000100%0.114
info.magnolia.ui.framework.favorite3000100%0.124
info.magnolia.ui.framework.action31000100%10.724
info.magnolia.ui.framework.message28000100%3.521
info.magnolia.ui.framework.app20000100%1.637

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

info.magnolia.ui.framework.i18n

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractFieldFactoryI18NPropertyTest5000100%0.114

info.magnolia.ui.framework.favorite

ClassTestsErrors FailuresSkippedSuccess RateTime
FavoriteStoreTest3000100%0.124

info.magnolia.ui.framework.action

ClassTestsErrors FailuresSkippedSuccess RateTime
AbstractCommandActionTest5000100%0.701
ActivationActionTest4000100%0.195
AddFolderActionDefinitionTest1000100%0.39
AddNodeActionTest5000100%0.232
AddPropertyActionTest4000100%0.236
DeleteActionTest3000100%4.254
DeleteItemActionTest3000100%0.183
DuplicateNodeActionTest2000100%1.227
ExportActionTest1000100%0.754
MarkNodeAsDeletedActionTest3000100%2.552

info.magnolia.ui.framework.message

ClassTestsErrors FailuresSkippedSuccess RateTime
LocalMessageDispatcherTest2000100%0.423
MessagesManagerImplTest6000100%0.239
MessageStoreTest8000100%0.296
MessageTest7000100%0.01
Node2MapUtilTest5000100%2.553

info.magnolia.ui.framework.app

ClassTestsErrors FailuresSkippedSuccess RateTime
AppControllerImplTest14000100%1.496
AppEventTest1000100%0.065
BaseSubAppTest4000100%0.022
SubAppActionExecutorTest1000100%0.054

Test Cases

[Summary] [Package List] [Test Cases]

AbstractCommandActionTest

testExecute0.632
testGetParamsReturnsImmutableMap0.014
testGetParamsReturnsBasicContextParamsFromProperty0.033
testGetParamsReturnsOtherParamsFromDefinition0.011
testGetParamsReturnsBasicContextParamsFromNode0.011

ActivationActionTest

testBuildParamsSetsRecursiveParameter0.072
testGetExchangeException0.015
testWorkflowSuccessMessage0.089
testBasicSuccessMessage0.019

AddFolderActionDefinitionTest

testCanAddChildNode0.39

AddNodeActionTest

testDoesNothingGivenProperty0.051
testCanAddNodeToRootNode0.046
testCanAddChildNode0.049
testUsesConfiguredNodeType0.04
testGivesNodeUniqueName0.046

AddPropertyActionTest

testCanAddPropertyOnNode0.046
testDoesNothingGivenProperty0.057
testGivesPropertyUniqueName0.082
testCanAddPropertyToRootNode0.051

DeleteActionTest

testDeteteNodeCancelChanges2.37
testDeteteProperty1.128
testDeteteNode0.756

DeleteItemActionTest

testCanDeleteProperty0.076
testRefusesToDeleteRootNode0.052
testCanDeleteNode0.055

DuplicateNodeActionTest

testDuplicatesNode0.704
testDoesNothingGivenProperty0.523

ExportActionTest

testExportActionGetParam0.754

MarkNodeAsDeletedActionTest

testMarkNodeAsDeleteWithChieldren0.957
testMarkNodeAsDeleteLeaf0.713
testMarkNodeAsDeleteLeafCancelChanges0.882

AppControllerImplTest

testStartIfNotAlreadyRunningBasic0.551
testIsAppStarted0.071
testStartThemedApp0.072
testOnLocationChangePreservesParameters0.11
testOpenSubApp0.074
testStopCurrentApp0.093
testOpenTwoAppsWithSubApps0.091
testStopAppTwoAppsWithOneFocused0.082
testStartIfNotAlreadyRunningThenFocusBasic0.044
testOpenTwoSubApps0.051
testLocationHandler0.051
testStopAppOneApp0.036
testOnLocationChangeChecksForMissingSubAppId0.093
testStopAppTwoAppsWithBothFocused0.077

AppEventTest

testThatEachAppGetsItsOwnEventBus0.065

BaseSubAppTest

testGetCaptionFallsBackToConfiguredAppLabelValue0.016
testGetCaptionReturnsEmptyStringIfNoConfiguredLabelValueIsFound0.003
testGetCaptionReturnsEmptyStringIfConfiguredLabelIsNull0.002
testGetCaptionReturnsConfiguredSubAppLabelValue0.001

SubAppActionExecutorTest

testCanResolveActionFromSubAppDescriptor0.054

FavoriteStoreTest

testGetFavoriteRootWhenNotYetExisting0.057
testGetBookmarkRootWhenNotYetExisting0.033
testGetFavoriteRoot0.034

AbstractFieldFactoryI18NPropertyTest

i18nPropertyDefined_CurrentIsDefault0.07
i18nPropertyNotDefined_CurrentIsDefault0.011
i18nPropertyDefined_CurrentIsNotDefault0.01
i18nPropertyNotDefined_CurrentIsNotDefault0.011
i18nPropertyDefined_CurrentIsNotDefaultAndDefaultAlreadyExist0.012

LocalMessageDispatcherTest

sendsEvents0.215
sendsEventsEvenIfHandlersFail0.208

MessagesManagerImplTest

testSendLocalMessage0.052
testBroadcastMessage0.04
testDoNoClearAlreadyClearedMessage0.033
testSendMessage0.036
testClearMessage0.038
testDoesNotInvokeListenerAfterUnregistration0.04

MessageStoreTest

testRemoveMessageById0.035
testFindMessageById0.043
testGetNumberOfUnclearedMessagesForUser0.045
testMarshall0.032
testSaveMessage0.034
testUnmarshall0.036
testGetNumberOfUnclearedMessagesForUserAndByType0.038
testUnmarshallWorksEvenIfNotAllPropertiesAreSet0.033

MessageTest

testDefaultSender0.001
testCannotRemoveTimestamp0.001
testCannotReplaceTimestamp0.001
testRetrieveMessageValuesFromMap0.001
testNonDefaultSender0.002
testMessageInitiallyIsNotCleared0.001
testTimestampIsPreservedOnClear0.003

Node2MapUtilTest

testReadPrimitives0.497
testStoreSubnode0.512
testExceptionOnNonPrimitive0.634
testReadSubnodes0.426
testStorePrimitives0.484