Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
236 0 0 0 100% 136.377

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
org.exoplatform.commons.notification.lifecycle 4 0 0 0 100% 1.94
org.exoplatform.services.bench 10 0 0 0 100% 1.307
org.exoplatform.jpa 1 0 0 0 100% 0.901
org.exoplatform.jpa.notifications.web.dao 6 0 0 0 100% 14.175
org.exoplatform.commons.notification.storage 27 0 0 0 100% 28.322
org.exoplatform.jpa.notifications.web.impl 9 0 0 0 100% 28.207
org.exoplatform.commons.notification.template 2 0 0 0 100% 0.232
org.exoplatform.commons.event 2 0 0 0 100% 1.266
org.exoplatform.commons.cluster 1 0 0 0 100% 1.137
org.exoplatform.services.deployment.plugins 2 0 0 0 100% 1.394
org.exoplatform.commons.utils 28 0 0 0 100% 7.807
org.exoplatform.services.deployment 6 0 0 0 100% 2.454
org.exoplatform.settings.rest 13 0 0 0 100% 2.465
org.exoplatform.job 2 0 0 0 100% 2.294
org.exoplatform.settings.impl 29 0 0 0 100% 8.743
org.exoplatform.commons.notification.channel 2 0 0 0 100% 0.786
org.exoplatform.jpa.settings.dao 4 0 0 0 100% 1.485
org.exoplatform.jpa.notifications.email.dao 7 0 0 0 100% 8.633
org.exoplatform.commons.notification 20 0 0 0 100% 6.539
org.exoplatform.services.user 5 0 0 0 100% 1.731
org.exoplatform.commons.persistence.impl 22 0 0 0 100% 4.138
org.exoplatform.jpa.settings.impl 18 0 0 0 100% 4.251
org.exoplatform.services.diff 4 0 0 0 100% 0.519
org.exoplatform.commons.embedder 6 0 0 0 100% 3.926
org.exoplatform.jpa.notifications.email.impl 6 0 0 0 100% 1.725

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

org.exoplatform.commons.notification.lifecycle

Class Tests Errors Failures Skipped Success Rate Time
WebLifecycleTest 4 0 0 0 100% 1.94

org.exoplatform.services.bench

Class Tests Errors Failures Skipped Success Rate Time
TestDataInjector 7 0 0 0 100% 0.891
TestDataInjectorService 3 0 0 0 100% 0.416

org.exoplatform.jpa

Class Tests Errors Failures Skipped Success Rate Time
CommonsDAOJPAImplTest 1 0 0 0 100% 0.901

org.exoplatform.jpa.notifications.web.dao

Class Tests Errors Failures Skipped Success Rate Time
WebNotifDAOTest 1 0 0 0 100% 9.225
WebUsersDAOTest 5 0 0 0 100% 4.95

org.exoplatform.commons.notification.storage

Class Tests Errors Failures Skipped Success Rate Time
WebNotificationStorageTest 8 0 0 0 100% 7.967
WebStorageMultiThreadTest 1 0 0 0 100% 4.908
JPACachedWebNotificationStorageTest 9 0 0 0 100% 8.041
CachedWebNotificationStorageTest 9 0 0 0 100% 7.406

org.exoplatform.jpa.notifications.web.impl

Class Tests Errors Failures Skipped Success Rate Time
JPAWebNotificationStorageTest 9 0 0 0 100% 28.207

org.exoplatform.commons.notification.template

Class Tests Errors Failures Skipped Success Rate Time
TemplateUtilsTestCase 2 0 0 0 100% 0.232

org.exoplatform.commons.event

Class Tests Errors Failures Skipped Success Rate Time
TestEventManager 2 0 0 0 100% 1.266

org.exoplatform.commons.cluster

Class Tests Errors Failures Skipped Success Rate Time
StartableClusterAwareTest 1 0 0 0 100% 1.137

org.exoplatform.services.deployment.plugins

Class Tests Errors Failures Skipped Success Rate Time
XMLDeploymentPluginTest 2 0 0 0 100% 1.394

org.exoplatform.commons.utils

Class Tests Errors Failures Skipped Success Rate Time
XPathUtilsTest 4 0 0 0 100% 0.458
NotificationUtilsTest 1 0 0 0 100% 0.918
HTMLSanitizerTest 6 0 0 0 100% 0.838
CommonsUtilsTest 3 0 0 0 100% 1.112
StringCommonUtilsTest 6 0 0 0 100% 0.868
CommonsUtilsMockingTest 2 0 0 0 100% 1.325
DateUtilsTest 2 0 0 0 100% 0.999
TestActivityTypeUtils 4 0 0 0 100% 1.289

org.exoplatform.services.deployment

Class Tests Errors Failures Skipped Success Rate Time
TestContentInitializerService 1 0 0 0 100% 1.044
ContentInitializerServiceTest 3 0 0 0 100% 0.433
UtilsTest 2 0 0 0 100% 0.977

org.exoplatform.settings.rest

Class Tests Errors Failures Skipped Success Rate Time
SettingResourceTest 13 0 0 0 100% 2.465

org.exoplatform.job

Class Tests Errors Failures Skipped Success Rate Time
MultiTenancyJobTest 1 0 0 0 100% 1.319
MultiTenancyTaskTest 1 0 0 0 100% 0.975

org.exoplatform.settings.impl

Class Tests Errors Failures Skipped Success Rate Time
CacheUserSettingTest 3 0 0 0 100% 0.39
FeatureServiceTest 9 0 0 0 100% 1.898
SettingServiceImplTest 7 0 0 0 100% 1.749
SettingServiceEventTest 4 0 0 0 100% 1.253
UserSettingServiceTest 3 0 0 0 100% 2.064
CacheSettingTest 3 0 0 0 100% 1.389

org.exoplatform.commons.notification.channel

Class Tests Errors Failures Skipped Success Rate Time
ChannelManagerTest 2 0 0 0 100% 0.786

org.exoplatform.jpa.settings.dao

Class Tests Errors Failures Skipped Success Rate Time
SettingsDAOTest 4 0 0 0 100% 1.485

org.exoplatform.jpa.notifications.email.dao

Class Tests Errors Failures Skipped Success Rate Time
MailQueueDAOTest 2 0 0 0 100% 2.458
MailDigestDAOTest 2 0 0 0 100% 3.585
MailNotifDAOTest 3 0 0 0 100% 2.59

org.exoplatform.commons.notification

Class Tests Errors Failures Skipped Success Rate Time
NotificationServiceTest 5 0 0 0 100% 1.355
NotificationContextImplTest 2 0 0 0 100% 0.831
NotificationUtilsTest 5 0 0 0 100% 0.558
TemplateTestCase 5 0 0 0 100% 2.976
PluginContainerTest 3 0 0 0 100% 0.819

org.exoplatform.services.user

Class Tests Errors Failures Skipped Success Rate Time
UserStateServiceTest 5 0 0 0 100% 1.731

org.exoplatform.commons.persistence.impl

Class Tests Errors Failures Skipped Success Rate Time
TestEntityManagerService 4 0 0 0 100% 1.74
ExoTransactionalAnnotationTest 12 0 0 0 100% 1.641
LiquibaseDataInitializerTest 6 0 0 0 100% 0.757

org.exoplatform.jpa.settings.impl

Class Tests Errors Failures Skipped Success Rate Time
JPASettingServiceImplTest 11 0 0 0 100% 1.97
JPASettingServiceImplEventTest 5 0 0 0 100% 1.886
JPAUserSettingServiceTest 2 0 0 0 100% 0.395

org.exoplatform.services.diff

Class Tests Errors Failures Skipped Success Rate Time
TestDiffService 4 0 0 0 100% 0.519

org.exoplatform.commons.embedder

Class Tests Errors Failures Skipped Success Rate Time
EmbedderTest 6 0 0 0 100% 3.926

org.exoplatform.jpa.notifications.email.impl

Class Tests Errors Failures Skipped Success Rate Time
JPANotificationServiceTest 6 0 0 0 100% 1.725

Test Cases

[Summary] [Package List] [Test Cases]

JPAWebNotificationStorageTest

testUpdateNotification 9.785
testGetNewMessage 3.415
testRemoveByJob 3.306
testSaveWebNotification 2.125
testMarkReadAll 2.269
testRemoveByLiveTime 2.109
testSpecialUserNameToGetMessage 1.319
testGetNotificationsByTypeAndParams 1.448
testMarkRead 1.852

WebNotifDAOTest

testInit 9.162

WebUsersDAOTest

testgetNotificationsByTypeAndParams 2.658
testFindWebNotifsByLastUpdatedDate 0.516
testFindWebNotifsByFilter 0.595
testFindUnreadNotification 0.4
testInit 0.332

MailQueueDAOTest

testFindAllByOffsetAndLimit 2.026
testInit 0.265

MailDigestDAOTest

testIsDigestSent 2.92
testInit 0.47

MailNotifDAOTest

testGetNotifsByPluginAndWeek 1.865
testGetNotifsByPluginAndDay 0.271
testInit 0.242

JPANotificationServiceTest

testWithUserNameContainSpecialCharacter 1.124
testServiceNotNull 0.051
testSave 0.051
testNormalGetByUserAndRemoveMessagesSentByContext 0.055
testNormalGetByUserAndRemoveMessagesSent 0.058
testSpecialGetByUserAndRemoveMessagesSent 0.077

JPASettingServiceImplTest

testGetEmptyContextsByScopeAndContextType 0.797
testGlobalNamed 0.061
testGetSettingsByContext 0.071
testRemoveSimple 0.055
testGetContextsByTypeAndScopeAndSettingName 0.079
testGlobalSimple 0.051
testRemovePage 0.061
testRemoveUser 0.054
testUserSimple 0.054
testUserNamed 0.05
testCountSettingsByNameAndValueAndScope 0.065

JPASettingServiceImplEventTest

testEventForSetMethod 0.974
testEventForUserRemove 0.164
testEventForKeyRemove 0.188
testEventForScopeRemove 0.157
testInit 0.148

JPAUserSettingServiceTest

test_1_GetDefautSetting 0.217
testDisabledUser 0.071

SettingsDAOTest

testGetSetting 0.852
testGetByContext 0.147
testGetByUser 0.136
testInit 0.153

CommonsDAOJPAImplTest

testInit 0.851

WebNotificationStorageTest

testUpdateNotification 0.965
testGetNewMessage 1.015
testRemoveByJob 1.515
testSaveWebNotification 0.763
testMarkReadAll 0.894
testRemoveByLiveTime 0.967
testSpecialUserNameToGetMessage 0.653
testMarkRead 0.697

WebStorageMultiThreadTest

testWebDatastorage 4.828

JPACachedWebNotificationStorageTest

testHidePopover 0.616
testRead 1.104
testSave 0.78
testGetNewMessage 0.995
testRemoveByJob 0.896
testGetNotifications 0.865
testRemove 0.702
testUpdate 0.784
testMarkAllRead 0.678

CachedWebNotificationStorageTest

testHidePopover 0.536
testRead 0.643
testSave 0.763
testGetNewMessage 0.881
testRemoveByJob 0.955
testGetNotifications 0.89
testRemove 0.686
testUpdate 0.738
testMarkAllRead 0.731

NotificationServiceTest

testWithUserNameContainSpecialCharacter 0.639
testServiceNotNull 0.069
testSave 0.09
testNormalGetByUserAndRemoveMessagesSent 0.1
testSpecialGetByUserAndRemoveMessagesSent 0.124

WebLifecycleTest

testReceiveOneNotificationWhenUsersHavePluginDisabled 1.076
testReceiveOneNotificationWhenUsersHaveDefaultSettings 0.078
testReceiveAnUpdatedNotifWhenItWasPreviouslyRemovedFromPopover 0.454
testReceiveOneNotificationWhenUsersHaveChannelDisabled 0.1

ChannelManagerTest

testChannelSize 0.593
testGetChannel 0.083

NotificationContextImplTest

testDailyContext 0.606
testWeeklyContext 0.092

NotificationUtilsTest

testIsValidEmailAddresses 0.059
testCloneUserSettting 0.056
testProcessLinkInActivityTitle 0.055
testNotificationInfoClone 0.058
testGetLocale 0.055

TemplateTestCase

testDigestMore 0.753
testDigestOne 0.55
testInstantlyMail 0.527
testDigest 0.426
testDigestThree 0.407

PluginContainerTest

testPLF41Plugin 0.513
testPlugin 0.069
testRenderPlugin 0.067

TemplateUtilsTestCase

testGetExcerptSubject 0.057
testCleanHtmlTags 0.062

XPathUtilsTest

testNull 0.057
testEscapeIllegalSQLName 0.057
testAtSign 0.059
testNumeric 0.057

NotificationUtilsTest

testRemoveLinkTitle 0.856

HTMLSanitizerTest

testEncodeImg 0.174
testStarAllowedInImageLinks 0.059
testEmpty 0.059
testSanitizeRemovesScripts 0.059
testTextAllowedInLinks 0.058
testSanitizeRemovesOnclick 0.058

CommonsUtilsTest

testGetService 0.79
testGetRestContextName 0.058
testGetCurrentDomain 0.091

StringCommonUtilsTest

testIsContainSpecialCharacter 0.223
testEncodeSpecialCharInHTML 0.06
testEncodeSpecialCharInSearchTerm 0.058
testCompressDecompress 0.059
testDecodeSpecialCharToHTMLnumber 0.057
testencodeSpecialCharForSimpleInput 0.058

CommonsUtilsMockingTest

testShouldReturnCurrentSite 0.414
testShouldReturnDefaultPortalSite 0.068

DateUtilsTest

testGetTimeZone 0.741
testGetRelativeTimeLabel 0.113

TestActivityTypeUtils

testAttachWithVersion 0.796
testGetActivityId 0.064
testRemoveAttchAtivityId 0.063
testAttachActivityId 0.1

TestEntityManagerService

testServiceInitialize 0.992
testStartLifecycleTwice 0.163
testEntityManagerOutsideDefaultLifecycle 0.15
testInit 0.18

ExoTransactionalAnnotationTest

testManualRollback 0.196
test_ifRollbackOnlyTrue_transactionRollbackWithNoError 0.062
testDeleteDaoMethodIsTransactional 0.063
testManualCommit 0.062
testNonTransactionalMethodDoesNotCommit 0.063
testMultiThreading 0.074
testCommitFailed 0.062
test_ifRollbackPreviousTransaction_noErrorToCommitNextTransaction 0.062
testCreateServiceMethodIsTransactional 0.061
testCreateDaoMethodIsTransactional 0.061
testRequestLifeCycle 0.062
testMultipleTransactions 0.073

LiquibaseDataInitializerTest

shouldSetContextsWhenContextsAreDefinedInConfiguration 0.061
shouldUseDefaultContextsWhenContextsAreNotDefinedInConfiguration 0.061
shouldSetDatasourceNameWhenDatasourceNameIsDefinedInConfiguration 0.061
shouldCallLiquibaseWhenChangeLogsAreAdded 0.089
shouldNotCallLiquibaseWhenNoChangeLogs 0.061
shouldThrowExceptionWhenDatasourceNameIsNotDefinedInConfiguration 0.061

EmbedderTest

testYoutube 0.86
testDailyMotionShare 0.568
testNonMediaLink 0.064
testSlideShare 1.101
testVimeoShare 0.65
testFlickr 0.29

TestEventManager

testBroadcastDMSEvent 1.05
testManageEventListener 0.088

StartableClusterAwareTest

testRunningService 1.072

TestDataInjector

testRandomParagraph 0.063
testRandomWords 0.074
testReadUsersIfExist 0.074
testReadGroupsIfExist 0.062
testRandomUser 0.061
testCreateTextResource 0.062
testReadMembershipIfExist 0.062

TestDataInjectorService

testExecute 0.102
testInject 0.061
testReject 0.062

XMLDeploymentPluginTest

testDeploySVFormat 1.039
testDeploySVFormatWithHistory 0.199

TestContentInitializerService

testStart 0.981

ContentInitializerServiceTest

testStart 0.107
testStop 0.062
testAddPlugin 0.069

UtilsTest

testMakePath 0.685
testImportNode 0.159

TestDiffService

testSimpleWordDiff 0.077
testSimpleWordDiffAsHTML 0.067
testSimpleLineDiffAsHTML 0.062
testSimpleLineDiff 0.061

UserStateServiceTest

testLastLogin 1.109
testPing 0.064
testIsOnline 0.064
testGetUserState 0.064
testOnline 0.088

MultiTenancyJobTest

testExecute 1.252

MultiTenancyTaskTest

testRun 0.912

CacheUserSettingTest

testGetAndSaveUserSetting 0.072
testGetUserSetting 0.063
testGetAndRemoveUserSetting 0.066

FeatureServiceTest

testShouldFeatureNotBeActiveWhenNoSettingAndPropertyIsFalse 0.757
testActiveFeatureForUser 0.079
testShouldFeatureNotBeActiveWhenSettingIsFalseAndPropertyIsTrue 0.064
testShouldFeatureBeActiveWhenNoSettingAndNoProperty 0.07
testShouldFeatureNotBeActiveWhenSettingIsFalse 0.063
testShouldFeatureBeActiveWhenNoSettingAndPropertyIsTrue 0.064
testSaveActiveFeature 0.065
testShouldFeatureBeActiveWhenSettingIsTrueAndPropertyIsFalse 0.064
testShouldFeatureBeActiveWhenSettingIsTrue 0.092

SettingServiceImplTest

testGlobalNamed 0.839
testRemoveSimple 0.07
testGlobalSimple 0.064
testRemovePage 0.068
testRemoveUser 0.076
testUserSimple 0.074
testUserNamed 0.111

SettingServiceEventTest

testEventForSetMethod 0.761
testEventForUserRemove 0.073
testEventForKeyRemove 0.066
testEventForScopeRemove 0.097

UserSettingServiceTest

testDisabledUser 0.55
test_1_GetDefautSetting 0.192
test_3_initDefaultSettingsMultiThreads 1.109

CacheSettingTest

testSetAndRemovePage 1.025
testSetAndRemoveUser 0.068
testSetAndSimpleRemove 0.105

SettingResourceTest

testReturnSettingWhenUserGetsOwnUserSetting 0.754
testDoNotReturnSettingWhenUserGetsGlobalSetting 0.068
testSettingCreatedWhenUserSetsOwnUserSetting 0.074
testNotReturnSettingWhenSuperUserGetsNonExistingSetting 0.07
testNotReturnSettingWhenUserGetsOtherUserSetting 0.067
testNotReturnSettingWhenSuperUserGetsSettingWithWrongFormat 0.071
testNotReturnSettingWhenSuperUserGetsExistingSettingWithWrongScope 0.069
testSettingCreatedWhenSuperUserSetsScopeSetting 0.069
testSettingNotCreatedWhenUserSetsOtherUserSetting 0.067
testSettingCreatedWhenSuperUserSetsGlobalSetting 0.069
testSettingNotCreatedWhenUserSetsGlobalSetting 0.066
testReturnSettingWhenSuperUserGetsGlobalSetting 0.069
testReturnScopeSettingWhenSuperUserGetsScopeSetting 0.109