Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
140 0 0 0 100% 46.628

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.forum.service.cache 7 0 0 0 100% 3.033
org.exoplatform.forum.service.ws.test 7 0 0 0 100% 1.666
org.exoplatform.forum.utils 41 0 0 0 100% 3.009
org.exoplatform.forum.service.upgrade 1 0 0 0 100% 0.246
org.exoplatform.forum.service 61 0 0 0 100% 32.865
org.exoplatform.forum.service.impl 12 0 0 0 100% 1.695
org.exoplatform.forum.search 11 0 0 0 100% 4.114

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

org.exoplatform.forum.service.cache

Class Tests Errors Failures Skipped Success Rate Time
TestCacheDataStrorage 7 0 0 0 100% 3.033

org.exoplatform.forum.service.ws.test

Class Tests Errors Failures Skipped Success Rate Time
ForumWebserviceTestCase 7 0 0 0 100% 1.666

org.exoplatform.forum.utils

Class Tests Errors Failures Skipped Success Rate Time
UserProfileUtilsTestCase 6 0 0 0 100% 1.3
UtilsTestCase 31 0 0 0 100% 1.517
ForumEventQueryTestCase 4 0 0 0 100% 0.192

org.exoplatform.forum.service.upgrade

Class Tests Errors Failures Skipped Success Rate Time
ForumServiceUpdaterTestCase 1 0 0 0 100% 0.246

org.exoplatform.forum.service

Class Tests Errors Failures Skipped Success Rate Time
ForumServiceTestCase 30 0 0 0 100% 20.871
UserProfileTestCase 8 0 0 0 100% 4.169
CategoryForumTestCase 5 0 0 0 100% 1.182
TopicTestCase 4 0 0 0 100% 1.856
PostTestCase 8 0 0 0 100% 2.778
SearchTestCase 3 0 0 0 100% 0.756
ForumListenerTestCase 3 0 0 0 100% 1.253

org.exoplatform.forum.service.impl

Class Tests Errors Failures Skipped Success Rate Time
JCRDataStorageTestCase 11 0 0 0 100% 1.185
TestForumEventListener 1 0 0 0 100% 0.51

org.exoplatform.forum.search

Class Tests Errors Failures Skipped Success Rate Time
DiscussionSearchConnectorTestCase 8 0 0 0 100% 3.968
UnifiedSearchOrderTest 3 0 0 0 100% 0.146

Test Cases

[Summary] [Package List] [Test Cases]

ForumServiceTestCase

testSendEmailNotification 3.889
testGetObjectNameByPathAfterDeleted 0.331
testCallDisableUserListener 0.421
testBookMark 0.68
testGetObjectNameById 0.474
testTag 0.414
testForumStatic 1.371
testGetObjectNameByPath 0.275
testIpBan 0.31
testWatch 0.292
testSplitTopic 0.403
testSendNotificationEmail 5.342
testPrivateMessage 0.202
testGetAllLink 0.351
testCalculateDeletedGroupForNormal 0.619
testEmailPermissionOnIntranet 0.323
testImportXML 0.145
testImportXXE 0.152
testForumAdministration 0.118
testCategories 0.154
testProcessDisabledUser 0.293
testCategoriesListWithoutSpacesCategory 0.212
testEmailPermissionOnSpace 0.496
testExportXML 0.209
testCalculateDeletedGroupForSpace 0.205
testGetScreenName 0.108
testCallEnableUserListener 0.211
testMoveForum 0.331
testLastTopicOfForum 2.357
testCategoriesListWithSpacesCategory 0.183

UserProfileTestCase

testSaveModerator 0.307
testAccessTopic 0.135
testUserProfile 0.123
testSearchUserProfile 2.863
testUserLogin 0.259
testCacheLoginUser 0.156
testUserProfileListAccess 0.12
testSavePostCount 0.206

CategoryForumTestCase

testForum 0.375
testFilterForumByName 0.241
testFilterAllForumByName 0.409
testCategory 0.097
testGetCategoryIncludedSpace 0.06

TopicTestCase

testTopic 0.675
testTopicListAccessWithPostCountOrder 0.517
testTopicListAccessWithVoteRating 0.505
testUpdateTopicWithModeratePost 0.159

PostTestCase

testGetPostByUser 0.664
testAddPostsInSpaceContext 0.197
testPost 0.797
testCensoredPost 0.19
testGetPostForSplitTopic 0.184
testAddPostInSpaceContext 0.131
testPostListAccess 0.567
testGetPostByUserAbnormal 0.048

SearchTestCase

testQuickSearch 0.325
testAdvancedSearchByUserEmail 0.147
testAdvancedSearch 0.284

JCRDataStorageTestCase

testConstructor 0.05
testPlugins 0.045
testUpdateModeratorInForum 0.219
testSetDefaultAvatar 0.063
testGetAvatar 0.059
testSaveAvatar 0.301
testAddPlugin 0.053
testAddRolePlugin 0.056
testSaveForumAdministration 0.057
testGetForumAdministration 0.054
testUpdatePostCount 0.228

TestCacheDataStrorage

testClearWatchedCategory 0.143
testTopicHasPoll 0.115
testPostListCount 0.996
testTopicListAccess 0.975
testPostListAccess 0.495
testClearWatchedCategoryWithSubPath 0.122
testRunPruneForum 0.187

ForumServiceUpdaterTestCase

testUpgradeCategorySpace 0.246

ForumWebserviceTestCase

testFilterIps 0.208
testViewrss 0.307
testFilterTagNameForum 0.221
testFilterIpBanForum 0.145
testGetMessage 0.324
testGetPulicMessage 0.324
testCheckPublicRss 0.137

ForumListenerTestCase

testCreateTopic 0.507
testUpdateTopicAccess 0.305
testCreatePost 0.441

TestForumEventListener

testMovePost 0.51

DiscussionSearchConnectorTestCase

testFilterOrder 0.629
testOrder 0.449
testGroupData 0.47
testSpecialCaseComplex 0.501
testJapaneseData 0.569
testFilter 0.49
testSiteData 0.397
testPrivateTopic 0.463

UserProfileUtilsTestCase

testConcurrentAddLastReadPost 1.063
testSetLastReadPostOfForum 0.046
testSetLastReadPostOfTopic 0.05
testGetLastTimeAccessForum 0.047
testGetLastTimeAccessTopic 0.047
testGetScreenname 0.047

UtilsTestCase

testArrayToMap 0.047
testMapToArray 0.054
testGetObjectType 0.047
testGetSubPath 0.047
testRemoveCharterStrange 0.055
testGetCategoryId 0.046
testGetForumPath 0.046
testGetTopicId 0.047
testArrayCopy 0.048
testConcurrentMapToArray 0.052
testGetForumId 0.05
testIsListContentItemList 0.047
testValuesToArray 0.054
testGetIdByType 0.047
testArraysHaveDifferentContent 0.047
testGetQueryByProperty 0.055
testBuildXpathByUserInfo 0.046
testGetPathQuery 0.046
testGetQueryInList 0.047
testExtractSameItems 0.048
testListsHaveDifferentContent 0.051
testGetIdByTypeWithSpecialCase 0.055
testGetPostId 0.048
testGetTopicPath 0.051
testGetObjectTypeWithSpecialCase 0.047
testValuesToList 0.046
testInsertBuilder 0.048
testGetStringsInList 0.047
testGetCategoryPath 0.051
testGetPathByType 0.048
testHasPermission 0.049

UnifiedSearchOrderTest

testRelevancyASC 0.049
testTitleDESC 0.052
testRelevancyDESC 0.045

ForumEventQueryTestCase

testQuerySearchForum 0.048
testQuerySearchTopic 0.048
testQuerySearchPost 0.047
testQuerySearchCategory 0.049