diff options
27 files changed, 73 insertions, 23 deletions
diff --git a/ext/reflection/tests/001.phpt b/ext/reflection/tests/001.phpt index f68afc950e..8e4a487298 100755 --- a/ext/reflection/tests/001.phpt +++ b/ext/reflection/tests/001.phpt @@ -1,5 +1,7 @@ --TEST-- Reflection inheritance +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php diff --git a/ext/reflection/tests/002.phpt b/ext/reflection/tests/002.phpt index 195aeb23e7..e522ac807a 100755 --- a/ext/reflection/tests/002.phpt +++ b/ext/reflection/tests/002.phpt @@ -1,5 +1,7 @@ --TEST-- Reflection properties are read only +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php diff --git a/ext/reflection/tests/003.phpt b/ext/reflection/tests/003.phpt index 6603892559..af8d82d576 100755 --- a/ext/reflection/tests/003.phpt +++ b/ext/reflection/tests/003.phpt @@ -1,5 +1,7 @@ --TEST-- -invoke() with base class method +ReflectionMethod::invoke() with base class method +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php diff --git a/ext/reflection/tests/004.phpt b/ext/reflection/tests/004.phpt index c5a243be6f..362cbcecdd 100755 --- a/ext/reflection/tests/004.phpt +++ b/ext/reflection/tests/004.phpt @@ -1,5 +1,7 @@ --TEST-- -invoke() with non object or null value +ReflectionMethod::invoke() with non object or null value +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php diff --git a/ext/reflection/tests/005.phpt b/ext/reflection/tests/005.phpt index f337e44ae6..bedc7d0326 100755 --- a/ext/reflection/tests/005.phpt +++ b/ext/reflection/tests/005.phpt @@ -1,5 +1,7 @@ --TEST-- ReflectionMethod::getDocComment() uses wrong comment block +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php diff --git a/ext/reflection/tests/006.phpt b/ext/reflection/tests/006.phpt index 89c438765a..9e97ae4654 100755 --- a/ext/reflection/tests/006.phpt +++ b/ext/reflection/tests/006.phpt @@ -1,5 +1,7 @@ --TEST-- ReflectionClass::[gs]etStaticPropertyValue +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php diff --git a/ext/reflection/tests/007.phpt b/ext/reflection/tests/007.phpt index 004158ccff..83764e5515 100755 --- a/ext/reflection/tests/007.phpt +++ b/ext/reflection/tests/007.phpt @@ -1,5 +1,7 @@ --TEST-- ReflectionClass::newInstance[Args] +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php diff --git a/ext/reflection/tests/bug26640.phpt b/ext/reflection/tests/bug26640.phpt index 2cbd0d23d4..026e67561a 100755 --- a/ext/reflection/tests/bug26640.phpt +++ b/ext/reflection/tests/bug26640.phpt @@ -1,5 +1,7 @@ --TEST-- -Bug #26640 (__autoload() not invoked by Reflection classes) +Reflection Bug #26640 (__autoload() not invoked by Reflection classes) +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php diff --git a/ext/reflection/tests/bug26695.phpt b/ext/reflection/tests/bug26695.phpt index 879546bd7d..b04bad66fa 100755 --- a/ext/reflection/tests/bug26695.phpt +++ b/ext/reflection/tests/bug26695.phpt @@ -1,5 +1,7 @@ --TEST-- -Bug #26695 (Reflection API does not recognize mixed-case class hints) +Reflection Bug #26695 (Reflection API does not recognize mixed-case class hints) +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php diff --git a/ext/reflection/tests/bug29268.phpt b/ext/reflection/tests/bug29268.phpt index 42dfe85027..376f5c1b7b 100755 --- a/ext/reflection/tests/bug29268.phpt +++ b/ext/reflection/tests/bug29268.phpt @@ -1,5 +1,7 @@ --TEST-- -Bug #29268 (__autoload() not called with reflectionProperty->getClass()) +Reflection Bug #29268 (__autoload() not called with reflectionProperty->getClass()) +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php function __autoload($classname) { diff --git a/ext/reflection/tests/bug29523.phpt b/ext/reflection/tests/bug29523.phpt index 01c83c2a15..ac83cc789b 100755 --- a/ext/reflection/tests/bug29523.phpt +++ b/ext/reflection/tests/bug29523.phpt @@ -1,5 +1,7 @@ --TEST-- -Bug #29523 (ReflectionParameter::isOptional() is incorrect) +Reflection Bug #29523 (ReflectionParameter::isOptional() is incorrect) +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php diff --git a/ext/reflection/tests/bug29828.phpt b/ext/reflection/tests/bug29828.phpt index b82be39f98..7d4de40c12 100755 --- a/ext/reflection/tests/bug29828.phpt +++ b/ext/reflection/tests/bug29828.phpt @@ -1,5 +1,7 @@ --TEST-- -Bug #29828 (Interfaces no longer work) +Reflection Bug #29828 (Interfaces no longer work) +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php diff --git a/ext/reflection/tests/bug29986.phpt b/ext/reflection/tests/bug29986.phpt index 8f9d666629..85bad6d6ec 100644 --- a/ext/reflection/tests/bug29986.phpt +++ b/ext/reflection/tests/bug29986.phpt @@ -1,5 +1,5 @@ --TEST-- -Bug #29986 Class constants won't work with predefined constants when using ReflectionClass +Reflection Bug #29986 (Class constants won't work with predefined constants when using ReflectionClass) --SKIPIF-- <?php extension_loaded('reflection') or die('skip'); ?> --FILE-- diff --git a/ext/reflection/tests/bug30146.phpt b/ext/reflection/tests/bug30146.phpt index 4f48985dcc..3a7ce92a01 100755 --- a/ext/reflection/tests/bug30146.phpt +++ b/ext/reflection/tests/bug30146.phpt @@ -1,5 +1,7 @@ --TEST-- -Bug #30146 (ReflectionProperty->getValue() requires instance for static property) +Reflection Bug #30146 (ReflectionProperty->getValue() requires instance for static property) +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php class test { diff --git a/ext/reflection/tests/bug30148.phpt b/ext/reflection/tests/bug30148.phpt index c3bfd0611f..d058aaa248 100755 --- a/ext/reflection/tests/bug30148.phpt +++ b/ext/reflection/tests/bug30148.phpt @@ -1,5 +1,7 @@ --TEST-- -Bug #30148 (ReflectionMethod->isConstructor() fails for inherited classes) +Reflection Bug #30148 (ReflectionMethod->isConstructor() fails for inherited classes) +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php diff --git a/ext/reflection/tests/bug30209.phpt b/ext/reflection/tests/bug30209.phpt index 6705c6704d..bab16ee35e 100755 --- a/ext/reflection/tests/bug30209.phpt +++ b/ext/reflection/tests/bug30209.phpt @@ -1,5 +1,7 @@ --TEST-- -Bug #30209 (ReflectionClass::getMethod() lowercases attribute) +Reflection Bug #30209 (ReflectionClass::getMethod() lowercases attribute) +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php diff --git a/ext/reflection/tests/bug30856.phpt b/ext/reflection/tests/bug30856.phpt index 9b54221860..e5f06ab057 100755 --- a/ext/reflection/tests/bug30856.phpt +++ b/ext/reflection/tests/bug30856.phpt @@ -1,5 +1,7 @@ --TEST-- -Bug #30856 (ReflectionClass::getStaticProperties segfaults) +Reflection Bug #30856 (ReflectionClass::getStaticProperties segfaults) +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php class bogus { diff --git a/ext/reflection/tests/bug30961.phpt b/ext/reflection/tests/bug30961.phpt index 92ba6d1ab2..dab07417b3 100755 --- a/ext/reflection/tests/bug30961.phpt +++ b/ext/reflection/tests/bug30961.phpt @@ -1,5 +1,7 @@ --TEST-- -Bug #30961 (Wrong linenumber in ReflectionClass getStartLine()) +Reflection Bug #30961 (Wrong linenumber in ReflectionClass getStartLine()) +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php class a diff --git a/ext/reflection/tests/bug31651.phpt b/ext/reflection/tests/bug31651.phpt index 60bee14e9f..66a56c0f47 100755 --- a/ext/reflection/tests/bug31651.phpt +++ b/ext/reflection/tests/bug31651.phpt @@ -1,5 +1,7 @@ --TEST-- -Bug #31651 (ReflectionClass::getDefaultProperties segfaults with arrays.) +Reflection Bug #31651 (ReflectionClass::getDefaultProperties segfaults with arrays.) +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php diff --git a/ext/reflection/tests/bug32981.phpt b/ext/reflection/tests/bug32981.phpt index 1f89ca682b..53214d7aa0 100755 --- a/ext/reflection/tests/bug32981.phpt +++ b/ext/reflection/tests/bug32981.phpt @@ -1,5 +1,7 @@ --TEST-- -Bug #32981 (ReflectionMethod::getStaticVariables() causes apache2.0.54 seg fault) +Reflection Bug #32981 (ReflectionMethod::getStaticVariables() causes apache2.0.54 seg fault) +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php diff --git a/ext/reflection/tests/bug33312.phpt b/ext/reflection/tests/bug33312.phpt index 0c38304094..b39ec3c6f1 100755 --- a/ext/reflection/tests/bug33312.phpt +++ b/ext/reflection/tests/bug33312.phpt @@ -1,5 +1,7 @@ --TEST-- -Bug #33312 (ReflectionParameter methods do not work correctly) +Reflection Bug #33312 (ReflectionParameter methods do not work correctly) +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php class Foo { diff --git a/ext/reflection/tests/bug33389.phpt b/ext/reflection/tests/bug33389.phpt index 36f7079e2d..d2a84e212d 100755 --- a/ext/reflection/tests/bug33389.phpt +++ b/ext/reflection/tests/bug33389.phpt @@ -1,5 +1,7 @@ --TEST-- -Bug #33389 (double free() when exporting a ReflectionClass) +Reflection Bug #33389 (double free() when exporting a ReflectionClass) +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php define ('foobar', 1); diff --git a/ext/reflection/tests/bug36308.phpt b/ext/reflection/tests/bug36308.phpt index 0b0346a137..52717b474a 100755 --- a/ext/reflection/tests/bug36308.phpt +++ b/ext/reflection/tests/bug36308.phpt @@ -1,5 +1,7 @@ --TEST-- -Bug #36308 (ReflectionProperty::getDocComment() does not reflect extended class commentary) +Reflection Bug #36308 (ReflectionProperty::getDocComment() does not reflect extended class commentary) +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php class Base { diff --git a/ext/reflection/tests/bug36434.phpt b/ext/reflection/tests/bug36434.phpt index c92c358a29..e305c657a8 100644 --- a/ext/reflection/tests/bug36434.phpt +++ b/ext/reflection/tests/bug36434.phpt @@ -1,5 +1,7 @@ --TEST-- -Bug #36434 (Properties from parent class fail to indetify their true origin) +Reflection Bug #36434 (Properties from parent class fail to indetify their true origin) +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php class ancester diff --git a/ext/reflection/tests/parameters_001.phpt b/ext/reflection/tests/parameters_001.phpt index 709944677f..62cd069b60 100755 --- a/ext/reflection/tests/parameters_001.phpt +++ b/ext/reflection/tests/parameters_001.phpt @@ -1,5 +1,7 @@ --TEST-- -Check for parameter being optional +ReflectionParameter Check for parameter being optional +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php diff --git a/ext/reflection/tests/property_exists.phpt b/ext/reflection/tests/property_exists.phpt index fa712dfdbe..8fd45f2b8c 100755 --- a/ext/reflection/tests/property_exists.phpt +++ b/ext/reflection/tests/property_exists.phpt @@ -1,5 +1,7 @@ --TEST-- -ZE2 property_exists() +Reflection and property_exists() +--SKIPIF-- +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php diff --git a/ext/reflection/tests/static_properties_002.phpt b/ext/reflection/tests/static_properties_002.phpt index 29b84a8e65..051b9fb10e 100755 --- a/ext/reflection/tests/static_properties_002.phpt +++ b/ext/reflection/tests/static_properties_002.phpt @@ -1,7 +1,7 @@ --TEST-- -ZE2 Inheriting static properties +Reflection and inheriting static properties --SKIPIF-- -<?php if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 needed'); ?> +<?php extension_loaded('reflection') or die('skip'); ?> --FILE-- <?php |
