QueryGroupTest
extends TestCase
in package
Unit tests for QueryGroup class.
Tags
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 —getSampleQueryGroup()
Get a test object.
protected
getSampleQueryGroup() : QueryGroup
Return values
QueryGroup —getSampleQueryGroupWithWeirdCharacters()
Get a test object with uppercase and accents.
protected
getSampleQueryGroupWithWeirdCharacters() : QueryGroup