magnolia-ui-framework Version: 5.0-alpha1-rc1 Last Published: Dec 10, 2012

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
85000100%23.369

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.event13000100%3.864
info.magnolia.ui.framework.location19000100%0.038
info.magnolia.ui.framework.app.registry13000100%18.301
info.magnolia.ui.framework.app.launcherlayout7000100%0.426
info.magnolia.ui.framework.shell9000100%0.004
info.magnolia.ui.framework.message10000100%0.472
info.magnolia.ui.framework.instantpreview14000100%0.264

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

info.magnolia.ui.framework.event

ClassTestsErrors FailuresSkippedSuccess RateTime
EventHandlerCollectionTest6000100%0.012
ResettableEventBusTest2000100%0.001
SimpleEventBusTest5000100%3.851

info.magnolia.ui.framework.location

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultLocationTest5000100%0.001
LocationControllerTest4000100%0.008
LocationHistoryHandlerTest10000100%0.029

info.magnolia.ui.framework.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.232
ConfiguredAppDescriptorManagerTest2000100%18.069

info.magnolia.ui.framework.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLauncherLayoutTest5000100%0.019
AppLayoutManagerImplTest2000100%0.407

info.magnolia.ui.framework.shell

ClassTestsErrors FailuresSkippedSuccess RateTime
FragmenterTest9000100%0.004

info.magnolia.ui.framework.message

ClassTestsErrors FailuresSkippedSuccess RateTime
LocalMessageDispatcherTest2000100%0.409
MessagesManagerImplTest5000100%0.062
MessageStoreTest3000100%0.001

info.magnolia.ui.framework.instantpreview

ClassTestsErrors FailuresSkippedSuccess RateTime
InstantPreviewDispatcherTest7000100%0.255
InstantPreviewLocationManagerTest7000100%0.009

Test Cases

[Summary] [Package List] [Test Cases]

AppLauncherLayoutTest

testGetGroups0.003
testGetGroup0.004
testGetGroupEntry0
testGetAppDescriptor0.012
testContainsApp0

AppLayoutManagerImplTest

testGetAppLayout0.404
testSendsEvents0.003

AppDescriptorRegistryTest

testGetAppDescriptor0.159
testGetAppDescriptors0.006
testGetAppDescriptorThrowsExceptionWhenAppNotFound0.007
testUnregisterAndRegisterWhenEmpty0.006
testUnregisterAndRegisterWhenAdding0.007
testUnregisterAndRegisterWhenRemoving0.007
TestUnregisterAndRegisterWhenUpdating0.007
testUnregisterAndRegisterInComplexCase0.011
testUnregisterAndRegisterWhenAddingFromMultipleSources0.01
testRegister0.006
testUnregister0.006

ConfiguredAppDescriptorManagerTest

testAppDescriptorOnStart0.053
testAppDescriptorReloadsOnChange18.016

EventHandlerCollectionTest

testCanDispatchEvent0.002
testCanRemoveHandler0
testCanRemoveHandlerViaReturnedRegistrationObject0
testHandlersAreInvokedInOrder0.009
testHandlersAddedWhileDispatchedAreNotInvoked0.001
testHandlersRemovedWhileDispatchedAreStillInvoked0

ResettableEventBusTest

testDoesNotDispatchToRemovedHandler0
testCanReset0.001

SimpleEventBusTest

testAreHandlersInvokedInOrder0.012
testHandlerAddedWhileDispatchingIsNotCalled0
testHandlerRemovedWhileDispatchingIsCalled0.001
testMultipleRegistrationOfTheSameHandlerWillNotResultInMultipleInvocations0
testMultipleThreads3.838

InstantPreviewDispatcherTest

onPreviewLocationReceivedTest0.243
isSharingTest0.005
shareTest0
unshareTest0.001
subscribeToTest0.004
subscribeToUnavailableHostThrowsExceptionTest0.001
unsubscribeFromTest0.001

InstantPreviewLocationManagerTest

subscribeToTest0.005
unsubscribeFromTest0
registerInstantPreviewHostTest0.001
ensureRegisterInstantPreviewHostGeneratesUniqueIdTest0.001
unregisterInstantPreviewHostTest0
subscribeToNonExistingHostThrowsExceptionTest0.001
ensureHostIdIsANineDigitsStringTest0.001

DefaultLocationTest

testToString0
testExtractAppType0
testExtractAppId0.001
testExtractSubAppId0
testExtractParameter0

LocationControllerTest

testGoToWithoutWarning0
testGoToWithConfirmedWarning0.005
testGoToWithCancelledWarning0.002
testGoToSameLocationDoesNothing0.001

LocationHistoryHandlerTest

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

LocalMessageDispatcherTest

sendsEvents0.206
sendsEventsEvenIfHandlersFail0.203

MessagesManagerImplTest

testBroadcastMessage0.044
testSendMessage0.004
testSendLocalMessage0.004
testClearMessage0.005
testDoesNotInvokeListenerAfterUnregistration0.005

MessageStoreTest

testMarshall0
testUnmarshall0
testUnmarshallWorksEvenIfNotAllPropertiesAreSet0

FragmenterTest

testCanCreateWithNull0.001
testCanCreateWithEmptyString0.003
testCanAddAfterBeingCreatedWithNull0
testSplitsFragmentCorrectly0
testSplitsWithFragmentAsEmptyStringIfColonMissing0
testSplitsWithFragmentAsEmptyStringIfNothingAfterColon0
testCanAddAfterBeingCreatedWithProperFragment0
testCanAddAfterBeingCreatedWithEmptyString0
testCanRemoveSubFragments0