17 calls to HighlightTest::createTestField() in Search API 8
- HighlightTest::testExcerptExcludeFields in tests/
src/ Unit/ Processor/ HighlightTest.php - Tests excerpts with some fields excluded.
- HighlightTest::testFieldExtraction in tests/
src/ Unit/ Processor/ HighlightTest.php - Tests that field extraction in the processor works correctly.
- HighlightTest::testPostprocessSearchResultsExcerpt in tests/
src/ Unit/ Processor/ HighlightTest.php - Tests whether highlighting works on a longer text.
- HighlightTest::testPostprocessSearchResultsExcerptStripTags in tests/
src/ Unit/ Processor/ HighlightTest.php - Tests whether excerpt creation correctly handles HTML tags.
- HighlightTest::testPostprocessSearchResultsExcerptWithKeysFromBackend in tests/
src/ Unit/ Processor/ HighlightTest.php - Tests whether excerpt creation uses the "highlighted_keys" extra data.
- HighlightTest::testPostprocessSearchResultsExerptMatchNearEnd in tests/
src/ Unit/ Processor/ HighlightTest.php - Tests whether highlighting works on a longer text matching near the end.
- HighlightTest::testPostprocessSearchResultsHighlightPartial in tests/
src/ Unit/ Processor/ HighlightTest.php - Tests highlighting of partial matches.
- HighlightTest::testPostprocessSearchResultsWithChangedExcerptLength in tests/
src/ Unit/ Processor/ HighlightTest.php - Tests whether highlighting works with a changed excerpt length.
- HighlightTest::testPostprocessSearchResultsWithChangedPrefixSuffix in tests/
src/ Unit/ Processor/ HighlightTest.php - Tests changing the prefix and suffix used for highlighting.
- HighlightTest::testPostprocessSearchResultsWithComplexKeys in tests/
src/ Unit/ Processor/ HighlightTest.php - Tests whether highlighting works on a longer text.
- HighlightTest::testPostprocessSearchResultsWithExistingHighlighting in tests/
src/ Unit/ Processor/ HighlightTest.php - Tests field highlighting with a result set that has some highlighting data.
- HighlightTest::testPostprocessSearchResultsWithoutExcerpt in tests/
src/ Unit/ Processor/ HighlightTest.php - Tests whether adding an excerpt can be successfully disabled.
- HighlightTest::testPostprocessSearchResultsWithoutHighlight in tests/
src/ Unit/ Processor/ HighlightTest.php - Tests whether field highlighting can be disabled.
- HighlightTest::testPostprocessSearchResultsWithPreviousHighlighting in tests/
src/ Unit/ Processor/ HighlightTest.php - Tests field highlighting when previous highlighting is present.
- HighlightTest::testPostprocessSearchResultsWithResults in tests/
src/ Unit/ Processor/ HighlightTest.php - Tests field highlighting with a normal result set.
- HighlightTest::testPostprocessSearchResultsWithTwoFields in tests/
src/ Unit/ Processor/ HighlightTest.php - Tests field highlighting and excerpts for two fields.
- HighlightTest::testPostprocessSearchResultsWithTwoItems in tests/
src/ Unit/ Processor/ HighlightTest.php - Tests field highlighting and excerpts with two items.