Lines Matching refs:test

29 proc check_terms {test level index terms} {
31 do_test $test.terms [list fts3_terms t1 $where] $terms
33 proc check_terms_all {test terms} {
34 do_test $test.terms [list fts3_terms t1 1] $terms
39 proc check_doclist {test level index term doclist} {
41 do_test $test [list fts3_doclist t1 $term $where] $doclist
43 proc check_doclist_all {test term doclist} {
44 do_test $test [list fts3_doclist t1 $term 1] $doclist
52 INSERT INTO t1 (docid, c) VALUES (1, 'This is a test');
53 INSERT INTO t1 (docid, c) VALUES (2, 'That was a test');
54 INSERT INTO t1 (docid, c) VALUES (3, 'This is a test');
66 WHERE t1 MATCH 'this OR that OR was OR a OR is OR test' ORDER BY docid;
74 check_terms_all fts3c-1.0.1 {a is test that this was}
77 check_doclist_all fts3c-1.0.1.3 test {[1 0[3]] [2 0[3]] [3 0[3]]}
83 check_terms fts3c-1.0.2 0 0 {a is test this}
86 check_doclist fts3c-1.0.2.3 0 0 test {[1 0[3]]}
90 check_terms fts3c-1.0.3 0 1 {a test that was}
92 check_doclist fts3c-1.0.3.2 0 1 test {[2 0[3]]}
97 check_terms fts3c-1.0.4 0 2 {a is test this}
100 check_doclist fts3c-1.0.4.3 0 2 test {[3 0[3]]}
108 INSERT INTO t1 (docid, c) VALUES (1, 'This is a test');
109 INSERT INTO t1 (docid, c) VALUES (2, 'That was a test');
110 INSERT INTO t1 (docid, c) VALUES (3, 'This is a test');
122 WHERE t1 MATCH 'this OR that OR was OR a OR is OR test' ORDER BY docid;
126 check_terms_all fts3c-1.1.1 {a is test that this was}
129 check_doclist_all fts3c-1.1.1.3 test {[2 0[3]] [3 0[3]]}
134 check_terms fts3c-1.1.2 0 0 {a is test this}
137 check_doclist fts3c-1.1.2.3 0 0 test {[1 0[3]]}
140 check_terms fts3c-1.1.3 0 1 {a test that was}
142 check_doclist fts3c-1.1.3.2 0 1 test {[2 0[3]]}
146 check_terms fts3c-1.1.4 0 2 {a is test this}
149 check_doclist fts3c-1.1.4.3 0 2 test {[3 0[3]]}
152 check_terms fts3c-1.1.5 0 3 {a is test this}
155 check_doclist fts3c-1.1.5.3 0 3 test {[1]}
163 INSERT INTO t1 (docid, c) VALUES (1, 'This is a test');
164 INSERT INTO t1 (docid, c) VALUES (2, 'That was a test');
165 INSERT INTO t1 (docid, c) VALUES (3, 'This is a test');
178 WHERE t1 MATCH 'this OR that OR was OR a OR is OR test' ORDER BY docid;
182 check_terms_all fts3c-1.2.1 {a is test that this was}
185 check_doclist_all fts3c-1.2.1.3 test {[2 0[3]]}
190 check_terms fts3c-1.2.2 0 0 {a is test this}
193 check_doclist fts3c-1.2.2.3 0 0 test {[1 0[3]]}
196 check_terms fts3c-1.2.3 0 1 {a test that was}
198 check_doclist fts3c-1.2.3.2 0 1 test {[2 0[3]]}
202 check_terms fts3c-1.2.4 0 2 {a is test this}
205 check_doclist fts3c-1.2.4.3 0 2 test {[3 0[3]]}
208 check_terms fts3c-1.2.5 0 3 {a is test this}
211 check_doclist fts3c-1.2.5.3 0 3 test {[1] [3]}
219 INSERT INTO t1 (docid, c) VALUES (1, 'This is a test');
220 INSERT INTO t1 (docid, c) VALUES (2, 'That was a test');
221 INSERT INTO t1 (docid, c) VALUES (3, 'This is a test');
239 WHERE t1 MATCH 'this OR that OR was OR a OR is OR test' ORDER BY docid;
243 check_terms_all fts3c-1.3.1 {a test that was}
245 check_doclist_all fts3c-1.3.1.2 test {[2 0[3]]}
249 check_terms fts3c-1.3.2 0 0 {a test that was}
251 check_doclist fts3c-1.3.2.2 0 0 test {[2 0[3]]}