From: Marcus Boerger Date: Mon, 7 Mar 2005 01:39:12 +0000 (+0000) Subject: - Add new tests X-Git-Tag: RELEASE_0_3~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7bbbfa3f15e6f4e03a1df7d3ba2b271e673f7068;p=php - Add new tests --- diff --git a/ext/pdo_mysql/tests/pdo_017.phpt b/ext/pdo_mysql/tests/pdo_017.phpt new file mode 100755 index 0000000000..0f3275bd4d --- /dev/null +++ b/ext/pdo_mysql/tests/pdo_017.phpt @@ -0,0 +1,22 @@ +--TEST-- +PDO_MySQL: PDO::beginTransaction / PDO::rollBack +--SKIPIF-- + +--FILE-- + +===DONE=== + +--EXPECT-- +Counted 3 rows after insert. +Counted 0 rows after delete. +Counted 3 rows after rollback. +===DONE=== diff --git a/ext/pdo_pgsql/tests/pdo_017.phpt b/ext/pdo_pgsql/tests/pdo_017.phpt new file mode 100755 index 0000000000..4f48f14da8 --- /dev/null +++ b/ext/pdo_pgsql/tests/pdo_017.phpt @@ -0,0 +1,22 @@ +--TEST-- +PDO_PGSQL: PDO::beginTransaction / PDO::rollBack +--SKIPIF-- + +--FILE-- + +===DONE=== + +--EXPECT-- +Counted 3 rows after insert. +Counted 0 rows after delete. +Counted 3 rows after rollback. +===DONE=== diff --git a/ext/pdo_sqlite/tests/pdo_017.phpt b/ext/pdo_sqlite/tests/pdo_017.phpt new file mode 100755 index 0000000000..1e0e76ca3a --- /dev/null +++ b/ext/pdo_sqlite/tests/pdo_017.phpt @@ -0,0 +1,22 @@ +--TEST-- +PDO_SQLite: PDO::beginTransaction / PDO::rollBack +--SKIPIF-- + +--FILE-- + +===DONE=== + +--EXPECT-- +Counted 3 rows after insert. +Counted 0 rows after delete. +Counted 3 rows after rollback. +===DONE===