Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
126 0 0 0 100% 9.181

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.layout 9 0 0 0 100% 0.353
info.magnolia.ui.framework.task 4 0 0 0 100% 0.118
info.magnolia.ui.framework.message 31 0 0 0 100% 4.462
info.magnolia.ui.framework.favorite 3 0 0 0 100% 0.022
info.magnolia.ui.framework.app 45 0 0 0 100% 3.238
info.magnolia.ui.dialog 1 0 0 0 100% 0.09
info.magnolia.ui.framework.ioc 29 0 0 0 100% 0.43
info.magnolia.ui.framework 4 0 0 0 100% 0.468

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

info.magnolia.ui.framework.layout

Class Tests Errors Failures Skipped Success Rate Time
DeclarativeLayoutProducerTest 9 0 0 0 100% 0.353

info.magnolia.ui.framework.task

Class Tests Errors Failures Skipped Success Rate Time
LocalTaskDispatcherTest 3 0 0 0 100% 0.115
LocalTaskDispatcherManagerTest 1 0 0 0 100% 0.003

info.magnolia.ui.framework.message

Class Tests Errors Failures Skipped Success Rate Time
MessageTest 3 0 0 0 100% 0.004
MessageStoreTest 7 0 0 0 100% 0.068
LocalMessageDispatcherTest 2 0 0 0 100% 0.007
MessagesManagerImplTest 8 0 0 0 100% 0.243
MessageStoreRepositoryTest 6 0 0 0 100% 1.725
Node2MapUtilTest 5 0 0 0 100% 2.415

info.magnolia.ui.framework.favorite

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

info.magnolia.ui.framework.app

Class Tests Errors Failures Skipped Success Rate Time
AppControllerImplTest 18 0 0 0 100% 0.904
EmbeddedPageSubAppTest 4 0 0 0 100% 0.089
AppInstanceControllerImplTest 15 0 0 0 100% 1.892
SubAppActionExecutorTest 1 0 0 0 100% 0.277
AppEventTest 2 0 0 0 100% 0.072
BaseSubAppTest 5 0 0 0 100% 0.004

info.magnolia.ui.dialog

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

info.magnolia.ui.framework.ioc

Class Tests Errors Failures Skipped Success Rate Time
EliminateRedundantSingletonAnnotationsTest 2 0 0 0 100% 0.018
UiComponentConfigurationAggregatorTest 2 0 0 0 100% 0.037
ProduceNewInstancesWithComponentProviderTest 4 0 0 0 100% 0.029
RebindUiComponentScopesTest 1 0 0 0 100% 0.004
UiContextBoundComponentProviderTest 2 0 0 0 100% 0.074
UiScopesTest 5 0 0 0 100% 0.165
UiBaseModuleTest 5 0 0 0 100% 0.028
ViewContextParameterResolverTest 1 0 0 0 100% 0.035
DeflateUiContextDependentBindingsTest 6 0 0 0 100% 0.013
SessionStoreTest 1 0 0 0 100% 0.027

info.magnolia.ui.framework

Class Tests Errors Failures Skipped Success Rate Time
UiFrameworkViewTest 3 0 0 0 100% 0.402
ContextPropertyTest 1 0 0 0 100% 0.066

Test Cases

[Summary] [Package List] [Test Cases]

AppControllerImplTest

testStartIfNotAlreadyRunningBasic 0.077
testIsAppStarted 0.043
testStartThemedApp 0.043
testOnLocationChangePreservesParameters 0.043
testOpenSubApp 0.044
testStopCurrentApp 0.055
testOpenTwoAppsWithSubApps 0.051
testStopAppTwoAppsWithOneFocused 0.05
testStartIfNotAlreadyRunningThenFocusBasic 0.042
testOpenTwoSubApps 0.051
testLocationHandler 0.042
testLocationChanged 0.042
testStopAppOneApp 0.044
testOnLocationChangeDoesntCrashWithNoDefaultAndUnknownSubApp 0.046
StoppingAnAppDoesNotAutomaticallyRedirectToAppLauncherWhenTheClosingAppIsNotTheLastOpenedOne 0.057
testOnLocationChangeDoesntCrashWithNoDefaultSubApp 0.046
testOnLocationChangeChecksForMissingSubAppId 0.083
testStopAppTwoAppsWithBothFocused 0.037

EliminateRedundantSingletonAnnotationsTest

rebindsTypesWithSingletonAnnotatedProviderInAppropriateUiScope 0.015
rebindsTypesWithSingletonAnnotatedImplementationInAppropriateUiScope 0.003

DeclarativeLayoutProducerTest

newLayoutWithFormComponentsForNestedTemplate 0.285
errorLayoutForDuplicateComponentMapping 0.012
errorLayoutForInvalidTemplate 0.001
errorLayoutForUnknownFormComponent 0.001
newLayoutForSimpleTemplate 0
throwExceptionOnResourceOriginError 0.003
errorLayoutForInvalidRootTemplate 0.006
newLayoutForNestedTemplate 0.003
errorLayoutOnFreemarkerError 0.035

UiFrameworkViewTest

childViewsWithSameNameHandledGracefully 0.037
componentsProducedByChildViewMayInjectParentView 0.03
bindViewContext 0.335

EmbeddedPageSubAppTest

testStartOpensFromLocationWhenBothGiven 0.031
testStartOpensFromLocation 0.019
testStartOpensFromDescriptor 0.02
testLocationChanged 0.018

DialogDefinitionRegistryTest

newDefinitionProviderBuilder 0.09

MessageTest

testRetrieveMessageValuesFromMap 0.003
testNonDefaultSender 0
testMessageInitiallyIsNotCleared 0

AppInstanceControllerImplTest

testSendGroupMessageForwardsToMessagesManager 0.517
testBroadcastMessageForwardsToMessagesManager 0.054
subAppStoppedEventFiredOnSubAppTermination 0.089
stopAppReleaseBeanStore 0.051
testStubAppLaunchedInCaseOfStartUpFailure 0.066
testSendUserMessageForwardsToMessagesManager 0.036
getCurrentLocationReturnAppLocationIfNoSubApp 0.039
testSendLocalMessageForwardsToMessagesManager 0.057
onlyTasksAndNotificationsAreHeaderApps 0.036
testStubSubAppLaunchedInCaseOfStartUpFailure 0.074
getSubAppContextsReturnAllSubAppContexts 0.021
getCurrentLocationReturnLocationWithSubApp 0.039
subAppLifecycleEventsAreDispatchedAccordingly 0.042
subAppStartedEventIsFiredOnSubAppCreation 0.039
switchingBetweenSubAppsTriggersBlurAndFocusEventsForCorrespondingSubApps 0.042

UiComponentConfigurationAggregatorTest

aggregatesComponentsWithBindingContexts 0.03
ableToGracefullyDistinguishComponentsOfAppsWithSimilarNames 0.007

FavoriteStoreTest

testGetFavoriteRootWhenNotYetExisting 0.007
testGetBookmarkRootWhenNotYetExisting 0.008
testGetFavoriteRoot 0.007

ProduceNewInstancesWithComponentProviderTest

doesNotEraseUiContextBoundBindings 0.01
injectGenericDependencyIntoTypeBoundAsUntargetted 0.006
injectGenericDependencyIntoImplBoundType 0.005
injectGenericDependencyInCtorBoundType 0.008

RebindUiComponentScopesTest

rebindsUiSingletonsToCorrespondingScopes 0.004

UiContextBoundComponentProviderTest

uponInstanceRequestSetsUiInjectionContextToCorrespondingKey 0.029
uponComponentRequestSetsUiInjectionContextToCorrespondingKey 0.044

UiScopesTest

storesAdmincentralScopedInstances 0.037
createsInstancePerScopeForUiContextScopedTypes 0.028
instanceNotInjectableOnceStoreCleanedUp 0.04
storesSubAppScopedInstances 0.026
storesAppScopedInstances 0.033

UiBaseModuleTest

bindsUiContextInAllScopes 0.015
bindsAppAndSubAppContexts 0.004
bindsVaadinInstances 0.003
bindsComponentProvider 0.003
bindsUiContextEventBuses 0.003

ViewContextParameterResolverTest

skipsParametersWithBindingAnnotations 0.035

MessageStoreTest

testMarshallMessageWithNullProperties 0.011
testRemoveMessageById 0.01
testFindMessageById 0.007
testMarshall 0.012
testSaveMessage 0.01
testUnmarshall 0.008
testUnmarshallWorksEvenIfNotAllPropertiesAreSet 0.01

SubAppActionExecutorTest

testCanResolveActionFromSubAppDescriptor 0.276

LocalMessageDispatcherTest

sendsEvents 0.002
sendsEventsEvenIfHandlersFail 0.005

DeflateUiContextDependentBindingsTest

reusesProviderInstanceConfigurationOfNonAbstractNonDeflatableTypes 0
bindsTypesWithDifferentImplementationsToContextResolvingProvider 0.002
squashesSimilarBindingsIntoOne 0.003
preventsCyclicDependenciesWithConcreteTypes 0.004
preservesSourceProviderBindingScopeWhenHandlingNonAbstractNonDeflatableTypes 0.002
reusesProviderInstanceConfigurationOfNonAbstractDeflatableTypes 0.002

ContextPropertyTest

test 0.066

MessagesManagerImplTest

testSendTransitiveGroupMessage 0.062
testSendRoleMessage 0.017
testSendLocalMessage 0.02
testBroadcastMessage 0.041
testDoNoClearAlreadyClearedMessage 0.024
testSendGroupMessage 0.024
testSendMessage 0.026
testDoesNotInvokeListenerAfterUnregistration 0.027

MessageStoreRepositoryTest

fetchMessagesForUserWithAtInName 0.446
getNumberOfUnclearedMessagesForUser 0.336
fetchMessages 0.244
getMessageAmount 0.244
getMessageAmounForUserWithAtInName 0.244
getNumberOfUnclearedMessagesForUserWithAtInName 0.211

LocalTaskDispatcherTest

sendsEvents 0.109
testDispatchingWithEmptyContextCreatesOneOnTheFly 0.002
sendsEventsEvenIfHandlersFail 0.003

AppEventTest

testThatEachAppGetsItsOwnEventBus 0.038
appNotifiedOfStoppingThroughAnEvent 0.034

SessionStoreTest

keepsSingleBeanStoragePerUiContextReference 0.027

LocalTaskDispatcherManagerTest

testTaskRecipientsAreCorrect 0.003

BaseSubAppTest

getCaptionReturnsConfiguredSubAppLabelValue 0.001
getCaptionReturnsEmptyStringIfNoConfiguredLabelValueIsFound 0
getIcon 0.001
getCaptionReturnsEmptyStringIfConfiguredLabelIsNull 0
getCaptionFallsBackToConfiguredAppLabelValue 0

Node2MapUtilTest

testReadPrimitives 1.351
testStoreSubnode 0.348
testExceptionOnNonPrimitive 0.253
testReadSubnodes 0.254
testStorePrimitives 0.208