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

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
85000100%23.372

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.872
info.magnolia.ui.framework.location19000100%0.038
info.magnolia.ui.framework.app.registry13000100%18.304
info.magnolia.ui.framework.app.launcherlayout7000100%0.441
info.magnolia.ui.framework.shell9000100%0.004
info.magnolia.ui.framework.message10000100%0.473
info.magnolia.ui.framework.instantpreview14000100%0.24

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

info.magnolia.ui.framework.location

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultLocationTest5000100%0
LocationControllerTest4000100%0.008
LocationHistoryHandlerTest10000100%0.03

info.magnolia.ui.framework.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.237
ConfiguredAppDescriptorManagerTest2000100%18.067

info.magnolia.ui.framework.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLauncherLayoutTest5000100%0.008
AppLayoutManagerImplTest2000100%0.433

info.magnolia.ui.framework.shell

ClassTestsErrors FailuresSkippedSuccess RateTime
FragmenterTest9000100%0.004

info.magnolia.ui.framework.message

ClassTestsErrors FailuresSkippedSuccess RateTime
LocalMessageDispatcherTest2000100%0.409
MessagesManagerImplTest5000100%0.064
MessageStoreTest3000100%0

info.magnolia.ui.framework.instantpreview

ClassTestsErrors FailuresSkippedSuccess RateTime
InstantPreviewDispatcherTest7000100%0.233
InstantPreviewLocationManagerTest7000100%0.007

Test Cases

[Summary] [Package List] [Test Cases]

AppLauncherLayoutTest

testGetGroups0.002
testGetGroup0.005
testGetGroupEntry0
testGetAppDescriptor0
testContainsApp0.001

AppLayoutManagerImplTest

testGetAppLayout0.429
testSendsEvents0.004

AppDescriptorRegistryTest

testGetAppDescriptor0.163
testGetAppDescriptors0.006
testGetAppDescriptorThrowsExceptionWhenAppNotFound0.007
testUnregisterAndRegisterWhenEmpty0.006
testUnregisterAndRegisterWhenAdding0.007
testUnregisterAndRegisterWhenRemoving0.007
TestUnregisterAndRegisterWhenUpdating0.007
testUnregisterAndRegisterInComplexCase0.008
testUnregisterAndRegisterWhenAddingFromMultipleSources0.014
testRegister0.006
testUnregister0.006

ConfiguredAppDescriptorManagerTest

testAppDescriptorOnStart0.052
testAppDescriptorReloadsOnChange18.015

EventHandlerCollectionTest

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

ResettableEventBusTest

testDoesNotDispatchToRemovedHandler0
testCanReset0.001

SimpleEventBusTest

testAreHandlersInvokedInOrder0.011
testHandlerAddedWhileDispatchingIsNotCalled0
testHandlerRemovedWhileDispatchingIsCalled0
testMultipleRegistrationOfTheSameHandlerWillNotResultInMultipleInvocations0
testMultipleThreads3.848

InstantPreviewDispatcherTest

onPreviewLocationReceivedTest0.225
isSharingTest0.004
shareTest0
unshareTest0
subscribeToTest0.002
subscribeToUnavailableHostThrowsExceptionTest0.001
unsubscribeFromTest0.001

InstantPreviewLocationManagerTest

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

DefaultLocationTest

testToString0
testExtractAppType0
testExtractAppId0
testExtractSubAppId0
testExtractParameter0

LocationControllerTest

testGoToWithoutWarning0.001
testGoToWithConfirmedWarning0.005
testGoToWithCancelledWarning0.002
testGoToSameLocationDoesNothing0

LocationHistoryHandlerTest

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

LocalMessageDispatcherTest

sendsEvents0.206
sendsEventsEvenIfHandlersFail0.203

MessagesManagerImplTest

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

MessageStoreTest

testMarshall0
testUnmarshall0
testUnmarshallWorksEvenIfNotAllPropertiesAreSet0

FragmenterTest

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