Permalink
Browse files

mark test as incomplete until I can get it working properly;

cosmetic formatting changes also;

git-svn-id: https://svn.php.net/repository/pear/packages/XML_Parser/trunk@287132 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent 7234539 commit 82bc9367b0ea1b9d0b84a9721aae948e0f6c6044 Chuck Burgess committed Aug 12, 2009
Showing with 23 additions and 20 deletions.
  1. +23 −20 tests/005.phpt
View
@@ -2,29 +2,32 @@
XML Parser: mixing character encodings
--SKIPIF--
<?php
- if (!extension_loaded("xml")) {
- print 'skip - xml extension not available';
- }
- if (!extension_loaded('mbstring')) {
- print 'skip - mbstring extension not available';
- }
+if (true) {
+ print 'skip - incomplete test!';
+}
+if (!extension_loaded('xml')) {
+ print 'skip - xml extension not available';
+}
+if (!extension_loaded('mbstring')) {
+ print 'skip - mbstring extension not available';
+}
?>
--FILE--
-<?php // -*- C++ -*-
-//
-// Test for: XML/Parser.php
-// Parts tested: - mixing character encodings
-//
-// This is what we test:
-// 1 UTF-8 -> ISO-8859-1
-// 2 UTF-8 -> US-ASCII
-// 3 ISO-8859-1 -> UTF-8
-// 4 ISO-8859-1 -> US-ASCII
-// 5 US-ASCII -> UTF-8
-// 6 US-ASCII -> ISO-8859-1
-//
+<?php
+
+/* Test for: XML/Parser.php
+ * Parts tested: - mixing character encodings
+ *
+ * This is what we test:
+ * 1 UTF-8 -> ISO-8859-1
+ * 2 UTF-8 -> US-ASCII
+ * 3 ISO-8859-1 -> UTF-8
+ * 4 ISO-8859-1 -> US-ASCII
+ * 5 US-ASCII -> UTF-8
+ * 6 US-ASCII -> ISO-8859-1
+ */
-require_once "XML/Parser.php";
+require_once 'XML/Parser.php';
class TestEncodings1 extends XML_Parser {
var $output = '';

0 comments on commit 82bc936

Please sign in to comment.