Skip to content

Commit 82bc936

Browse files
committed
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
1 parent 7234539 commit 82bc936

File tree

1 file changed

+23
-20
lines changed

1 file changed

+23
-20
lines changed

tests/005.phpt

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,32 @@
22
XML Parser: mixing character encodings
33
--SKIPIF--
44
<?php
5-
if (!extension_loaded("xml")) {
6-
print 'skip - xml extension not available';
7-
}
8-
if (!extension_loaded('mbstring')) {
9-
print 'skip - mbstring extension not available';
10-
}
5+
if (true) {
6+
print 'skip - incomplete test!';
7+
}
8+
if (!extension_loaded('xml')) {
9+
print 'skip - xml extension not available';
10+
}
11+
if (!extension_loaded('mbstring')) {
12+
print 'skip - mbstring extension not available';
13+
}
1114
?>
1215
--FILE--
13-
<?php // -*- C++ -*-
14-
//
15-
// Test for: XML/Parser.php
16-
// Parts tested: - mixing character encodings
17-
//
18-
// This is what we test:
19-
// 1 UTF-8 -> ISO-8859-1
20-
// 2 UTF-8 -> US-ASCII
21-
// 3 ISO-8859-1 -> UTF-8
22-
// 4 ISO-8859-1 -> US-ASCII
23-
// 5 US-ASCII -> UTF-8
24-
// 6 US-ASCII -> ISO-8859-1
25-
//
16+
<?php
17+
18+
/* Test for: XML/Parser.php
19+
* Parts tested: - mixing character encodings
20+
*
21+
* This is what we test:
22+
* 1 UTF-8 -> ISO-8859-1
23+
* 2 UTF-8 -> US-ASCII
24+
* 3 ISO-8859-1 -> UTF-8
25+
* 4 ISO-8859-1 -> US-ASCII
26+
* 5 US-ASCII -> UTF-8
27+
* 6 US-ASCII -> ISO-8859-1
28+
*/
2629

27-
require_once "XML/Parser.php";
30+
require_once 'XML/Parser.php';
2831

2932
class TestEncodings1 extends XML_Parser {
3033
var $output = '';

0 commit comments

Comments
 (0)