summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2011-09-06 09:45:21 +0000
committerXinchen Hui <laruence@php.net>2011-09-06 09:45:21 +0000
commit1159cd2002a227a6257a7cddda404409e8858189 (patch)
treec19f0e00a0d99af4fa026ff1cdac52ceea0bfa96
parentdf2504b0ff5596192debc2cce1ab76929c395a08 (diff)
downloadphp-git-1159cd2002a227a6257a7cddda404409e8858189.tar.gz
move it to right place
-rw-r--r--ext/gd/tests/image_type_to_mime_type_variation3.phpt76
-rw-r--r--ext/standard/tests/image/image_type_to_mime_type_basic.phpt (renamed from ext/gd/tests/image_type_to_mime_type_basic.phpt)0
-rw-r--r--ext/standard/tests/image/image_type_to_mime_type_error.phpt (renamed from ext/gd/tests/image_type_to_mime_type_error.phpt)0
-rw-r--r--ext/standard/tests/image/image_type_to_mime_type_variation1.phpt (renamed from ext/gd/tests/image_type_to_mime_type_variation1.phpt)0
-rw-r--r--ext/standard/tests/image/image_type_to_mime_type_variation2.phpt (renamed from ext/gd/tests/image_type_to_mime_type_variation2.phpt)0
-rw-r--r--ext/standard/tests/image/image_type_to_mime_type_variation4.phpt (renamed from ext/gd/tests/image_type_to_mime_type_variation4.phpt)0
6 files changed, 0 insertions, 76 deletions
diff --git a/ext/gd/tests/image_type_to_mime_type_variation3.phpt b/ext/gd/tests/image_type_to_mime_type_variation3.phpt
deleted file mode 100644
index 8383facb09..0000000000
--- a/ext/gd/tests/image_type_to_mime_type_variation3.phpt
+++ /dev/null
@@ -1,76 +0,0 @@
---TEST--
-Test image_type_to_mime_type() function : usage variations - Pass equivalent imagetype constant integer values
---FILE--
-<?php
-/* Prototype : string image_type_to_mime_type(int imagetype)
- * Description: Get Mime-Type for image-type returned by getimagesize, exif_read_data, exif_thumbnail, exif_imagetype
- * Source code: ext/standard/image.c
- */
-
-echo "*** Testing image_type_to_mime_type() : usage variations ***\n";
-
-//There are 17 imagetypes
-$number_of_imagetypes = 17;
-
-$iterator = 1;
-for($imagetype = 1; $imagetype<=$number_of_imagetypes; $imagetype++) {
- echo "\n-- Iteration $iterator --\n";
- var_dump( image_type_to_mime_type($imagetype) );
- $iterator++;
-}
-?>
-===DONE===
---EXPECTREGEX--
-\*\*\* Testing image_type_to_mime_type\(\) : usage variations \*\*\*
-
--- Iteration 1 --
-string\(9\) "image\/gif"
-
--- Iteration 2 --
-string\(10\) "image\/jpeg"
-
--- Iteration 3 --
-string\(9\) "image\/png"
-
--- Iteration 4 --
-string\(29\) "application\/x-shockwave-flash"
-
--- Iteration 5 --
-string\(9\) "image\/psd"
-
--- Iteration 6 --
-string\(14\) "image\/x-ms-bmp"
-
--- Iteration 7 --
-string\(10\) "image\/tiff"
-
--- Iteration 8 --
-string\(10\) "image\/tiff"
-
--- Iteration 9 --
-string\(24\) "application\/octet-stream"
-
--- Iteration 10 --
-string\(9\) "image\/jp2"
-
--- Iteration 11 --
-string\(24\) "application\/octet-stream"
-
--- Iteration 12 --
-string\(24\) "application\/octet-stream"
-
--- Iteration 13 --
-string\(2[49]\) "application\/(x-shockwave-flash|octet-stream)"
-
--- Iteration 14 --
-string\(9\) "image\/iff"
-
--- Iteration 15 --
-string\(18\) "image\/vnd.wap.wbmp"
-
--- Iteration 16 --
-string\(9\) "image\/xbm"
-
--- Iteration 17 --
-string\(24\) "image\/vnd.microsoft.icon"
-===DONE===
diff --git a/ext/gd/tests/image_type_to_mime_type_basic.phpt b/ext/standard/tests/image/image_type_to_mime_type_basic.phpt
index b81bdbde5f..b81bdbde5f 100644
--- a/ext/gd/tests/image_type_to_mime_type_basic.phpt
+++ b/ext/standard/tests/image/image_type_to_mime_type_basic.phpt
diff --git a/ext/gd/tests/image_type_to_mime_type_error.phpt b/ext/standard/tests/image/image_type_to_mime_type_error.phpt
index 88aacbf176..88aacbf176 100644
--- a/ext/gd/tests/image_type_to_mime_type_error.phpt
+++ b/ext/standard/tests/image/image_type_to_mime_type_error.phpt
diff --git a/ext/gd/tests/image_type_to_mime_type_variation1.phpt b/ext/standard/tests/image/image_type_to_mime_type_variation1.phpt
index 0023b7125d..0023b7125d 100644
--- a/ext/gd/tests/image_type_to_mime_type_variation1.phpt
+++ b/ext/standard/tests/image/image_type_to_mime_type_variation1.phpt
diff --git a/ext/gd/tests/image_type_to_mime_type_variation2.phpt b/ext/standard/tests/image/image_type_to_mime_type_variation2.phpt
index 141bc576ff..141bc576ff 100644
--- a/ext/gd/tests/image_type_to_mime_type_variation2.phpt
+++ b/ext/standard/tests/image/image_type_to_mime_type_variation2.phpt
diff --git a/ext/gd/tests/image_type_to_mime_type_variation4.phpt b/ext/standard/tests/image/image_type_to_mime_type_variation4.phpt
index a67bb86a69..a67bb86a69 100644
--- a/ext/gd/tests/image_type_to_mime_type_variation4.phpt
+++ b/ext/standard/tests/image/image_type_to_mime_type_variation4.phpt