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

Side by Side Diff: third_party/sqlite/src/test/e_uri.test

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 Created 3 years, 9 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
« no previous file with comments | « third_party/sqlite/src/test/e_select.test ('k') | third_party/sqlite/src/test/e_vacuum.test » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 2011 May 06 1 # 2011 May 06
2 # 2 #
3 # The author disclaims copyright to this source code. In place of 3 # The author disclaims copyright to this source code. In place of
4 # a legal notice, here is a blessing: 4 # a legal notice, here is a blessing:
5 # 5 #
6 # May you do good and not evil. 6 # May you do good and not evil.
7 # May you find forgiveness for yourself and forgive others. 7 # May you find forgiveness for yourself and forgive others.
8 # May you share freely, never taking more than you give. 8 # May you share freely, never taking more than you give.
9 # 9 #
10 #*********************************************************************** 10 #***********************************************************************
11 # 11 #
12 12
13 set testdir [file dirname $argv0] 13 set testdir [file dirname $argv0]
14 source $testdir/tester.tcl 14 source $testdir/tester.tcl
15 set testprefix e_uri 15 set testprefix e_uri
16 16 do_not_use_codec
17 db close 17 db close
18 18
19 proc parse_uri {uri} { 19 proc parse_uri {uri} {
20 testvfs tvfs2 20 testvfs tvfs2
21 testvfs tvfs 21 testvfs tvfs
22 tvfs filter xOpen 22 tvfs filter xOpen
23 tvfs script parse_uri_open_cb 23 tvfs script parse_uri_open_cb
24 24
25 set ::uri_open [list] 25 set ::uri_open [list]
26 set DB [sqlite3_open_v2 $uri { 26 set DB [sqlite3_open_v2 $uri {
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 # 453 #
454 foreach {tn uri parse} " 454 foreach {tn uri parse} "
455 1 {file:/test.%64%62} {/test.db {}} 455 1 {file:/test.%64%62} {/test.db {}}
456 2 {file:/test.db?%68%65%6c%6c%6f=%77%6f%72%6c%64} {/test.db {hello world}} 456 2 {file:/test.db?%68%65%6c%6c%6f=%77%6f%72%6c%64} {/test.db {hello world}}
457 3 {file:/%C3%BF.db} {/\xFF.db {}} 457 3 {file:/%C3%BF.db} {/\xFF.db {}}
458 " { 458 " {
459 do_filepath_test 13.$tn { parse_uri $uri } $parse 459 do_filepath_test 13.$tn { parse_uri $uri } $parse
460 } 460 }
461 461
462 finish_test 462 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/e_select.test ('k') | third_party/sqlite/src/test/e_vacuum.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698