From d49ecd51c1b445b2831024e6e3b4df780ae3e5a9 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 03:50:10 +0000 Subject: [PATCH] Add more tests. --- ext/pdo_mysql/tests/pdo_020.phpt | 21 +++++++++++++++++++++ ext/pdo_oci/tests/pdo_021.phpt | 20 ++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100755 ext/pdo_mysql/tests/pdo_020.phpt create mode 100755 ext/pdo_oci/tests/pdo_021.phpt diff --git a/ext/pdo_mysql/tests/pdo_020.phpt b/ext/pdo_mysql/tests/pdo_020.phpt new file mode 100755 index 0000000000..7c33a99f42 --- /dev/null +++ b/ext/pdo_mysql/tests/pdo_020.phpt @@ -0,0 +1,21 @@ +--TEST-- +PDO_MySQL: 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_oci/tests/pdo_021.phpt b/ext/pdo_oci/tests/pdo_021.phpt new file mode 100755 index 0000000000..ea5cc41fa7 --- /dev/null +++ b/ext/pdo_oci/tests/pdo_021.phpt @@ -0,0 +1,20 @@ +--TEST-- +PDO_OCI: 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.50.1