Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
32 0 0 0 100% 24.496

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.services.wcm.search 19 0 0 0 100% 20.566
org.exoplatform.services.wcm.search.connector 13 0 0 0 100% 3.93

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

org.exoplatform.services.wcm.search

Class Tests Errors Failures Skipped Success Rate Time
TestSearchService 19 0 0 0 100% 20.566

org.exoplatform.services.wcm.search.connector

Class Tests Errors Failures Skipped Success Rate Time
TestDocumentSearchServiceConnector 10 0 0 0 100% 2.763
TestFileSearchServiceConnector 3 0 0 0 100% 1.167

Test Cases

[Summary] [Package List] [Test Cases]

TestSearchService

testSearchAllPortalLiveMode 9.145
testSearchByProperty 0.709
testSearchByDocumentType 0.901
testSearchSharedPortalLiveMode 0.666
testSearchDocumentNotLiveMode 0.727
testSearchByMimeTypes 0.769
testSearchByOffsetAndLimitWithNoDuplication 1.36
testSearchFileInContent 0.799
testSearchByDocumentAuthor 0.83
testSearchSharedPortalNotLiveMode 0.984
testSearchDocumentOfSharedPortal 0.473
testSearchDocumentLiveMode 0.402
testSearchDocumentOfSharedPortalLiveMode 0.416
testSearchByTagUUID 0.353
testSearchByPageUpdateWithNoDuplication 0.56
testRepeatSearchDocument_ArrayNodePageList 0.275
testRepeatSearchDocument_QueryResultPageList 0.291
testSearchAllPortalNotLiveMode 0.271
testNone 0.635

TestDocumentSearchServiceConnector

testSearchSingleWithLimit 0.638
testSearchPhraseWithOffset 0.236
testSearchDate 0.28
testSearchMultipleWithOffset 0.211
testSearchPhrase 0.211
testSearchSingle 0.321
testSearchMultiple 0.253
testSearchMultipleWithLimit 0.195
testSearchSingleWithOffset 0.157
testNone 0.261

TestFileSearchServiceConnector

shouldReturnNoResultWhenNoDocInES 0.954
shouldReturnOneResultWhenOneDocInES 0.109
shouldReturnTwoResultsWhenTwoDocsInES 0.104