VuFind API Documentation

VuFindHighlighterTest extends TestCase
in package

VuFindHighlighter Test Class

Tags
category

VuFind

author

Volodymyr Stelmakh 2980619+vstelmakh@users.noreply.github.com

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Wiki

Table of Contents

$proxyUrl  : ProxyUrl|MockObject
Mock proxy object
$vuFindHighlighter  : VuFindHighlighter
VuFind highlighter object
getHighlightDataProvider()  : array<string|int, array<string|int, mixed>>
Data provider for testGetHighlight()
setUp()  : void
Generic setup method
tearDown()  : void
Generic teardown method
testGetHighlight()  : void
Test the highlight method

Properties

Methods

getHighlightDataProvider()

Data provider for testGetHighlight()

public static getHighlightDataProvider() : array<string|int, array<string|int, mixed>>
Return values
array<string|int, array<string|int, mixed>>

testGetHighlight()

Test the highlight method

public testGetHighlight(string $url, string $expected) : void
Parameters
$url : string

URL

$expected : string

Expected result

Tags
dataProvider

getHighlightDataProvider

Return values
void

Search results