20 calls to TestItemsTrait::createItems() in Search API 8
- AddURLTest::testAddFieldValues in tests/
src/ Unit/ Processor/ AddURLTest.php - Tests whether the "URI" field is correctly filled by the processor.
- FieldsProcessorPluginBaseTest::getTestItem in tests/
src/ Unit/ Processor/ FieldsProcessorPluginBaseTest.php - Returns an array with one test item suitable for this test case.
- FieldsProcessorPluginBaseTest::testProcessFieldRemoveValue in tests/
src/ Unit/ Processor/ FieldsProcessorPluginBaseTest.php - Tests whether removing values in processFieldValue() works correctly.
- FieldsProcessorPluginBaseTest::testProcessFieldsTokenized in tests/
src/ Unit/ Processor/ FieldsProcessorPluginBaseTest.php - Tests whether the processField() method operates correctly.
- HighlightTest::testExcerptExcludeFields in tests/
src/ Unit/ Processor/ HighlightTest.php - Tests excerpts with some fields excluded.
- 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.