Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
78 0 0 0 100% 130.556

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.wiki.jpa 35 0 0 0 100% 8.138
org.exoplatform.wiki.jpa.search 20 0 0 0 100% 95.618
org.exoplatform.wiki.jpa.dao 23 0 0 0 100% 26.8

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

org.exoplatform.wiki.jpa

Class Tests Errors Failures Skipped Success Rate Time
JPADataStorageTest 35 0 0 0 100% 8.138

org.exoplatform.wiki.jpa.search

Class Tests Errors Failures Skipped Success Rate Time
WikiPagePermissionsTest 7 0 0 0 100% 37.258
AttachmentPermissionsTest 2 0 0 0 100% 13.814
IndexingTest 2 0 0 0 100% 14.284
JPADataStorageSearchTest 6 0 0 0 100% 26.577
WikiElasticUnifiedSearchServiceConnectorTest 3 0 0 0 100% 3.685

org.exoplatform.wiki.jpa.dao

Class Tests Errors Failures Skipped Success Rate Time
WikiDAOTest 4 0 0 0 100% 14.262
DraftPageAttachmentDAOTest 2 0 0 0 100% 2.344
PageAttachmentDAOTest 2 0 0 0 100% 2.002
EmotionIconDAOTest 1 0 0 0 100% 1.558
TemplateDAOTest 3 0 0 0 100% 1.59
DraftPageDAOTest 6 0 0 0 100% 2.082
PageMoveDAOTest 1 0 0 0 100% 0.782
PageDAOTest 2 0 0 0 100% 1.089
PageVersionDAOTest 2 0 0 0 100% 1.091

Test Cases

[Summary] [Package List] [Test Cases]

WikiDAOTest

testFindWikiByTypeAndOwner 11.248
testFindAllIds 0.601
testCreateWiki 0.442
testFindWikisByType 0.398

DraftPageAttachmentDAOTest

testInsertDelete 1.946
testUpdate 0.332

PageAttachmentDAOTest

testInsertDelete 1.384
testUpdate 0.541

EmotionIconDAOTest

testEmotionIconByName 1.527

TemplateDAOTest

testGetTemplateOfWikiByName 1.018
testSearchTemplates 0.209
testGetTemplatesOfWiki 0.263

DraftPageDAOTest

testFindLatestDraftPageByUser 0.884
testDeleteDraftPageByUserAndTargetPage 0.229
testFindDraftPagesByUser 0.252
testDeleteDraftPageByUserAndName 0.171
testInsert 0.173
testFindDraftPagesByUserAndTargetPage 0.203

PageMoveDAOTest

testInsertDelete 0.75

PageDAOTest

testPageOfWikiByName 0.783
testInsert 0.233

PageVersionDAOTest

testPageversionByPageIdAndVersion 0.798
testLastversionNumberOfPage 0.225

JPADataStorageTest

testGetEmotionIconByName 0.773
testPermissionsOnPage 0.234
testRenamePage 0.219
testRemoveRelatedPagesOfPage 0.187
testUpdateTemplate 0.213
testRelatedPagesOfPage 0.218
testParentPageOfPage 0.13
testGetTemplates 0.105
testGetExistingOrNewDraftPage 0.132
testUpdatePage 0.109
testAttachmentsOfPage 0.115
testDraftPageOfUserByName 0.184
testWikiPermissions 0.148
testDeleteTemplate 0.148
testSearchTemplates 0.251
testRestorePageVersions 0.153
testGetTemplate 0.128
testDraftPagesOfUser 0.141
testDeleteAttachmentOfPage 0.135
testDeleteDraftPageOfUserByNameAndTargetPage 0.185
testMovePage 0.182
testCreateWiki 0.092
testGetEmotionIcons 0.127
testUpdateWikiPermissions 0.104
testDeletePage 0.161
testPageMoves 0.235
testPageNames 0.155
testPageVersions 0.209
testChildrenPagesOfPage 0.313
testLatestDraftPageOfUser 0.209
testDeletePageTree 0.218
testHelpPages 0.262
testGetWatchers 0.299
testDraftPageOfUserByNameAndTargetPage 0.231
testDeleteDraftPageOfUserByName 0.382

WikiPagePermissionsTest

testSearchPage_byOwner_found 12.17
testSearchPage_byGroupPermission_found 4.087
testSearchPage_byWildcardGroupPermission_found 4.07
testSearchPage_byOwner_notFound 4.214
testSearchPage_byUserPermission_notFound 4.32
testSearchPage_byUserPermission_found 4.286
testSearchPage_byGroupPermission_notFound 3.566

AttachmentPermissionsTest

testSearchAttachment_byOwner_notFound 8.34
testSearchAttachment_byOwner_found 5.276

IndexingTest

testReindexingWikiPagesAndSearch 5.743
testReindexingAttachmentAndSearch 8.369

JPADataStorageSearchTest

testSearchAttachmentByContent 5.355
testSearchPageByComment 3.796
testSearchPageByContent 3.835
testSearchPageByTitle 3.778
testSearchAttachmentByTitle 5.005
testSearchPageByName 4.127

WikiElasticUnifiedSearchServiceConnectorTest

getUrlFromJsonResult_portalWiki_returnWellFormedPortalWikiURL 0.585
getUrlFromJsonResult_userWiki_returnWellFormedUserWikiURL 0.084
getUrlFromJsonResult_spaceWiki_returnWellFormedSpaceWikiURL 0.083