From 7bbbfa3f15e6f4e03a1df7d3ba2b271e673f7068 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Mon, 7 Mar 2005 01:39:12 +0000 Subject: [PATCH] - Add new tests --- ext/pdo_mysql/tests/pdo_017.phpt | 22 ++++++++++++++++++++++ ext/pdo_pgsql/tests/pdo_017.phpt | 22 ++++++++++++++++++++++ ext/pdo_sqlite/tests/pdo_017.phpt | 22 ++++++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100755 ext/pdo_mysql/tests/pdo_017.phpt create mode 100755 ext/pdo_pgsql/tests/pdo_017.phpt create mode 100755 ext/pdo_sqlite/tests/pdo_017.phpt 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=== -- 2.50.1