From 4b4975f1f8b36ec4687986403f8ae8cf6623cddb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Magnus=20M=EF=BF=BD=EF=BF=BDtt=EF=BF=BD?= Date: Wed, 9 Mar 2005 04:45:08 +0000 Subject: [PATCH] Add test 020 and 021 for PDO_SQLite. --- ext/pdo_sqlite/tests/pdo_020.phpt | 21 +++++++++++++++++++++ ext/pdo_sqlite/tests/pdo_021.phpt | 20 ++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100755 ext/pdo_sqlite/tests/pdo_020.phpt create mode 100755 ext/pdo_sqlite/tests/pdo_021.phpt diff --git a/ext/pdo_sqlite/tests/pdo_020.phpt b/ext/pdo_sqlite/tests/pdo_020.phpt new file mode 100755 index 0000000000..2f85040f26 --- /dev/null +++ b/ext/pdo_sqlite/tests/pdo_020.phpt @@ -0,0 +1,21 @@ +--TEST-- +PDO_SQLite: PDOStatement::columnCount +--SKIPIF-- + +--FILE-- + +===DONE=== + +--EXPECT-- +Counted 2 columns after select1. +Counted 3 columns after select2. +Counted 1 columns after select3. +===DONE=== diff --git a/ext/pdo_sqlite/tests/pdo_021.phpt b/ext/pdo_sqlite/tests/pdo_021.phpt new file mode 100755 index 0000000000..177bf470a2 --- /dev/null +++ b/ext/pdo_sqlite/tests/pdo_021.phpt @@ -0,0 +1,20 @@ +--TEST-- +PDO_SQLite: PDOStatement::execute with parameter markers. +--SKIPIF-- + +--FILE-- + +===DONE=== + +--EXPECT-- +There are 6 rows in the table. +There are 12 rows in the table. +===DONE=== -- 2.40.0