Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-94598

Introduce journal-test/JournalArticleMultiLanguageSearchJapaneseSummaryTest

    Details

      Description

      A new integration test class, with a single test method. (To begin with.)

       

      Test must illustrate current problems with highlighting of Japanese content due to interference from:

      com.liferay.journal.internal.search.JournalArticleIndexer.getDDMContentSummary(Document, Locale, PortletRequest, PortletResponse).

       

      Should combine approaches from:

      JournalArticleMultiLanguageSearchSummaryTest – as a test that performs multi language search, and illustrates highlighting of content, but is missing Japanese examples.

      JournalArticleIndexerLocalizedContentTest – as a test that performs multi language search, and has Japanese examples, but is missing assertions of highlighted content.

      JournalArticleIndexerSummaryTest – as a test that illustrates how snippets from the search engine are discarded and superseded by getDDMContentSummary (trying to avoid "stale" search engine content), but is missing examples of good highlighted Japanese snippets from the search engine being discarded and superseded by non-highlighted Japanese from getDDMContentSummary.

       

      Therefore new test class must, at the very least:

      • Perform multi language search in Japanese
      • Assert highlighted matches in Japanese "Title" (happy day)
      • Assert lack of highlighted matches in Japanese "Content" (sorry day)

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.chan Brian Chan
              Reporter:
              andre.oliveira André Ricardo Barreto de Oliveira
              Recent user:
              Tibor Lipusz
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.2.10 DXP FP2
                  7.2.10.1 DXP SP1
                  7.3.0 CE GA1
                  7.3.10 DXP GA1