felipe Thu, 09 Sep 2010 21:46:29 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=303242
Log:
- Fixed test
Changed paths:
U
php/php-src/branches/PHP_5_3/ext/reflection/tests/ReflectionClass_isIterateable_001.phpt
U
php/php-src/trunk/ext/reflection/tests/ReflectionClass_isIterateable_001.phpt
Modified:
php/php-src/branches/PHP_5_3/ext/reflection/tests/ReflectionClass_isIterateable_001.phpt
===================================================================
---
php/php-src/branches/PHP_5_3/ext/reflection/tests/ReflectionClass_isIterateable_001.phpt
2010-09-09 20:50:50 UTC (rev 303241)
+++
php/php-src/branches/PHP_5_3/ext/reflection/tests/ReflectionClass_isIterateable_001.phpt
2010-09-09 21:46:29 UTC (rev 303242)
@@ -62,14 +62,28 @@
Is A iterable? bool(false)
Test invalid params:
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
+Warning: ReflectionClass::isIterateable() expects exactly 0 parameters, 1
given in %s on line 34
+NULL
+
+Warning: ReflectionClass::isIterateable() expects exactly 0 parameters, 2
given in %s on line 35
+NULL
+
+Warning: ReflectionClass::isIterateable() expects exactly 0 parameters, 1
given in %s on line 36
+NULL
+
+Warning: ReflectionClass::isIterateable() expects exactly 0 parameters, 1
given in %s on line 37
+NULL
+
+Warning: ReflectionClass::isIterateable() expects exactly 0 parameters, 1
given in %s on line 38
+NULL
+
+Warning: ReflectionClass::isIterateable() expects exactly 0 parameters, 1
given in %s on line 39
+NULL
+
+Warning: ReflectionClass::isIterateable() expects exactly 0 parameters, 1
given in %s on line 40
+NULL
+
Test static invocation:
Fatal error: Non-static method ReflectionClass::isIterateable() cannot be
called statically in %s on line 43
\ No newline at end of file
Modified:
php/php-src/trunk/ext/reflection/tests/ReflectionClass_isIterateable_001.phpt
===================================================================
---
php/php-src/trunk/ext/reflection/tests/ReflectionClass_isIterateable_001.phpt
2010-09-09 20:50:50 UTC (rev 303241)
+++
php/php-src/trunk/ext/reflection/tests/ReflectionClass_isIterateable_001.phpt
2010-09-09 21:46:29 UTC (rev 303242)
@@ -62,14 +62,28 @@
Is A iterable? bool(false)
Test invalid params:
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
+Warning: ReflectionClass::isIterateable() expects exactly 0 parameters, 1
given in %s on line 34
+NULL
+
+Warning: ReflectionClass::isIterateable() expects exactly 0 parameters, 2
given in %s on line 35
+NULL
+
+Warning: ReflectionClass::isIterateable() expects exactly 0 parameters, 1
given in %s on line 36
+NULL
+
+Warning: ReflectionClass::isIterateable() expects exactly 0 parameters, 1
given in %s on line 37
+NULL
+
+Warning: ReflectionClass::isIterateable() expects exactly 0 parameters, 1
given in %s on line 38
+NULL
+
+Warning: ReflectionClass::isIterateable() expects exactly 0 parameters, 1
given in %s on line 39
+NULL
+
+Warning: ReflectionClass::isIterateable() expects exactly 0 parameters, 1
given in %s on line 40
+NULL
+
Test static invocation:
Fatal error: Non-static method ReflectionClass::isIterateable() cannot be
called statically in %s on line 43
\ No newline at end of file
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php