Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(539)

Unified Diff: third_party/sqlite/src/test/fts3ad.test

Issue 6990047: Import SQLite 3.7.6.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/test/fts3ac.test ('k') | third_party/sqlite/src/test/fts3ae.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/fts3ad.test
diff --git a/third_party/sqlite/src/test/fts3ad.test b/third_party/sqlite/src/test/fts3ad.test
index 420b5b27453f4b2bbdad63da5012bc6ae6160cc5..e373339d4e74b10991efac46192c1e00c397a475 100644
--- a/third_party/sqlite/src/test/fts3ad.test
+++ b/third_party/sqlite/src/test/fts3ad.test
@@ -61,5 +61,46 @@ do_test fts3ad-1.6 {
}
} {3 {The value is <b>123456789</b>}}
+do_test fts3ad-2.1 {
+ execsql {
+ DROP TABLE t1;
+ CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize porter);
+ INSERT INTO t1(rowid, content) VALUES(1, 'running and jumping');
+ SELECT rowid FROM t1 WHERE content MATCH 'run jump';
+ }
+} {1}
+do_test fts3ad-2.2 {
+ execsql {
+ DROP TABLE t1;
+ CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize= porter);
+ INSERT INTO t1(rowid, content) VALUES(1, 'running and jumping');
+ SELECT rowid FROM t1 WHERE content MATCH 'run jump';
+ }
+} {1}
+do_test fts3ad-2.3 {
+ execsql {
+ DROP TABLE t1;
+ CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize= simple);
+ INSERT INTO t1(rowid, content) VALUES(1, 'running and jumping');
+ SELECT rowid FROM t1 WHERE content MATCH 'run jump';
+ }
+} {}
+do_test fts3ad-2.4 {
+ execsql {
+ DROP TABLE t1;
+ CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize= porter);
+ INSERT INTO t1(rowid, content) VALUES(1, 'running and jumping');
+ SELECT rowid FROM t1 WHERE content MATCH 'run jump';
+ }
+} {1}
+do_test fts3ad-2.5 {
+ execsql {
+ DROP TABLE t1;
+ CREATE VIRTUAL TABLE t1 USING fts3(content, tokenize = porter);
+ INSERT INTO t1(rowid, content) VALUES(1, 'running and jumping');
+ SELECT rowid FROM t1 WHERE content MATCH 'run jump';
+ }
+} {1}
+
finish_test
« no previous file with comments | « third_party/sqlite/src/test/fts3ac.test ('k') | third_party/sqlite/src/test/fts3ae.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698