summaryrefslogtreecommitdiff
path: root/ext/iconv/tests
diff options
context:
space:
mode:
Diffstat (limited to 'ext/iconv/tests')
-rw-r--r--ext/iconv/tests/001.phpt18
-rw-r--r--ext/iconv/tests/002.inc14
-rw-r--r--ext/iconv/tests/002.phpt12
-rw-r--r--ext/iconv/tests/skipif.inc11
4 files changed, 0 insertions, 55 deletions
diff --git a/ext/iconv/tests/001.phpt b/ext/iconv/tests/001.phpt
deleted file mode 100644
index a6f41199ae..0000000000
--- a/ext/iconv/tests/001.phpt
+++ /dev/null
@@ -1,18 +0,0 @@
---TEST--
-iconv test
---SKIPIF--
-<?php include('skipif.inc'); ?>
---POST--
---GET--
---FILE--
-<?php
-echo "iconv extension is available\n";
-$test = "æøå";
-printf("ISO-8859-1: %s\nUTF-8: %s\n",
- $test, iconv("ISO-8859-1", "UTF-8", $test));
-
-?>
---EXPECT--
-iconv extension is available
-ISO-8859-1: æøå
-UTF-8: æøå
diff --git a/ext/iconv/tests/002.inc b/ext/iconv/tests/002.inc
deleted file mode 100644
index f7ae53d4bd..0000000000
--- a/ext/iconv/tests/002.inc
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-/*
-Expected output:
-&#97;&#98;&#99;&#100;
-abcd
-*/
-
- $s = unpack("V*", iconv("ascii","UCS-4LE", "abcd"));
- foreach($s as $c) { print "&#$c;"; } print "\n";
-
- $s = pack("NNNN", 97, 98, 99, 100);
- $q = iconv("UCS-4BE", "ascii", $s);
- print $q; print "\n";
-?>
diff --git a/ext/iconv/tests/002.phpt b/ext/iconv/tests/002.phpt
deleted file mode 100644
index a06399c44c..0000000000
--- a/ext/iconv/tests/002.phpt
+++ /dev/null
@@ -1,12 +0,0 @@
---TEST--
-iconv test
---SKIPIF--
-<?php include('skipif.inc'); ?>
---POST--
---GET--
---FILE--
-<?php include('002.inc'); ?>
---EXPECT--
-Expected output:
-&#97;&#98;&#99;&#100;
-abcd
diff --git a/ext/iconv/tests/skipif.inc b/ext/iconv/tests/skipif.inc
deleted file mode 100644
index 4fea1b0d43..0000000000
--- a/ext/iconv/tests/skipif.inc
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-// This script prints "skip" if condition does not meet.
-
-if (!extension_loaded("iconv") && ini_get("enable_dl")) {
- $dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
- @dl("iconv$dlext");
-}
-if (!extension_loaded("iconv")) {
- die("skip\n");
-}
-?> \ No newline at end of file