]> granicus.if.org Git - php/commitdiff
add missing SKIPIF sections
authorAntony Dovgal <tony2001@php.net>
Thu, 12 Apr 2007 12:29:48 +0000 (12:29 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 12 Apr 2007 12:29:48 +0000 (12:29 +0000)
ext/reflection/tests/008.phpt
ext/reflection/tests/009.phpt
ext/reflection/tests/bug37816.phpt
ext/reflection/tests/bug38217.phpt
ext/reflection/tests/bug38653.phpt
ext/reflection/tests/bug38942.phpt
ext/reflection/tests/bug39001.phpt
ext/reflection/tests/bug39067.phpt
ext/reflection/tests/bug39884.phpt
ext/reflection/tests/bug40431.phpt

index 2abdcdb57b5dba29ecbd6d345b6ed9f5b44b0124..c5ee5b33e11a9aea56141d0994c39b5c76a58f6c 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 ReflectionMethod::__construct() tests
+--SKIPIF--
+<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index e96b21ebaf2687936c7fa39ddccecddb11317da2..bfe37c52f9455e2653d4afbc4bda0c679f87a8f5 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 ReflectionFunction basic tests
+--SKIPIF--
+<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 18a49046dc799358ab701359cbf0956e8f32dbc2..1121d541882bc6bd01950d5b9b5694412c966178 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 Bug #37816 (ReflectionProperty does not throw exception when accessing protected attribute)
+--SKIPIF--
+<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 55e0c46644db570ef702fdeb8ab6089e88d6e2f3..590d7f79eb515a930c2f9ac0d5a75bd0bc62a492 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
-#38217 (ReflectionClass::newInstanceArgs() tries to allocate too much memory)
+Bug #38217 (ReflectionClass::newInstanceArgs() tries to allocate too much memory)
+--SKIPIF--
+<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 68781d2aba1e1141cf64aa78e2134e571922a377..0e6fcd035f5266bb32c2f49ae1c5de579fe09835 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Bug #38653 (memory leak in ReflectionClass::getConstant())
+--SKIPIF--
+<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 817190c997041837ea942351836e63fbd686ddd6..a02f596aff3fa3806183dc5d6ec52914bad3771d 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 Bug #38942 (Double old-style-ctor inheritance)
+--SKIPIF--
+<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 class foo {
index 1ed675f029e167f96bca00cf2534d807f0fe0ca1..59bab0291a93de93ce5af5f758a7d7f5b090a36e 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Bug #39001 (ReflectionProperty returns incorrect declaring class for protected properties)
+--SKIPIF--
+<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 8a7a6044e1b90a82b13c81139feec64219389f0f..020ae74e419ec14f68ff12905c7492b6a7bfa3f2 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Bug #39067 (getDeclaringClass() and private properties)
+--SKIPIF--
+<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index dbc57ee5210971f76c0449c5c791472ff4aacede..8022954bf2d7a53d4f4384907415f3876dfedd1e 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Bug #39884 (ReflectionParameter::getClass() throws exception for type hint self)
+--SKIPIF--
+<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 class stubParamTest
index 6e6e4c5eb16bc1724f13cae07f3d480bd88958b5..2f2b2d932eac14d173147c16172553508468bd44 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Bug #40431 (dynamic properties may cause crash in ReflectionProperty methods)
+--SKIPIF--
+<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php