diff options
| author | Marcus Boerger <helly@php.net> | 2005-03-07 01:39:12 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2005-03-07 01:39:12 +0000 |
| commit | 7bbbfa3f15e6f4e03a1df7d3ba2b271e673f7068 (patch) | |
| tree | 5dfef3af97f0ff746aa83cd79eb72d18acfa5f05 | |
| parent | b25b123467b93e20d8b14116a9c2c8de407c7277 (diff) | |
| download | php-git-7bbbfa3f15e6f4e03a1df7d3ba2b271e673f7068.tar.gz | |
- Add new tests
| -rwxr-xr-x | ext/pdo_mysql/tests/pdo_017.phpt | 22 | ||||
| -rwxr-xr-x | ext/pdo_pgsql/tests/pdo_017.phpt | 22 | ||||
| -rwxr-xr-x | ext/pdo_sqlite/tests/pdo_017.phpt | 22 |
3 files changed, 66 insertions, 0 deletions
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-- +<?php # vim:ft=php +require_once('skipif.inc'); +?> +--FILE-- +<?php + +require_once('connection.inc'); +require_once('prepare.inc'); + +require_once($PDO_TESTS . 'pdo_017.inc'); + +?> +===DONE=== +<?php exit(0); ?> +--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-- +<?php # vim:ft=php +require_once('skipif.inc'); +?> +--FILE-- +<?php + +require_once('connection.inc'); +require_once('prepare.inc'); + +require_once($PDO_TESTS . 'pdo_017.inc'); + +?> +===DONE=== +<?php exit(0); ?> +--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-- +<?php # vim:ft=php +require_once('skipif.inc'); +?> +--FILE-- +<?php + +require_once('connection.inc'); +require_once('prepare.inc'); + +require_once($PDO_TESTS . 'pdo_017.inc'); + +?> +===DONE=== +<?php exit(0); ?> +--EXPECT-- +Counted 3 rows after insert. +Counted 0 rows after delete. +Counted 3 rows after rollback. +===DONE=== |
