Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
83 0 0 0 100% 62.535

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.resolver 6 0 0 0 100% 0.857
org.exoplatform.wiki.service 30 0 0 0 100% 10.468
org.exoplatform.wiki.utils 3 0 0 0 100% 0.3
org.exoplatform.wiki.rendering.impl 25 0 0 0 100% 4.893
org.exoplatform.wiki.mow.core.api 19 0 0 0 100% 46.017

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

org.exoplatform.wiki.resolver

Class Tests Errors Failures Skipped Success Rate Time
TestURLResolver 3 0 0 0 100% 0.303
TestPageResolver 3 0 0 0 100% 0.554

org.exoplatform.wiki.service

Class Tests Errors Failures Skipped Success Rate Time
TestWikiRestService 2 0 0 0 100% 0.263
TestWikiService 24 0 0 0 100% 9.797
TestDiffService 4 0 0 0 100% 0.408

org.exoplatform.wiki.utils

Class Tests Errors Failures Skipped Success Rate Time
TestUtils 2 0 0 0 100% 0.149
TestWikiHTMLSanitizer 1 0 0 0 100% 0.151

org.exoplatform.wiki.rendering.impl

Class Tests Errors Failures Skipped Success Rate Time
TestMacroRendering 16 0 0 0 100% 2.813
TestRenderingService 8 0 0 0 100% 1.746
TestPageRenderingCacheService 1 0 0 0 100% 0.334

org.exoplatform.wiki.mow.core.api

Class Tests Errors Failures Skipped Success Rate Time
TestPageContent 2 0 0 0 100% 40.392
TestPageAttachment 3 0 0 0 100% 2.913
TestWikiPage 6 0 0 0 100% 1.073
TestWikiStore 6 0 0 0 100% 0.753
TestVersioning 2 0 0 0 100% 0.886

Test Cases

[Summary] [Package List] [Test Cases]

TestPageContent

testGetPageContent 38.704
testUpdatePageContent 1.156

TestPageAttachment

testAddPageAttachment 1.011
testAttachmentPermission 0.719
testGetPageAttachment 0.967

TestWikiPage

testUpdateWikiPage 0.562
testGetWiki 0.056
testDeleteWikiPage 0.059
testGetWikiPageById 0.075
testAddWikiHome 0.034
testAddWikiPage 0.038

TestWikiStore

testGetWikiStore 0.035
testAddAndGetPortalClassicWiki 0.036
testGetPortalClassicWikiHomePage 0.075
testGetWikiContainers 0.062
testAddAndGetAdministratorsGroupWiki 0.179
testAddAndGetDemoUserWiki 0.082

TestVersioning

testGetVersionHistory 0.383
testCreateVersionHistoryTree 0.413

TestMacroRendering

testRenderSectionAndColumnMacro 0.265
testIncludePageMacro 0.151
testChildrenMacro 0.469
testRenderPageTreeMacro 0.411
testRenderAnchorMacro 0.076
testRenderTipMacro 0.058
testTocMacro 0.161
testRenderInfoMacro 0.057
testRenderWarningMacro 0.054
testRenderPanelMacro 0.067
testRenderNoteMacro 0.048
testRenderErrorMacro 0.053
testExcerptMacro 0.05
testRenderNoFormatMacro 0.053
testRenderDivMacro 0.056
testRenderSpanMacro 0.051

TestRenderingService

testRenderAnExistedInternalLink 0.259
testEscapeString 0.051
testRenderExternalLink 0.079
testRenderAttachmentsAndImages 0.501
testRenderCreatePageLink 0.224
testUpdateContentOfSection 0.086
testGetContentOfSection 0.051
testRender 0.053

TestPageRenderingCacheService

testRenderingCache 0.287

TestURLResolver

testResolvePortalURL 0.07
testResolveGroupURL 0.074
testResolveUserURL 0.033

TestPageResolver

testPageResolver 0.048
testGetPage 0.317
testExtractParams 0.052

TestUtils

testConvertToPermissionMap 0.033
testConvertToPermissionEntryList 0.034

TestWikiHTMLSanitizer

testWikiEncodeMarkup 0.117

TestWikiRestService

shouldGetNotFoundResponseWhenEmotionIconDoesNotExist 0.077
shouldGetEmotionIcon 0.036

TestWikiService

testRenamePage 0.164
testCircularRename 0.212
testCreatePageAndSubPage 0.168
testWikiService 0.051
testAddImageAttachment 0.189
testSearchTitle 0.732
testGetBreadcumb 1.398
testCreateTemplatePage 0.207
testGetPortalPageById 0.318
testSearchTemplate 0.589
testPageWatchers 0.33
testSearchContent 0.991
testAddAttachment 0.14
testDeleteTemplatePage 0.112
testDraftPage 0.261
testMovePage 0.574
testCreateWiki 0.244
testGetGroupPageById 0.182
testBrokenLink 0.593
testDeletePage 0.292
testAddEmotionIcons 0.127
testGetUserPageById 0.132
testSearch 0.448
testGetSyntaxPage 0.099

TestDiffService

testSimpleWordDiff 0.051
testSimpleWordDiffAsHTML 0.055
testSimpleLineDiffAsHTML 0.052
testSimpleLineDiff 0.052