magnolia-ui-framework Version: 5.0-alpha1-s7 Last Published: Oct 10, 2012

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
84000100%23.348

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.938
info.magnolia.ui.framework.location18000100%0.032
info.magnolia.ui.framework.app.registry13000100%18.262
info.magnolia.ui.framework.app.launcherlayout7000100%0.406
info.magnolia.ui.framework.shell9000100%0.003
info.magnolia.ui.framework.message10000100%0.468
info.magnolia.ui.framework.instantpreview14000100%0.239

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.009
ResettableEventBusTest2000100%0.002
SimpleEventBusTest5000100%3.927

info.magnolia.ui.framework.location

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultLocationTest4000100%0
LocationControllerTest4000100%0.007
LocationHistoryHandlerTest10000100%0.025

info.magnolia.ui.framework.app.registry

ClassTestsErrors FailuresSkippedSuccess RateTime
AppDescriptorRegistryTest11000100%0.202
ConfiguredAppDescriptorManagerTest2000100%18.06

info.magnolia.ui.framework.app.launcherlayout

ClassTestsErrors FailuresSkippedSuccess RateTime
AppLauncherLayoutTest5000100%0.006
AppLayoutManagerImplTest2000100%0.4

info.magnolia.ui.framework.shell

ClassTestsErrors FailuresSkippedSuccess RateTime
FragmenterTest9000100%0.003

info.magnolia.ui.framework.message

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

info.magnolia.ui.framework.instantpreview

ClassTestsErrors FailuresSkippedSuccess RateTime
InstantPreviewDispatcherTest7000100%0.233
InstantPreviewLocationManagerTest7000100%0.006

Test Cases

[Summary] [Package List] [Test Cases]

AppLauncherLayoutTest

testGetGroups0.003
testGetGroup0.003
testGetGroupEntry0
testGetAppDescriptor0
testContainsApp0

AppLayoutManagerImplTest

testGetAppLayout0.397
testSendsEvents0.003

AppDescriptorRegistryTest

testGetAppDescriptor0.154
testGetAppDescriptors0.004
testGetAppDescriptorThrowsExceptionWhenAppNotFound0.004
testUnregisterAndRegisterWhenEmpty0.003
testUnregisterAndRegisterWhenAdding0.005
testUnregisterAndRegisterWhenRemoving0.005
TestUnregisterAndRegisterWhenUpdating0.004
testUnregisterAndRegisterInComplexCase0.005
testUnregisterAndRegisterWhenAddingFromMultipleSources0.008
testRegister0.007
testUnregister0.003

ConfiguredAppDescriptorManagerTest

testAppDescriptorOnStart0.047
testAppDescriptorReloadsOnChange18.013

EventHandlerCollectionTest

testCanDispatchEvent0.002
testCanRemoveHandler0
testCanRemoveHandlerViaReturnedRegistrationObject0
testHandlersAreInvokedInOrder0.007
testHandlersAddedWhileDispatchedAreNotInvoked0
testHandlersRemovedWhileDispatchedAreStillInvoked0

ResettableEventBusTest

testDoesNotDispatchToRemovedHandler0.001
testCanReset0.001

SimpleEventBusTest

testAreHandlersInvokedInOrder0.009
testHandlerAddedWhileDispatchingIsNotCalled0
testHandlerRemovedWhileDispatchingIsCalled0.001
testMultipleRegistrationOfTheSameHandlerWillNotResultInMultipleInvocations0
testMultipleThreads3.917

InstantPreviewDispatcherTest

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

InstantPreviewLocationManagerTest

subscribeToTest0.005
unsubscribeFromTest0
registerInstantPreviewHostTest0
ensureRegisterInstantPreviewHostGeneratesUniqueIdTest0
unregisterInstantPreviewHostTest0
subscribeToNonExistingHostThrowsExceptionTest0.001
ensureHostIdIsANineDigitsStringTest0

DefaultLocationTest

testToString0
testExtractType0
testExtractPrefix0
testExtractToken0

LocationControllerTest

testGoToWithoutWarning0
testGoToWithConfirmedWarning0.004
testGoToWithCancelledWarning0.002
testGoToSameLocationDoesNothing0.001

LocationHistoryHandlerTest

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

LocalMessageDispatcherTest

sendsEvents0.206
sendsEventsEvenIfHandlersFail0.203

MessagesManagerImplTest

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

MessageStoreTest

testMarshall0
testUnmarshall0
testUnmarshallWorksEvenIfNotAllPropertiesAreSet0

FragmenterTest

testCanCreateWithNull0
testCanCreateWithEmptyString0.003
testCanAddAfterBeingCreatedWithNull0
testSplitsFragmentCorrectly0
testSplitsWithFragmentAsEmptyStringIfColonMissing0
testSplitsWithFragmentAsEmptyStringIfNothingAfterColon0
testCanAddAfterBeingCreatedWithProperFragment0
testCanAddAfterBeingCreatedWithEmptyString0
testCanRemoveSubFragments0