MFB: add missing skipif conditions

This commit is contained in:
Antony Dovgal 2005-12-21 10:50:10 +00:00
parent b3741339d5
commit 3231899d71
10 changed files with 26 additions and 3 deletions

View File

@ -2,7 +2,8 @@
Bug #25666 (XML namespaces broken in libxml-based SAX interface)
--SKIPIF--
<?php
if (! @xml_parser_create_ns('ISO-8859-1')) { die("skip xml_parser_create_ns is not supported on this plattform");}
require_once("skipif.inc");
if (! @xml_parser_create_ns('ISO-8859-1')) { die("skip xml_parser_create_ns is not supported on this platform");}
?>
--FILE--
<?php

View File

@ -1,5 +1,9 @@
--TEST--
Bug #26528 (HTML entities are not being decoded)
--SKIPIF--
<?php
require_once("skipif.inc");
?>
--FILE--
<?php
$sample = "<?xml version=\"1.0\"?><test attr=\"angle&lt;bracket\"/>";

View File

@ -1,7 +1,10 @@
--TEST--
Bug #26614 (CDATA sections skipped on line count)
--SKIPIF--
<?php if (defined("LIBXML_VERSION")) die('skip expat test'); ?>
<?php
require_once("skipif.inc");
if (defined("LIBXML_VERSION")) die('skip expat test');
?>
--FILE--
<?php
/*

View File

@ -1,7 +1,10 @@
--TEST--
Bug #26614 (CDATA sections skipped on line count)
--SKIPIF--
<?php if (!defined("LIBXML_VERSION")) die('skip libxml2 test'); ?>
<?php
require_once("skipif.inc");
if (!defined("LIBXML_VERSION")) die('skip libxml2 test');
?>
--FILE--
<?php
/*

View File

@ -1,5 +1,9 @@
--TEST--
Bug #27908 (default handler not being called)
--SKIPIF--
<?php
require_once("skipif.inc");
?>
--FILE--
<?php

View File

@ -1,5 +1,9 @@
--TEST--
Bug #30266 (Invalid opcode 137/1/8)
--SKIPIF--
<?php
require_once("skipif.inc");
?>
--FILE--
<?php
/*

View File

@ -2,6 +2,7 @@
Bug #32001 (xml_parse*() goes into infinite loop when autodetection in effect)
--SKIPIF--
<?php
require_once("skipif.inc");
if (!extension_loaded('iconv')) {
die ("skip iconv extension not available\n");
}

View File

@ -2,6 +2,7 @@
Bug #35447 (xml_parse_into_struct() chokes on the UTF-8 BOM)
--SKIPIF--
<?php
require_once("skipif.inc");
if (! @xml_parser_create_ns('ISO-8859-1')) { die("skip xml_parser_create_ns is not supported on this plattform");}
?>
--FILE--

View File

@ -2,6 +2,7 @@
XML parser test, default namespaces
--SKIPIF--
<?php
require_once("skipif.inc");
if (! @xml_parser_create_ns('ISO-8859-1')) { die("skip xml_parser_create_ns is not supported on this plattform");}
?>
--FILE--

View File

@ -2,6 +2,7 @@
XML parser test, attributes
--SKIPIF--
<?php
require_once("skipif.inc");
if (! @xml_parser_create_ns('ISO-8859-1')) { die("skip xml_parser_create_ns is not supported on this plattform");}
?>
--FILE--