Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.274
info.magnolia.ui.framework.task 4 0 0 0 100% 0.169
info.magnolia.ui.framework.message 31 0 0 0 100% 3.552
info.magnolia.ui.framework.favorite 3 0 0 0 100% 0.001
info.magnolia.ui.framework.app 45 0 0 0 100% 2.828
info.magnolia.ui.dialog 1 0 0 0 100% 0.071
info.magnolia.ui.framework.ioc 29 0 0 0 100% 0.315
info.magnolia.ui.framework 4 0 0 0 100% 0.376

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

info.magnolia.ui.framework.task

Class Tests Errors Failures Skipped Success Rate Time
LocalTaskDispatcherTest 3 0 0 0 100% 0.137
LocalTaskDispatcherManagerTest 1 0 0 0 100% 0.032

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.055
LocalMessageDispatcherTest 2 0 0 0 100% 0.036
MessagesManagerImplTest 8 0 0 0 100% 0.136
MessageStoreRepositoryTest 6 0 0 0 100% 1.447
Node2MapUtilTest 5 0 0 0 100% 1.874

info.magnolia.ui.framework.favorite

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

info.magnolia.ui.framework.app

Class Tests Errors Failures Skipped Success Rate Time
AppControllerImplTest 18 0 0 0 100% 0.732
EmbeddedPageSubAppTest 4 0 0 0 100% 0.083
AppInstanceControllerImplTest 15 0 0 0 100% 1.716
SubAppActionExecutorTest 1 0 0 0 100% 0.226
AppEventTest 2 0 0 0 100% 0.068
BaseSubAppTest 5 0 0 0 100% 0.003

info.magnolia.ui.dialog

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

info.magnolia.ui.framework.ioc

Class Tests Errors Failures Skipped Success Rate Time
EliminateRedundantSingletonAnnotationsTest 2 0 0 0 100% 0.016
UiComponentConfigurationAggregatorTest 2 0 0 0 100% 0.014
ProduceNewInstancesWithComponentProviderTest 4 0 0 0 100% 0.021
RebindUiComponentScopesTest 1 0 0 0 100% 0
UiContextBoundComponentProviderTest 2 0 0 0 100% 0.086
UiScopesTest 5 0 0 0 100% 0.11
UiBaseModuleTest 5 0 0 0 100% 0.018
ViewContextParameterResolverTest 1 0 0 0 100% 0.02
DeflateUiContextDependentBindingsTest 6 0 0 0 100% 0.007
SessionStoreTest 1 0 0 0 100% 0.023

info.magnolia.ui.framework

Class Tests Errors Failures Skipped Success Rate Time
UiFrameworkViewTest 3 0 0 0 100% 0.304
ContextPropertyTest 1 0 0 0 100% 0.072

Test Cases

[Summary] [Package List] [Test Cases]

AppControllerImplTest

testStartIfNotAlreadyRunningBasic 0.067
testIsAppStarted 0.036
testStartThemedApp 0.039
testOnLocationChangePreservesParameters 0.037
testOpenSubApp 0.034
testStopCurrentApp 0.042
testOpenTwoAppsWithSubApps 0.036
testStopAppTwoAppsWithOneFocused 0.04
testStartIfNotAlreadyRunningThenFocusBasic 0.035
testOpenTwoSubApps 0.036
testLocationHandler 0.037
testLocationChanged 0.035
testStopAppOneApp 0.034
testOnLocationChangeDoesntCrashWithNoDefaultAndUnknownSubApp 0.035
StoppingAnAppDoesNotAutomaticallyRedirectToAppLauncherWhenTheClosingAppIsNotTheLastOpenedOne 0.04
testOnLocationChangeDoesntCrashWithNoDefaultSubApp 0.036
testOnLocationChangeChecksForMissingSubAppId 0.072
testStopAppTwoAppsWithBothFocused 0.033

EliminateRedundantSingletonAnnotationsTest

rebindsTypesWithSingletonAnnotatedProviderInAppropriateUiScope 0.012
rebindsTypesWithSingletonAnnotatedImplementationInAppropriateUiScope 0.004

DeclarativeLayoutProducerTest

newLayoutWithFormComponentsForNestedTemplate 0.237
errorLayoutForDuplicateComponentMapping 0.007
errorLayoutForInvalidTemplate 0.006
errorLayoutForUnknownFormComponent 0.006
newLayoutForSimpleTemplate 0
throwExceptionOnResourceOriginError 0.005
errorLayoutForInvalidRootTemplate 0.004
newLayoutForNestedTemplate 0
errorLayoutOnFreemarkerError 0.004

UiFrameworkViewTest

childViewsWithSameNameHandledGracefully 0.001
componentsProducedByChildViewMayInjectParentView 0
bindViewContext 0.303

EmbeddedPageSubAppTest

testStartOpensFromLocationWhenBothGiven 0.033
testStartOpensFromLocation 0.016
testStartOpensFromDescriptor 0.019
testLocationChanged 0.015

DialogDefinitionRegistryTest

newDefinitionProviderBuilder 0.071

MessageTest

testRetrieveMessageValuesFromMap 0.004
testNonDefaultSender 0
testMessageInitiallyIsNotCleared 0

AppInstanceControllerImplTest

testSendGroupMessageForwardsToMessagesManager 0.489
testBroadcastMessageForwardsToMessagesManager 0.056
subAppStoppedEventFiredOnSubAppTermination 0.082
stopAppReleaseBeanStore 0.053
testStubAppLaunchedInCaseOfStartUpFailure 0.059
testSendUserMessageForwardsToMessagesManager 0.037
getCurrentLocationReturnAppLocationIfNoSubApp 0.033
testSendLocalMessageForwardsToMessagesManager 0.049
onlyTasksAndNotificationsAreHeaderApps 0.03
testStubSubAppLaunchedInCaseOfStartUpFailure 0.052
getSubAppContextsReturnAllSubAppContexts 0.035
getCurrentLocationReturnLocationWithSubApp 0.036
subAppLifecycleEventsAreDispatchedAccordingly 0.043
subAppStartedEventIsFiredOnSubAppCreation 0.032
switchingBetweenSubAppsTriggersBlurAndFocusEventsForCorrespondingSubApps 0.038

UiComponentConfigurationAggregatorTest

aggregatesComponentsWithBindingContexts 0.011
ableToGracefullyDistinguishComponentsOfAppsWithSimilarNames 0.003

FavoriteStoreTest

testGetFavoriteRootWhenNotYetExisting 0
testGetBookmarkRootWhenNotYetExisting 0
testGetFavoriteRoot 0

ProduceNewInstancesWithComponentProviderTest

doesNotEraseUiContextBoundBindings 0.007
injectGenericDependencyIntoTypeBoundAsUntargetted 0.005
injectGenericDependencyIntoImplBoundType 0.004
injectGenericDependencyInCtorBoundType 0.005

RebindUiComponentScopesTest

rebindsUiSingletonsToCorrespondingScopes 0

UiContextBoundComponentProviderTest

uponInstanceRequestSetsUiInjectionContextToCorrespondingKey 0.026
uponComponentRequestSetsUiInjectionContextToCorrespondingKey 0.059

UiScopesTest

storesAdmincentralScopedInstances 0.021
createsInstancePerScopeForUiContextScopedTypes 0.022
instanceNotInjectableOnceStoreCleanedUp 0.026
storesSubAppScopedInstances 0.021
storesAppScopedInstances 0.019

UiBaseModuleTest

bindsUiContextInAllScopes 0.008
bindsAppAndSubAppContexts 0.003
bindsVaadinInstances 0.002
bindsComponentProvider 0.002
bindsUiContextEventBuses 0.002

ViewContextParameterResolverTest

skipsParametersWithBindingAnnotations 0.02

MessageStoreTest

testMarshallMessageWithNullProperties 0.013
testRemoveMessageById 0.007
testFindMessageById 0.008
testMarshall 0.007
testSaveMessage 0.007
testUnmarshall 0.005
testUnmarshallWorksEvenIfNotAllPropertiesAreSet 0.007

SubAppActionExecutorTest

testCanResolveActionFromSubAppDescriptor 0.225

LocalMessageDispatcherTest

sendsEvents 0.001
sendsEventsEvenIfHandlersFail 0.035

DeflateUiContextDependentBindingsTest

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

ContextPropertyTest

test 0.072

MessagesManagerImplTest

testSendTransitiveGroupMessage 0.047
testSendRoleMessage 0.013
testSendLocalMessage 0.013
testBroadcastMessage 0.02
testDoNoClearAlreadyClearedMessage 0.011
testSendGroupMessage 0.011
testSendMessage 0.011
testDoesNotInvokeListenerAfterUnregistration 0.009

MessageStoreRepositoryTest

fetchMessagesForUserWithAtInName 0.382
getNumberOfUnclearedMessagesForUser 0.264
fetchMessages 0.201
getMessageAmount 0.22
getMessageAmounForUserWithAtInName 0.191
getNumberOfUnclearedMessagesForUserWithAtInName 0.188

LocalTaskDispatcherTest

sendsEvents 0.102
testDispatchingWithEmptyContextCreatesOneOnTheFly 0.021
sendsEventsEvenIfHandlersFail 0.014

AppEventTest

testThatEachAppGetsItsOwnEventBus 0.034
appNotifiedOfStoppingThroughAnEvent 0.034

SessionStoreTest

keepsSingleBeanStoragePerUiContextReference 0.023

LocalTaskDispatcherManagerTest

testTaskRecipientsAreCorrect 0.031

BaseSubAppTest

getCaptionReturnsConfiguredSubAppLabelValue 0.001
getCaptionReturnsEmptyStringIfNoConfiguredLabelValueIsFound 0.001
getIcon 0
getCaptionReturnsEmptyStringIfConfiguredLabelIsNull 0.001
getCaptionFallsBackToConfiguredAppLabelValue 0

Node2MapUtilTest

testReadPrimitives 1
testStoreSubnode 0.286
testExceptionOnNonPrimitive 0.215
testReadSubnodes 0.201
testStorePrimitives 0.172