VuFind API Documentation

SolrOverdriveTest extends TestCase
in package
Uses FixtureTrait

SolrOverdrive 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

testGetAllSubjectHeadingsMarc()  : void
Test getAllSubjectHeadings() with MARC
testGetAllSubjectHeadingsNonMarc()  : void
Test getAllSubjectHeadings() without MARC
testGetBreadcrumb()  : void
Test getBreadcrumb()
testGetGeneralNotes()  : void
Test getGeneralNotes()
testGetOverdriveIDWithMarc()  : void
Test getOverdriveID in MARC mode
testGetOverdriveIDWithoutMarc()  : void
Test getOverdriveID in non-MARC mode
testGetSummaryMarc()  : void
Test getSummary() with MARC
testGetSummaryNonMarc()  : void
Test getSummary() without MARC
testGetThumbnailNoMarc()  : void
Test getThumbnail without MARC
testGetTitleSection()  : void
Test getTitleSection()
testSupportsOpenUrl()  : void
Test supportsOpenUrl()
getDriver()  : SolrOverdrive
Get a record driver to test with.
getFixture()  : string
Load a fixture file.
getFixtureDir()  : string
Get the base directory containing fixtures.
getFixturePath()  : string
Resolve fixture path.
getJsonFixture()  : array<string|int, mixed>
Load a JSON fixture from file (using associative array return type).
getMockConnector()  : OverdriveConnector
Get a mock Overdrive connector.

Methods

testGetAllSubjectHeadingsMarc()

Test getAllSubjectHeadings() with MARC

public testGetAllSubjectHeadingsMarc() : void
Return values
void

testGetAllSubjectHeadingsNonMarc()

Test getAllSubjectHeadings() without MARC

public testGetAllSubjectHeadingsNonMarc() : void
Return values
void

testGetBreadcrumb()

Test getBreadcrumb()

public testGetBreadcrumb() : void
Return values
void

testGetGeneralNotes()

Test getGeneralNotes()

public testGetGeneralNotes() : void
Return values
void

testGetOverdriveIDWithMarc()

Test getOverdriveID in MARC mode

public testGetOverdriveIDWithMarc() : void
Return values
void

testGetOverdriveIDWithoutMarc()

Test getOverdriveID in non-MARC mode

public testGetOverdriveIDWithoutMarc() : void
Return values
void

testGetSummaryMarc()

Test getSummary() with MARC

public testGetSummaryMarc() : void
Return values
void

testGetSummaryNonMarc()

Test getSummary() without MARC

public testGetSummaryNonMarc() : void
Return values
void

testGetThumbnailNoMarc()

Test getThumbnail without MARC

public testGetThumbnailNoMarc() : void
Return values
void

testGetTitleSection()

Test getTitleSection()

public testGetTitleSection() : void
Return values
void

testSupportsOpenUrl()

Test supportsOpenUrl()

public testSupportsOpenUrl() : void
Return values
void

getFixture()

Load a fixture file.

protected getFixture(string $filename[, string $module = 'VuFind' ]) : string
Parameters
$filename : string

Filename relative to fixture directory.

$module : string = 'VuFind'

Module containing fixture.

Tags
throws
RuntimeException
Return values
string

getFixtureDir()

Get the base directory containing fixtures.

protected getFixtureDir([string $module = 'VuFind' ]) : string
Parameters
$module : string = 'VuFind'

Module containing fixture.

Return values
string

getFixturePath()

Resolve fixture path.

protected getFixturePath(string $filename[, string $module = 'VuFind' ]) : string
Parameters
$filename : string

Filename relative to fixture directory.

$module : string = 'VuFind'

Module containing fixture.

Tags
throws
RuntimeException
Return values
string

getJsonFixture()

Load a JSON fixture from file (using associative array return type).

protected getJsonFixture(string $filename[, string $module = 'VuFind' ]) : array<string|int, mixed>
Parameters
$filename : string

Filename relative to fixture directory.

$module : string = 'VuFind'

Module containing fixture.

Return values
array<string|int, mixed>

Search results