VuFind API Documentation

MissingTest extends TestCase
in package

Missing Record Driver 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

testDetermineMissingTitleWithDetails()  : void
Test that the missing driver leverages ILS details when available to populate missing titles.
testDetermineMissingTitleWithoutDetails()  : void
Test that the missing driver looks up title details in the database when necessary.
titleProvider()  : array<string|int, mixed>
Data provider for testDetermineMissingTitleWithoutDetails

Methods

testDetermineMissingTitleWithDetails()

Test that the missing driver leverages ILS details when available to populate missing titles.

public testDetermineMissingTitleWithDetails() : void
Tags
throws
Exception
throws
ExpectationFailedException
Return values
void

testDetermineMissingTitleWithoutDetails()

Test that the missing driver looks up title details in the database when necessary.

public testDetermineMissingTitleWithoutDetails(string $resourceTitle, string $expectedTitle) : void
Parameters
$resourceTitle : string

Title provided by resource entity

$expectedTitle : string

Expected title returned by driver

Tags
dataProvider

titleProvider

Return values
void

titleProvider()

Data provider for testDetermineMissingTitleWithoutDetails

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

Search results