VuFind API Documentation

QueryGroupTest extends TestCase
in package

Unit tests for QueryGroup 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

testClone()  : void
Test QueryGroup cloning.
testContainsTerm()  : void
Test containsTerm() method
testContainsTermWithNormalization()  : void
Test detection of normalized terms.
testGetAllTerms()  : void
Test getAllTerms() method
testIllegalOperator()  : void
Test setting an invalid operator.
testReducedHandler()  : void
Test setting/clearing of reduced handler.
testReplaceTerm()  : void
Test replaceTerm() method
testReplaceTermWithNormalization()  : void
Test replaceTerm() method with and without normalization using complex input
getSampleQueryGroup()  : QueryGroup
Get a test object.
getSampleQueryGroupWithWeirdCharacters()  : QueryGroup
Get a test object with uppercase and accents.

Methods

testClone()

Test QueryGroup cloning.

public testClone() : void
Return values
void

testContainsTerm()

Test containsTerm() method

public testContainsTerm() : void
Return values
void

testContainsTermWithNormalization()

Test detection of normalized terms.

public testContainsTermWithNormalization() : void
Return values
void

testGetAllTerms()

Test getAllTerms() method

public testGetAllTerms() : void
Return values
void

testIllegalOperator()

Test setting an invalid operator.

public testIllegalOperator() : void
Return values
void

testReducedHandler()

Test setting/clearing of reduced handler.

public testReducedHandler() : void
Return values
void

testReplaceTerm()

Test replaceTerm() method

public testReplaceTerm() : void
Return values
void

testReplaceTermWithNormalization()

Test replaceTerm() method with and without normalization using complex input

public testReplaceTermWithNormalization() : void
Return values
void

getSampleQueryGroupWithWeirdCharacters()

Get a test object with uppercase and accents.

protected getSampleQueryGroupWithWeirdCharacters() : QueryGroup
Return values
QueryGroup

Search results