]> granicus.if.org Git - php/commitdiff
Added: SKIP when tokenizer extension is not available
authorStefan Marr <gron@php.net>
Sun, 31 Jul 2011 16:35:09 +0000 (16:35 +0000)
committerStefan Marr <gron@php.net>
Sun, 31 Jul 2011 16:35:09 +0000 (16:35 +0000)
21 files changed:
ext/tokenizer/tests/token_get_all_basic.phpt
ext/tokenizer/tests/token_get_all_error.phpt
ext/tokenizer/tests/token_get_all_variation1.phpt
ext/tokenizer/tests/token_get_all_variation10.phpt
ext/tokenizer/tests/token_get_all_variation11.phpt
ext/tokenizer/tests/token_get_all_variation12.phpt
ext/tokenizer/tests/token_get_all_variation13.phpt
ext/tokenizer/tests/token_get_all_variation14.phpt
ext/tokenizer/tests/token_get_all_variation15.phpt
ext/tokenizer/tests/token_get_all_variation16.phpt
ext/tokenizer/tests/token_get_all_variation17.phpt
ext/tokenizer/tests/token_get_all_variation18.phpt
ext/tokenizer/tests/token_get_all_variation19.phpt
ext/tokenizer/tests/token_get_all_variation2.phpt
ext/tokenizer/tests/token_get_all_variation3.phpt
ext/tokenizer/tests/token_get_all_variation4.phpt
ext/tokenizer/tests/token_get_all_variation5.phpt
ext/tokenizer/tests/token_get_all_variation6.phpt
ext/tokenizer/tests/token_get_all_variation7.phpt
ext/tokenizer/tests/token_get_all_variation8.phpt
ext/tokenizer/tests/token_get_all_variation9.phpt

index 5eb6311b57fee9db90691ff2b05b38da894f74f4..7af8109f896229775cab0f69473bac82863b6194 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test token_get_all() function : basic functionality 
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
index 52b1efc1dd600504c9101d8e8abd3b6c1c5a3f77..29e97c38c4071f3aabbec85b8090fd69d845eef2 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test token_get_all() function : error conditions 
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
index e7d131e740053df754cab7a2c9fd1c984fe9f11f..276453fd157ae71127444b4055a2cbda84706b5f 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test token_get_all() function : usage variations - unexpected values for 'source' argument
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
index a482594e2995eb2613307a26e8e4cadead7ecb2a..55e9d7edf82282c854891590656fc1d325a5dca4 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test token_get_all() function : usage variations - with constant tokens
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
index df19561f4c3a9322e35e1c8dc1d12f4839e3588e..ecc86177a4dfb4d656d2d9dc31b5705bbf5f8c00 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test token_get_all() function : usage variations - with control structure tokens
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
index 51846676fc3fbf5c27c9453afd58078ca06b18fc..0968649ced3a19fb60e48c8f2f900acda5a36f2d 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test token_get_all() function : usage variations - with predefined language constants
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
index e928d4845fbe83c35438b24ea0dfdf1bfbebdfb4..9b2f3bc94fb6153bd42a9ec57bf58eda9fe6401b 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test token_get_all() function : usage variations - with class/object constructs
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
index 5cd2fdc8aa48c1283bab402557d13684761faa36..5fc390e36caa987c877f205975679a7d789773d0 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test token_get_all() function : usage variations - invalid token values
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
index 6b15d85da0478808f7b8110cfa9bd6b84a7f6778..fbb50dee862c80bfc541f4871b536c38896367d2 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test token_get_all() function : usage variations - heredoc string for 'source' 
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
 --INI--
 short_open_tag=On
 --FILE--
index 4ae694e7419a17f715ecc8b43c8d5a0b75aac02a..39550bdb3d8f5f87bcdf30943ec8fee2b4be35e0 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test token_get_all() function : usage variations - with function constructs
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
index 055e5c492ba77b808e3be7e096f028d1e8b777e0..dccc4c9c23dd94d57539ec44fbcdc8828c1eb7dd 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test token_get_all() function : usage variations - with exception keywords
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
index 0d012a606aae556f5945ddd38985d5317d680a7f..01219ffaa4ce3d6e5391394ba205928308b37db8 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test token_get_all() function : usage variations - with HTML code 
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
index ae614054f432e4ec0497fa532d49b7c5e8a8dbb4..9ae6759a8fec2e5401c4aaaea9e8cd2114b581ed 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Reconstructing a script using token_get_all()
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
 --FILE--
 <?php
 
index 49c956bb6c252d258a05417767eeb28e5403432f..1f206260c785453c3249787f8457a8b0fb9d314b 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test token_get_all() function : usage variations - with different arithmetic operators
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
index d7969d7932c8af321f336d7429b86f8db0a2ba84..66cf4aa87f04420d2e7d6a213f65073e8b429dbd 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test token_get_all() function : usage variations - with logical operators
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
index 699d58dda30a4966c1056f68a69c3728089a3308..45e6f8afbdefe040d75f779a9265a19d408c5a20 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test token_get_all() function : usage variations - with comparison operators
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
index 744894ed7621bdd7950a280b57f8a0f129f4faa3..0068f2866fb36a9126c65738aa927e62aab7d28d 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test token_get_all() function : usage variations - with assignment operators
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
index 2d22f57afef7959944bbf74142456739b1a4ab60..54936d0c89ac366f51441dead564cee2b22d21f7 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test token_get_all() function : usage variations - with bitwise operators
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
index bfaad40cfc67859aba43360b6623be37bec9b80e..36fda3298c2826a3e537fa28052509f611d9ce1d 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test token_get_all() function : usage variations - with increment/decrement operators
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
index 607143513cf31c514238221510ec4b67c47d5ce2..0cf1d63471127b5aca4af6f94a5abc1c8eb6e335 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test token_get_all() function : usage variations - with type casting operators
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)
index 9f7d22612ff742267979941b7f97758b07c8fc8d..1662fb27f382ae7cfc894024425c6443de674f6d 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test token_get_all() function : usage variations - with different types of comments
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
 --FILE--
 <?php
 /* Prototype  : array token_get_all(string $source)