VuFind API Documentation

UtilsTest extends TestCase
in package

Solr Utils Test Class

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

license

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

link

Wiki

Table of Contents

sanitizeDateProvider()  : array<string|int, mixed>
Data provider for testSanitizeDate
testParseRange()  : void
Test parseRange functionality.
testSanitizeDate()  : void
Test sanitizeDate functionality.

Methods

sanitizeDateProvider()

Data provider for testSanitizeDate

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

testParseRange()

Test parseRange functionality.

public testParseRange() : void
Return values
void

testSanitizeDate()

Test sanitizeDate functionality.

public testSanitizeDate(string $date, bool $rangeEnd, string|null $expected) : void
Parameters
$date : string

Date string

$rangeEnd : bool

Is this the end of a range?

$expected : string|null

Expected result

Tags
dataProvider

sanitizeDateProvider

Return values
void

Search results