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

Side by Side Diff: third_party/sqlite/sqlite-src-3080704/test/fts3al.test

Issue 883353008: [sql] Import reference version of SQLite 3.8.7.4. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hold back encoding change which is messing up patch. Created 5 years, 10 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 unified diff | Download patch
OLDNEW
1 # 2007 March 28 1 # 2007 March 28
2 # 2 #
3 # The author disclaims copyright to this source code. 3 # The author disclaims copyright to this source code.
4 # 4 #
5 #************************************************************************* 5 #*************************************************************************
6 # This file implements regression tests for SQLite library. The focus 6 # This file implements regression tests for SQLite library. The focus
7 # of this script is testing isspace/isalnum/tolower problems with the 7 # of this script is testing isspace/isalnum/tolower problems with the
8 # FTS3 module. Unfortunately, this code isn't a really principled set 8 # FTS3 module. Unfortunately, this code isn't a really principled set
9 # of tests, because it is impossible to know where new uses of these 9 # of tests, because it is impossible to know where new uses of these
10 # functions might appear. 10 # functions might appear.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 db eval {CREATE VIRTUAL TABLE t4 USING fts3(content)} 65 db eval {CREATE VIRTUAL TABLE t4 USING fts3(content)}
66 db eval "INSERT INTO t4 (content) VALUES ('$phrase1')" 66 db eval "INSERT INTO t4 (content) VALUES ('$phrase1')"
67 db eval "INSERT INTO t4 (content) VALUES ('$phrase2')" 67 db eval "INSERT INTO t4 (content) VALUES ('$phrase2')"
68 68
69 do_test fts3al-1.4 { 69 do_test fts3al-1.4 {
70 execsql {SELECT rowid, length(snippet(t4)) FROM t4 WHERE t4 MATCH 'target'} 70 execsql {SELECT rowid, length(snippet(t4)) FROM t4 WHERE t4 MATCH 'target'}
71 } {1 241 2 247} 71 } {1 241 2 247}
72 72
73 finish_test 73 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3080704/test/fts3ak.test ('k') | third_party/sqlite/sqlite-src-3080704/test/fts3am.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698