VuFind API Documentation

QueryTest extends TestCase
in package

Unit tests for Query class.

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

testContainsTerm()  : void
Test containsTerm() method
testMultipleReplacements()  : void
Test multiple replacements -- this simulates the scenario discussed in the VUFIND-1423 JIRA ticket.
testNormalization()  : void
Test normalization-related logic
testReplacePunctuatedTerm()  : void
Test replacing a term containing punctuation; this exercises a special case in the code.
testReplaceTerm()  : void
Test replaceTerm() method
testSetHandler()  : void
Test setHandler() method
testSetOperator()  : void
Test setOperator() method

Methods

testContainsTerm()

Test containsTerm() method

public testContainsTerm() : void
Return values
void

testMultipleReplacements()

Test multiple replacements -- this simulates the scenario discussed in the VUFIND-1423 JIRA ticket.

public testMultipleReplacements() : void
Return values
void

testNormalization()

Test normalization-related logic

public testNormalization() : void
Return values
void

testReplacePunctuatedTerm()

Test replacing a term containing punctuation; this exercises a special case in the code.

public testReplacePunctuatedTerm() : void
Return values
void

testReplaceTerm()

Test replaceTerm() method

public testReplaceTerm() : void
Return values
void

testSetHandler()

Test setHandler() method

public testSetHandler() : void
Return values
void

testSetOperator()

Test setOperator() method

public testSetOperator() : void
Return values
void

Search results