From: Wez Furlong Date: Fri, 18 Apr 2003 19:22:49 +0000 (+0000) Subject: First "real" test. X-Git-Tag: SPL_ALPHA~173 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff93259b82585db87c9946d28b0bed0e5b20b562;p=php First "real" test. If anyone is motivated to write more tests, please do so. --- diff --git a/ext/sqlite/tests/001.phpt b/ext/sqlite/tests/001.phpt index ad723b8076..7ebb8ce465 100644 --- a/ext/sqlite/tests/001.phpt +++ b/ext/sqlite/tests/001.phpt @@ -1,24 +1,29 @@ --TEST-- -Check for sqlite presence +sqlite: Simple insert/select --SKIPIF-- - ---POST-- ---GET-- ---INI-- + --FILE-- --EXPECT-- -sqlite extension is available +array(4) { + [0]=> + string(10) "2002-01-02" + ["c1"]=> + string(10) "2002-01-02" + [1]=> + string(8) "12:49:00" + ["c2"]=> + string(8) "12:49:00" + [2]=> + NULL + ["c3"]=> + NULL +} diff --git a/ext/sqlite/tests/blankdb.inc b/ext/sqlite/tests/blankdb.inc new file mode 100644 index 0000000000..45d9753ba8 --- /dev/null +++ b/ext/sqlite/tests/blankdb.inc @@ -0,0 +1,9 @@ +