Methods Summary |
---|
public static void | main(java.lang.String[] args)
TestRunner.run(new TestSuite(Test02Boolean.class));
|
public void | normalTest1(java.lang.String query, int[] expdnrs)
BooleanQueryTst bqt = new BooleanQueryTst( query, expdnrs, db1, fieldName, this,
new BasicQueryFactory(maxBasicQueries));
bqt.setVerbose(verbose);
bqt.doTest();
|
public void | test02Terms01()
int[] expdnrs = {0}; normalTest1( "word1", expdnrs);
|
public void | test02Terms02()
int[] expdnrs = {0, 1, 3}; normalTest1( "word*", expdnrs);
|
public void | test02Terms03()
int[] expdnrs = {2}; normalTest1( "ord2", expdnrs);
|
public void | test02Terms04()
int[] expdnrs = {}; normalTest1( "kxork*", expdnrs);
|
public void | test02Terms05()
int[] expdnrs = {0, 1, 3}; normalTest1( "wor*", expdnrs);
|
public void | test02Terms06()
int[] expdnrs = {}; normalTest1( "ab", expdnrs);
|
public void | test02Terms10()
int[] expdnrs = {}; normalTest1( "abc?", expdnrs);
|
public void | test02Terms13()
int[] expdnrs = {0,1,3}; normalTest1( "word?", expdnrs);
|
public void | test02Terms14()
int[] expdnrs = {0,1,3}; normalTest1( "w?rd?", expdnrs);
|
public void | test02Terms20()
int[] expdnrs = {0,1,3}; normalTest1( "w*rd?", expdnrs);
|
public void | test02Terms21()
int[] expdnrs = {3}; normalTest1( "w*rd??", expdnrs);
|
public void | test02Terms22()
int[] expdnrs = {3}; normalTest1( "w*?da?", expdnrs);
|
public void | test02Terms23()
int[] expdnrs = {}; normalTest1( "w?da?", expdnrs);
|
public void | test03And01()
int[] expdnrs = {0}; normalTest1( "word1 AND word2", expdnrs);
|
public void | test03And02()
int[] expdnrs = {3}; normalTest1( "word* and ord*", expdnrs);
|
public void | test03And03()
int[] expdnrs = {0}; normalTest1( "and(word1,word2)", expdnrs);
|
public void | test04Or01()
int[] expdnrs = {0, 3}; normalTest1( "word1 or word2", expdnrs);
|
public void | test04Or02()
int[] expdnrs = {0, 1, 2, 3}; normalTest1( "word* OR ord*", expdnrs);
|
public void | test04Or03()
int[] expdnrs = {0, 3}; normalTest1( "OR (word1, word2)", expdnrs);
|
public void | test05Not01()
int[] expdnrs = {3}; normalTest1( "word2 NOT word1", expdnrs);
|
public void | test05Not02()
int[] expdnrs = {0}; normalTest1( "word2* not ord*", expdnrs);
|
public void | test06AndOr01()
int[] expdnrs = {0}; normalTest1( "(word1 or ab)and or(word2,xyz, defg)", expdnrs);
|
public void | test07AndOrNot02()
int[] expdnrs = {0}; normalTest1( "or( word2* not ord*, and(xyz,def))", expdnrs);
|