Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
98 0 0 0 100% 24.01

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
info.magnolia.ui.framework.task 4 0 0 0 100% 0.206
info.magnolia.ui.framework.message 30 0 0 0 100% 15.483
info.magnolia.ui.framework.favorite 3 0 0 0 100% 0.262
info.magnolia.ui.dialog 1 0 0 0 100% 0.457
info.magnolia.ui.framework.app 40 0 0 0 100% 6.647
info.magnolia.ui.framework.ioc 20 0 0 0 100% 0.955

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

info.magnolia.ui.framework.task

Class Tests Errors Failures Skipped Success Rate Time
LocalTaskDispatcherManagerTest 1 0 0 0 100% 0.046
LocalTaskDispatcherTest 3 0 0 0 100% 0.16

info.magnolia.ui.framework.message

Class Tests Errors Failures Skipped Success Rate Time
LocalMessageDispatcherTest 2 0 0 0 100% 0.031
MessagesManagerImplTest 7 0 0 0 100% 0.435
MessageStoreRepositoryTest 6 0 0 0 100% 11.518
MessageStoreTest 7 0 0 0 100% 0.196
MessageTest 3 0 0 0 100% 0.005
Node2MapUtilTest 5 0 0 0 100% 3.298

info.magnolia.ui.framework.favorite

Class Tests Errors Failures Skipped Success Rate Time
FavoriteStoreTest 3 0 0 0 100% 0.262

info.magnolia.ui.dialog

Class Tests Errors Failures Skipped Success Rate Time
DialogDefinitionRegistryTest 1 0 0 0 100% 0.457

info.magnolia.ui.framework.app

Class Tests Errors Failures Skipped Success Rate Time
AppControllerImplTest 18 0 0 0 100% 4.253
AppEventTest 2 0 0 0 100% 0.331
AppInstanceControllerImplTest 10 0 0 0 100% 1.093
BaseSubAppTest 5 0 0 0 100% 0.027
EmbeddedPageSubAppTest 4 0 0 0 100% 0.85
SubAppActionExecutorTest 1 0 0 0 100% 0.093

info.magnolia.ui.framework.ioc

Class Tests Errors Failures Skipped Success Rate Time
DeflateUiContextDependentBindingsTest 3 0 0 0 100% 0.114
EliminateRedundantSingletonAnnotationsTest 2 0 0 0 100% 0.019
RebindUiComponentScopesTest 1 0 0 0 100% 0.007
UiBaseModuleTest 5 0 0 0 100% 0.156
UiComponentConfigurationAggregatorTest 2 0 0 0 100% 0.104
UiContextBoundComponentProviderTest 2 0 0 0 100% 0.099
UiScopesTest 5 0 0 0 100% 0.456

Test Cases

[Summary] [Package List] [Test Cases]

DialogDefinitionRegistryTest

newDefinitionProviderBuilder 0.457

AppControllerImplTest

testStartIfNotAlreadyRunningBasic 1.499
testIsAppStarted 0.181
testStartThemedApp 0.172
testOnLocationChangePreservesParameters 0.252
testOpenSubApp 0.213
testStopCurrentApp 0.238
testOpenTwoAppsWithSubApps 0.155
testStopAppTwoAppsWithOneFocused 0.19
testStartIfNotAlreadyRunningThenFocusBasic 0.228
testOpenTwoSubApps 0.171
testLocationHandler 0.099
testLocationChanged 0.098
testStopAppOneApp 0.144
testOnLocationChangeDoesntCrashWithNoDefaultAndUnknownSubApp 0.106
StoppingAnAppDoesNotAutomaticallyRedirectToAppLauncherWhenTheClosingAppIsNotTheLastOpenedOne 0.146
testOnLocationChangeDoesntCrashWithNoDefaultSubApp 0.11
testOnLocationChangeChecksForMissingSubAppId 0.118
testStopAppTwoAppsWithBothFocused 0.133

AppEventTest

testThatEachAppGetsItsOwnEventBus 0.18
appNotifiedOfStoppingThroughAnEvent 0.151

AppInstanceControllerImplTest

testSendGroupMessageForwardsToMessagesManager 0.165
testBroadcastMessageForwardsToMessagesManager 0.151
subAppStoppedEventFiredOnSubAppTermination 0.082
testStubAppLaunchedInCaseOfStartUpFailure 0.131
testSendUserMessageForwardsToMessagesManager 0.11
testSendLocalMessageForwardsToMessagesManager 0.08
testStubSubAppLaunchedInCaseOfStartUpFailure 0.1
subAppLifecycleEventsAreDispatchedAccordingly 0.095
subAppStartedEventIsFiredOnSubAppCreation 0.094
switchingBetweenSubAppsTriggersBlurAndFocusEventsForCorrespondingSubApps 0.085

BaseSubAppTest

getCaptionReturnsConfiguredSubAppLabelValue 0.018
getCaptionReturnsEmptyStringIfNoConfiguredLabelValueIsFound 0.006
getIcon 0.001
getCaptionReturnsEmptyStringIfConfiguredLabelIsNull 0.001
getCaptionFallsBackToConfiguredAppLabelValue 0.001

EmbeddedPageSubAppTest

testStartOpensFromLocationWhenBothGiven 0.674
testStartOpensFromLocation 0.06
testStartOpensFromDescriptor 0.068
testLocationChanged 0.048

SubAppActionExecutorTest

testCanResolveActionFromSubAppDescriptor 0.093

FavoriteStoreTest

testGetFavoriteRootWhenNotYetExisting 0.109
testGetBookmarkRootWhenNotYetExisting 0.047
testGetFavoriteRoot 0.106

DeflateUiContextDependentBindingsTest

bindsTypesWithDifferentImplementationsToContextResolvingProvider 0.075
squashesSimilarBindingsIntoOne 0.032
preventsCyclicDependenciesWithConcreteTypes 0.007

EliminateRedundantSingletonAnnotationsTest

rebindsTypesWithSingletonAnnotatedProviderInAppropriateUiScope 0.015
rebindsTypesWithSingletonAnnotatedImplementationInAppropriateUiScope 0.004

RebindUiComponentScopesTest

rebindsUiSingletonsToCorrespondingScopes 0.007

UiBaseModuleTest

bindsUiContextInAllScopes 0.013
bindsAppAndSubAppContexts 0.019
bindsVaadinInstances 0.013
bindsComponentProvider 0.085
bindsUiContextEventBuses 0.026

UiComponentConfigurationAggregatorTest

aggregatesComponentsWithBindingContexts 0.088
ableToGracefullyDistinguishComponentsOfAppsWithSimilarNames 0.016

UiContextBoundComponentProviderTest

uponInstanceRequestSetsUiInjectionContextToCorrespondingKey 0.062
uponComponentRequestSetsUiInjectionContextToCorrespondingKey 0.037

UiScopesTest

storesAdmincentralScopedInstances 0.207
createsInstancePerScopeForUiContextScopedTypes 0.054
instanceNotInjectableOnceStoreCleanedUp 0.07
storesSubAppScopedInstances 0.058
storesAppScopedInstances 0.067

LocalMessageDispatcherTest

sendsEvents 0.021
sendsEventsEvenIfHandlersFail 0.01

MessagesManagerImplTest

testSendTransitiveGroupMessage 0.12
testSendLocalMessage 0.052
testBroadcastMessage 0.119
testDoNoClearAlreadyClearedMessage 0.053
testSendGroupMessage 0.024
testSendMessage 0.038
testDoesNotInvokeListenerAfterUnregistration 0.029

MessageStoreRepositoryTest

fetchMessagesForUserWithAtInName 5.127
getNumberOfUnclearedMessagesForUser 1.483
fetchMessages 0.993
getMessageAmount 1.491
getMessageAmounForUserWithAtInName 1.364
getNumberOfUnclearedMessagesForUserWithAtInName 1.06

MessageStoreTest

testMarshallMessageWithNullProperties 0.022
testRemoveMessageById 0.048
testFindMessageById 0.033
testMarshall 0.03
testSaveMessage 0.021
testUnmarshall 0.016
testUnmarshallWorksEvenIfNotAllPropertiesAreSet 0.026

MessageTest

testRetrieveMessageValuesFromMap 0.001
testNonDefaultSender 0
testMessageInitiallyIsNotCleared 0.004

Node2MapUtilTest

testReadPrimitives 0.797
testStoreSubnode 0.627
testExceptionOnNonPrimitive 0.655
testReadSubnodes 0.71
testStorePrimitives 0.509

LocalTaskDispatcherManagerTest

testTaskRecipientsAreCorrect 0.046

LocalTaskDispatcherTest

sendsEvents 0.136
testDispatchingWithEmptyContextCreatesOneOnTheFly 0.008
sendsEventsEvenIfHandlersFail 0.016