Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.492
info.magnolia.ui.framework.task 4 0 0 0 100% 0.127
info.magnolia.ui.framework.message 31 0 0 0 100% 7.26
info.magnolia.ui.framework.favorite 3 0 0 0 100% 0.028
info.magnolia.ui.framework.app 45 0 0 0 100% 4.469
info.magnolia.ui.dialog 1 0 0 0 100% 0.191
info.magnolia.ui.framework.ioc 29 0 0 0 100% 0.886
info.magnolia.ui.framework 4 0 0 0 100% 0.998

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

info.magnolia.ui.framework.task

Class Tests Errors Failures Skipped Success Rate Time
LocalTaskDispatcherTest 3 0 0 0 100% 0.119
LocalTaskDispatcherManagerTest 1 0 0 0 100% 0.008

info.magnolia.ui.framework.message

Class Tests Errors Failures Skipped Success Rate Time
MessageTest 3 0 0 0 100% 0.007
MessageStoreTest 7 0 0 0 100% 0.105
LocalMessageDispatcherTest 2 0 0 0 100% 0.016
MessagesManagerImplTest 8 0 0 0 100% 0.282
MessageStoreRepositoryTest 6 0 0 0 100% 3.235
Node2MapUtilTest 5 0 0 0 100% 3.615

info.magnolia.ui.framework.favorite

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

info.magnolia.ui.framework.app

Class Tests Errors Failures Skipped Success Rate Time
AppControllerImplTest 18 0 0 0 100% 1.399
EmbeddedPageSubAppTest 4 0 0 0 100% 0.153
AppInstanceControllerImplTest 15 0 0 0 100% 2.331
SubAppActionExecutorTest 1 0 0 0 100% 0.435
AppEventTest 2 0 0 0 100% 0.143
BaseSubAppTest 5 0 0 0 100% 0.008

info.magnolia.ui.dialog

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

info.magnolia.ui.framework.ioc

Class Tests Errors Failures Skipped Success Rate Time
EliminateRedundantSingletonAnnotationsTest 2 0 0 0 100% 0.041
UiComponentConfigurationAggregatorTest 2 0 0 0 100% 0.046
ProduceNewInstancesWithComponentProviderTest 4 0 0 0 100% 0.058
RebindUiComponentScopesTest 1 0 0 0 100% 0.003
UiContextBoundComponentProviderTest 2 0 0 0 100% 0.171
UiScopesTest 5 0 0 0 100% 0.327
UiBaseModuleTest 5 0 0 0 100% 0.056
ViewContextParameterResolverTest 1 0 0 0 100% 0.075
DeflateUiContextDependentBindingsTest 6 0 0 0 100% 0.032
SessionStoreTest 1 0 0 0 100% 0.077

info.magnolia.ui.framework

Class Tests Errors Failures Skipped Success Rate Time
UiFrameworkViewTest 3 0 0 0 100% 0.858
ContextPropertyTest 1 0 0 0 100% 0.14

Test Cases

[Summary] [Package List] [Test Cases]

AppControllerImplTest

testStartIfNotAlreadyRunningBasic 0.087
testIsAppStarted 0.078
testStartThemedApp 0.107
testOnLocationChangePreservesParameters 0.086
testOpenSubApp 0.066
testStopCurrentApp 0.074
testOpenTwoAppsWithSubApps 0.065
testStopAppTwoAppsWithOneFocused 0.074
testStartIfNotAlreadyRunningThenFocusBasic 0.06
testOpenTwoSubApps 0.068
testLocationHandler 0.098
testLocationChanged 0.065
testStopAppOneApp 0.065
testOnLocationChangeDoesntCrashWithNoDefaultAndUnknownSubApp 0.067
StoppingAnAppDoesNotAutomaticallyRedirectToAppLauncherWhenTheClosingAppIsNotTheLastOpenedOne 0.092
testOnLocationChangeDoesntCrashWithNoDefaultSubApp 0.064
testOnLocationChangeChecksForMissingSubAppId 0.069
testStopAppTwoAppsWithBothFocused 0.114

EliminateRedundantSingletonAnnotationsTest

rebindsTypesWithSingletonAnnotatedProviderInAppropriateUiScope 0.029
rebindsTypesWithSingletonAnnotatedImplementationInAppropriateUiScope 0.012

DeclarativeLayoutProducerTest

newLayoutWithFormComponentsForNestedTemplate 0.45
errorLayoutForDuplicateComponentMapping 0.006
errorLayoutForInvalidTemplate 0.005
errorLayoutForUnknownFormComponent 0.005
newLayoutForSimpleTemplate 0.001
throwExceptionOnResourceOriginError 0.008
errorLayoutForInvalidRootTemplate 0.009
newLayoutForNestedTemplate 0.005
errorLayoutOnFreemarkerError 0.003

UiFrameworkViewTest

childViewsWithSameNameHandledGracefully 0.075
componentsProducedByChildViewMayInjectParentView 0.049
bindViewContext 0.734

EmbeddedPageSubAppTest

testStartOpensFromLocationWhenBothGiven 0.053
testStartOpensFromLocation 0.039
testStartOpensFromDescriptor 0.032
testLocationChanged 0.029

DialogDefinitionRegistryTest

newDefinitionProviderBuilder 0.191

MessageTest

testRetrieveMessageValuesFromMap 0.006
testNonDefaultSender 0.001
testMessageInitiallyIsNotCleared 0

AppInstanceControllerImplTest

testSendGroupMessageForwardsToMessagesManager 1.003
testBroadcastMessageForwardsToMessagesManager 0.092
subAppStoppedEventFiredOnSubAppTermination 0.127
stopAppReleaseBeanStore 0.106
testStubAppLaunchedInCaseOfStartUpFailure 0.145
testSendUserMessageForwardsToMessagesManager 0.097
getCurrentLocationReturnAppLocationIfNoSubApp 0.075
testSendLocalMessageForwardsToMessagesManager 0.076
onlyTasksAndNotificationsAreHeaderApps 0.12
testStubSubAppLaunchedInCaseOfStartUpFailure 0.111
getSubAppContextsReturnAllSubAppContexts 0.098
getCurrentLocationReturnLocationWithSubApp 0.069
subAppLifecycleEventsAreDispatchedAccordingly 0.08
subAppStartedEventIsFiredOnSubAppCreation 0.064
switchingBetweenSubAppsTriggersBlurAndFocusEventsForCorrespondingSubApps 0.068

UiComponentConfigurationAggregatorTest

aggregatesComponentsWithBindingContexts 0.038
ableToGracefullyDistinguishComponentsOfAppsWithSimilarNames 0.008

FavoriteStoreTest

testGetFavoriteRootWhenNotYetExisting 0.008
testGetBookmarkRootWhenNotYetExisting 0.011
testGetFavoriteRoot 0.009

ProduceNewInstancesWithComponentProviderTest

doesNotEraseUiContextBoundBindings 0.019
injectGenericDependencyIntoTypeBoundAsUntargetted 0.01
injectGenericDependencyIntoImplBoundType 0.017
injectGenericDependencyInCtorBoundType 0.012

RebindUiComponentScopesTest

rebindsUiSingletonsToCorrespondingScopes 0.003

UiContextBoundComponentProviderTest

uponInstanceRequestSetsUiInjectionContextToCorrespondingKey 0.061
uponComponentRequestSetsUiInjectionContextToCorrespondingKey 0.11

UiScopesTest

storesAdmincentralScopedInstances 0.058
createsInstancePerScopeForUiContextScopedTypes 0.076
instanceNotInjectableOnceStoreCleanedUp 0.067
storesSubAppScopedInstances 0.069
storesAppScopedInstances 0.057

UiBaseModuleTest

bindsUiContextInAllScopes 0.025
bindsAppAndSubAppContexts 0.009
bindsVaadinInstances 0.014
bindsComponentProvider 0.004
bindsUiContextEventBuses 0.004

ViewContextParameterResolverTest

skipsParametersWithBindingAnnotations 0.075

MessageStoreTest

testMarshallMessageWithNullProperties 0.021
testRemoveMessageById 0.021
testFindMessageById 0.018
testMarshall 0.011
testSaveMessage 0.01
testUnmarshall 0.012
testUnmarshallWorksEvenIfNotAllPropertiesAreSet 0.012

SubAppActionExecutorTest

testCanResolveActionFromSubAppDescriptor 0.435

LocalMessageDispatcherTest

sendsEvents 0.005
sendsEventsEvenIfHandlersFail 0.011

DeflateUiContextDependentBindingsTest

reusesProviderInstanceConfigurationOfNonAbstractNonDeflatableTypes 0.001
bindsTypesWithDifferentImplementationsToContextResolvingProvider 0.014
squashesSimilarBindingsIntoOne 0.004
preventsCyclicDependenciesWithConcreteTypes 0.008
preservesSourceProviderBindingScopeWhenHandlingNonAbstractNonDeflatableTypes 0.003
reusesProviderInstanceConfigurationOfNonAbstractDeflatableTypes 0.002

ContextPropertyTest

test 0.14

MessagesManagerImplTest

testSendTransitiveGroupMessage 0.099
testSendRoleMessage 0.026
testSendLocalMessage 0.027
testBroadcastMessage 0.045
testDoNoClearAlreadyClearedMessage 0.023
testSendGroupMessage 0.021
testSendMessage 0.019
testDoesNotInvokeListenerAfterUnregistration 0.022

MessageStoreRepositoryTest

fetchMessagesForUserWithAtInName 1.024
getNumberOfUnclearedMessagesForUser 0.476
fetchMessages 0.459
getMessageAmount 0.377
getMessageAmounForUserWithAtInName 0.441
getNumberOfUnclearedMessagesForUserWithAtInName 0.458

LocalTaskDispatcherTest

sendsEvents 0.108
testDispatchingWithEmptyContextCreatesOneOnTheFly 0.004
sendsEventsEvenIfHandlersFail 0.007

AppEventTest

testThatEachAppGetsItsOwnEventBus 0.072
appNotifiedOfStoppingThroughAnEvent 0.071

SessionStoreTest

keepsSingleBeanStoragePerUiContextReference 0.077

LocalTaskDispatcherManagerTest

testTaskRecipientsAreCorrect 0.008

BaseSubAppTest

getCaptionReturnsConfiguredSubAppLabelValue 0.003
getCaptionReturnsEmptyStringIfNoConfiguredLabelValueIsFound 0.002
getIcon 0.001
getCaptionReturnsEmptyStringIfConfiguredLabelIsNull 0.001
getCaptionFallsBackToConfiguredAppLabelValue 0.001

Node2MapUtilTest

testReadPrimitives 1.993
testStoreSubnode 0.557
testExceptionOnNonPrimitive 0.36
testReadSubnodes 0.358
testStorePrimitives 0.347