helly           Wed Sep 29 16:16:04 2004 EDT

  Modified files:              (Branch: PHP_5_0)
    /php-src/ext/spl/tests      array_009.phpt array_010.phpt array_014.phpt 
                                bug28822.phpt dit_001.phpt iterator_002.phpt 
  Log:
  MFH
  
http://cvs.php.net/diff.php/php-src/ext/spl/tests/array_009.phpt?r1=1.2&r2=1.2.2.1&ty=u
Index: php-src/ext/spl/tests/array_009.phpt
diff -u php-src/ext/spl/tests/array_009.phpt:1.2 
php-src/ext/spl/tests/array_009.phpt:1.2.2.1
--- php-src/ext/spl/tests/array_009.phpt:1.2    Wed Apr 28 15:58:47 2004
+++ php-src/ext/spl/tests/array_009.phpt        Wed Sep 29 16:16:03 2004
@@ -1,5 +1,7 @@
 --TEST--
 SPL: ArrayIterator implementing RecursiveIterator
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
http://cvs.php.net/diff.php/php-src/ext/spl/tests/array_010.phpt?r1=1.1&r2=1.1.2.1&ty=u
Index: php-src/ext/spl/tests/array_010.phpt
diff -u php-src/ext/spl/tests/array_010.phpt:1.1 
php-src/ext/spl/tests/array_010.phpt:1.1.2.1
--- php-src/ext/spl/tests/array_010.phpt:1.1    Sun Apr 25 07:14:11 2004
+++ php-src/ext/spl/tests/array_010.phpt        Wed Sep 29 16:16:03 2004
@@ -1,9 +1,7 @@
 --TEST--
 SPL: ArrayIterator implements ArrayAccess
 --SKIPIF--
-<?php
-       if (!class_exists('ArrayAccess')) die('skip ArrayAccess not present');
-?>
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
http://cvs.php.net/diff.php/php-src/ext/spl/tests/array_014.phpt?r1=1.1.2.1&r2=1.1.2.2&ty=u
Index: php-src/ext/spl/tests/array_014.phpt
diff -u php-src/ext/spl/tests/array_014.phpt:1.1.2.1 
php-src/ext/spl/tests/array_014.phpt:1.1.2.2
--- php-src/ext/spl/tests/array_014.phpt:1.1.2.1        Tue Aug 31 16:56:08 2004
+++ php-src/ext/spl/tests/array_014.phpt        Wed Sep 29 16:16:03 2004
@@ -16,8 +16,10 @@
 $it->seek(12);
 var_dump($it->current());
 
+$pos = 0;
 foreach($it as $v)
 {
+       $it->seek($pos++);
        var_dump($v);
 }
 
http://cvs.php.net/diff.php/php-src/ext/spl/tests/bug28822.phpt?r1=1.1&r2=1.1.2.1&ty=u
Index: php-src/ext/spl/tests/bug28822.phpt
diff -u php-src/ext/spl/tests/bug28822.phpt:1.1 
php-src/ext/spl/tests/bug28822.phpt:1.1.2.1
--- php-src/ext/spl/tests/bug28822.phpt:1.1     Mon Jun 21 15:15:27 2004
+++ php-src/ext/spl/tests/bug28822.phpt Wed Sep 29 16:16:03 2004
@@ -1,5 +1,7 @@
 --TEST--
 Bug #28822: ArrayObject::offsetExists() works inverted
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
http://cvs.php.net/diff.php/php-src/ext/spl/tests/dit_001.phpt?r1=1.1.2.1&r2=1.1.2.2&ty=u
Index: php-src/ext/spl/tests/dit_001.phpt
diff -u php-src/ext/spl/tests/dit_001.phpt:1.1.2.1 
php-src/ext/spl/tests/dit_001.phpt:1.1.2.2
--- php-src/ext/spl/tests/dit_001.phpt:1.1.2.1  Thu Sep  9 03:46:43 2004
+++ php-src/ext/spl/tests/dit_001.phpt  Wed Sep 29 16:16:03 2004
@@ -1,11 +1,19 @@
---TEST--
-SPL: Problem with casting to string
---FILE--
-<?php
-$d = new DirectoryIterator('.');
-preg_match('/x/', $d);
-var_dump($d);
-?>
---EXPECTF--
-object(DirectoryIterator)#%d (0) {
-}
+--TEST--
+SPL: Problem with casting to string
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
+--FILE--
+<?php
+$d = new DirectoryIterator('.');
+var_dump($d);
+var_dump(is_string($d));
+preg_match('/x/', $d);
+var_dump(is_string($d));
+?>
+===DONE===
+--EXPECTF--
+object(DirectoryIterator)#%d (0) {
+}
+bool(false)
+bool(false)
+===DONE===
http://cvs.php.net/diff.php/php-src/ext/spl/tests/iterator_002.phpt?r1=1.1&r2=1.1.2.1&ty=u
Index: php-src/ext/spl/tests/iterator_002.phpt
diff -u php-src/ext/spl/tests/iterator_002.phpt:1.1 
php-src/ext/spl/tests/iterator_002.phpt:1.1.2.1
--- php-src/ext/spl/tests/iterator_002.phpt:1.1 Wed Apr 28 15:58:47 2004
+++ php-src/ext/spl/tests/iterator_002.phpt     Wed Sep 29 16:16:03 2004
@@ -1,5 +1,7 @@
 --TEST--
 SPL: Iterator using getInnerIterator
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to