]> granicus.if.org Git - php/commitdiff
- Prefix test names
authorMarcus Boerger <helly@php.net>
Sun, 12 Mar 2006 12:38:25 +0000 (12:38 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 12 Mar 2006 12:38:25 +0000 (12:38 +0000)
- Add missing skipif

27 files changed:
ext/reflection/tests/001.phpt
ext/reflection/tests/002.phpt
ext/reflection/tests/003.phpt
ext/reflection/tests/004.phpt
ext/reflection/tests/005.phpt
ext/reflection/tests/006.phpt
ext/reflection/tests/007.phpt
ext/reflection/tests/bug26640.phpt
ext/reflection/tests/bug26695.phpt
ext/reflection/tests/bug29268.phpt
ext/reflection/tests/bug29523.phpt
ext/reflection/tests/bug29828.phpt
ext/reflection/tests/bug29986.phpt
ext/reflection/tests/bug30146.phpt
ext/reflection/tests/bug30148.phpt
ext/reflection/tests/bug30209.phpt
ext/reflection/tests/bug30856.phpt
ext/reflection/tests/bug30961.phpt
ext/reflection/tests/bug31651.phpt
ext/reflection/tests/bug32981.phpt
ext/reflection/tests/bug33312.phpt
ext/reflection/tests/bug33389.phpt
ext/reflection/tests/bug36308.phpt
ext/reflection/tests/bug36434.phpt
ext/reflection/tests/parameters_001.phpt
ext/reflection/tests/property_exists.phpt
ext/reflection/tests/static_properties_002.phpt

index f68afc950e3ef6dab8326a61fe01f3aa735cbac9..8e4a487298c0cca589d7c0aa2580b988058fc830 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 Reflection inheritance
+--SKIPIF--
+<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 195aeb23e7d9fa24d2c9134d6411d928d8934848..e522ac807a59d9032394af9b6cbe3dbc47da8765 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 Reflection properties are read only
+--SKIPIF--
+<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 660389255907c8dc478d9bca5d296da94a1e5376..af8d82d5762692cd34f3c957769c88a058fab5c3 100755 (executable)
@@ -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
 
index c5a243be6fafdb3d4e5d506d0600a1bf41feb4a6..362cbcecdda8e9d0ebbf42c624541dfed917dcdc 100755 (executable)
@@ -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
 
index f337e44ae684a841c576ef6912269ed6be2f805c..bedc7d032661c1c1d9d52f94e5ffe09b44429b5c 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 ReflectionMethod::getDocComment() uses wrong comment block
+--SKIPIF--
+<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 89c438765a1f4a3ce88ed408034ba0503ea46d74..9e97ae4654e4efa4162bd2cbab6b0543fe9b3e79 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 ReflectionClass::[gs]etStaticPropertyValue
+--SKIPIF--
+<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 004158ccffad61b3199e1eff9e6ce6e49d2af409..83764e551545b9bef7841013f117360f608754ab 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 ReflectionClass::newInstance[Args]
+--SKIPIF--
+<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 2cbd0d23d4149c5b513124ad999e95f563ed8e27..026e67561a9fd1f96c87b46f666fcc8e08087f5c 100755 (executable)
@@ -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
 
index 879546bd7d9b72b704d9c5a5b3b9137b6c389f9f..b04bad66fad6722687d3338cb88396612c20388b 100755 (executable)
@@ -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
 
index 42dfe8502722ddcdc52b692c12669f64d89e046b..376f5c1b7b67bf0ede344da392f2731d87671e91 100755 (executable)
@@ -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) {
index 01c83c2a15ef1bbddb0720188168b43bf80eeda7..ac83cc789b824724aa6d8cdda537d267a82b5e9f 100755 (executable)
@@ -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
 
index b82be39f981af06c07b2b6f6abb49f36daeeac9e..7d4de40c12a1ba8d901a5e53108043976d7140bf 100755 (executable)
@@ -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
 
index 8f9d666629becd04b75ac6494bd572dfeb33a6f1..85bad6d6ec98208339c9476f0425c70d12922dc1 100644 (file)
@@ -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--
index 4f48985dcc3439ddb87d3e5e44b28fdec63cbf9d..3a7ce92a01c5ae2c5d013e7e293550eeae0e19eb 100755 (executable)
@@ -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 {
index c3bfd0611f93805752f140a4c7773a5745584627..d058aaa248c1c78bfbbc79afec7d5d41166ce3fb 100755 (executable)
@@ -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
 
index 6705c6704d7cbf2bf962db0cebc5efb3952afa39..bab16ee35ec0d5bcce979bbfbadaf387059ba299 100755 (executable)
@@ -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
 
index 9b54221860185b358a700713ec9435fd559ad8fb..e5f06ab0570dc135b7c7ca5984b2adaac8435479 100755 (executable)
@@ -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 {
index 92ba6d1ab221e7a54031173b830735c11ae99a2e..dab07417b312d1f792cfc16a5579f19acf65191e 100755 (executable)
@@ -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
index 60bee14e9f69e1ddf7fe44f9046290138c6ee7c0..66a56c0f472ae8ef4de1da220b93d76198212f47 100755 (executable)
@@ -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
 
index 1f89ca682b6e9fbc3c885dc93e206e9a7e98f6ee..53214d7aa0dfc705fb4745b65f952fde140688aa 100755 (executable)
@@ -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
 
index 0c38304094cb779c81c7958aacafc2d2a6c81c66..b39ec3c6f1baab6d446161f91ae3c111a8368977 100755 (executable)
@@ -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 {
index 36f7079e2db865888a49ad6449de0830c0dc52ad..d2a84e212d4b3247ab791d2ee2772eef61f9607d 100755 (executable)
@@ -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);
index 0b0346a137d9e9e1c335c276d9a860e6f6bca448..52717b474a5ff2f14d1988f24912daa0d6b06651 100755 (executable)
@@ -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 {
index c92c358a293ab18370d3ac7ff06ef4450ad91601..e305c657a8baee5fa6899338e6ebc0d7ebf00a6c 100644 (file)
@@ -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
index 709944677f1b28532cca8679f0b19638ac79adf9..62cd069b6024cebaee03c8dd6c3f6a42d98a8fef 100755 (executable)
@@ -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
 
index fa712dfdbe5afdf950a30dfc5f08171ba52501f6..8fd45f2b8caa024b5ba921abd296b560f8ab9583 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
-ZE2 property_exists()
+Reflection and property_exists()
+--SKIPIF--
+<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 29b84a8e65974c047797cca85c48f6d4fc518ad2..051b9fb10e6ba896c79e2a46bb1ae2b4fea77252 100755 (executable)
@@ -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