VuFind API Documentation

RecordCollectionTest extends TestCase
in package

Unit tests for simple JSON-based record collection.

Tags
category

VuFind

author

David Maus maus@hab.de

license

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

link
https://vufind.org

Table of Contents

testAdd()  : void
Test that the object handles offsets properly.
testDefaults()  : void
Test that the object returns appropriate defaults for missing elements.
testDefaultsWithNullResponse()  : void
Test that the object returns appropriate defaults when given a null response element.
testFacets()  : void
Test facet methods.
testOffsets()  : void
Test that the object handles offsets properly.
testReplace()  : void
Test the replace method.
testShuffle()  : void
Test the shuffle method.
testSpellingQuery()  : void
Test spelling query retrieval.
testSpellingSuggestions()  : void
Test spelling suggestion retrieval.

Methods

testAdd()

Test that the object handles offsets properly.

public testAdd() : void
Return values
void

testDefaults()

Test that the object returns appropriate defaults for missing elements.

public testDefaults() : void
Return values
void

testDefaultsWithNullResponse()

Test that the object returns appropriate defaults when given a null response element.

public testDefaultsWithNullResponse() : void
Return values
void

testOffsets()

Test that the object handles offsets properly.

public testOffsets() : void
Return values
void

testReplace()

Test the replace method.

public testReplace() : void
Return values
void

testShuffle()

Test the shuffle method.

public testShuffle() : void
Return values
void

testSpellingQuery()

Test spelling query retrieval.

public testSpellingQuery() : void
Return values
void

testSpellingSuggestions()

Test spelling suggestion retrieval.

public testSpellingSuggestions() : void
Return values
void

Search results