]> granicus.if.org Git - php/commitdiff
- Update tests
authorMarcus Boerger <helly@php.net>
Sun, 13 Mar 2005 22:35:34 +0000 (22:35 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 13 Mar 2005 22:35:34 +0000 (22:35 +0000)
ext/pdo_mysql/tests/pdo_014.phpt
ext/pdo_mysql/tests/pdo_018.phpt
ext/pdo_pgsql/tests/pdo_014.phpt
ext/pdo_pgsql/tests/pdo_018.phpt
ext/pdo_sqlite/tests/pdo_014.phpt
ext/pdo_sqlite/tests/pdo_018.phpt

index c268ad00d4c6903cd422502cc766bc832115dee4..a702c93e7d177340d1396d98e888714658ed0eb6 100755 (executable)
@@ -4,6 +4,7 @@ PDO_MySQL: PDOStatement and SPL Iterators
 <?php # vim:ft=php
 require_once('skipif.inc');
 if (!extension_loaded('SPL')) die('skip SPL not available');
+if (!class_exists('IteratorIterator')) die ('skip Class IteratorIterator does not exist');
 ?>
 --FILE--
 <?php
index 2a77a0a77cd23ba3317a552d1a16f8a6069acdfe..2cc56bcb473dfbc36cf28691280e68997cf11399 100755 (executable)
@@ -3,6 +3,7 @@ PDO_MySQL: PDO Unserializing
 --SKIPIF--
 <?php # vim:ft=php
 require_once('skipif.inc');
+if (!interface_exists('Serializeable')) die ('skip Interface Serializeable does not exist');
 ?>
 --FILE--
 <?php
index 74cf077bdf391595c7c9a55436cb72a688017bab..eed5575c85bf9ebae34f8d5b872cc23fe8bd7378 100755 (executable)
@@ -4,6 +4,7 @@ PDO_PGSQL: PDOStatement and SPL Iterators
 <?php # vim:ft=php
 require_once('skipif.inc');
 if (!extension_loaded('SPL')) die('skip SPL not available');
+if (!class_exists('IteratorIterator')) die ('skip Class IteratorIterator does not exist');
 ?>
 --FILE--
 <?php
index 6eaa66c78889a1cbcb7471941a4acb374dfbd1a2..99ccfe364800aea7c3d2a89afaf9da66d9d0ab7c 100755 (executable)
@@ -3,6 +3,7 @@ PDO_PGSQL: PDO Unserializing
 --SKIPIF--
 <?php # vim:ft=php
 require_once('skipif.inc');
+if (!interface_exists('Serializeable')) die ('skip Interface Serializeable does not exist');
 ?>
 --FILE--
 <?php
index a9441a2f18340f2b5616a9cbe59d762ae245cec7..7c6e306cca327d608b3f34d598ad3db0973d90bd 100755 (executable)
@@ -4,6 +4,7 @@ PDO_SQLite: PDOStatement and SPL Iterators
 <?php # vim:ft=php
 require_once('skipif.inc');
 if (!extension_loaded('SPL')) die('skip SPL not available');
+if (!class_exists('IteratorIterator')) die ('skip Class IteratorIterator does not exist');
 ?>
 --FILE--
 <?php
index 8fd5d1f267180e3b3201807068853b18e94fc499..600d02b9101d3ec6f69945b6c471bec8c7cea43a 100755 (executable)
@@ -3,6 +3,7 @@ PDO_SQLite: PDO Unserializing
 --SKIPIF--
 <?php # vim:ft=php
 require_once('skipif.inc');
+if (!interface_exists('Serializeable')) die ('skip Interface Serializeable does not exist');
 ?>
 --FILE--
 <?php