com php-src: move tests into proper place: ext/gd/tests/imageal phablending_error1.phpt ext/gd/tests/imagecolorresolvea lpha_error3.phpt
ext/gd/tests/imagesavealpha_error2 .phpt tests/marcelod/imagealphablending_error1.phpt tests/marcelod/imagecolorresolvealpha_error3.phpt te
sts/marcelod/imagesavealpha_error2.phpt
| From: | Stanislav Malyshev | Date: | Mon, 24 Nov 2014 20:26:20 +0000 |
| Subject: | com php-src: move tests into proper place: ext/gd/tests/imageal phablending_error1.phpt ext/gd/tests/imagecolorresolvea lpha_error3.phpt ext/gd/tests/imagesavealpha_error2 .phpt tests/marcelod/imagealphablending_error1.phpt tests/marcelod/imagecolorresolvealpha_error3.phpt te sts/marcelod/imagesavealpha_error2.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83308@lists.php.net to get a copy of this message | ||
Commit: f86aa349eb068b6865c6d423054afe7f781f979e
Author: Stanislav Malyshev <stas@php.net> Mon, 24 Nov 2014 12:26:20 -0800
Parents: 09f2355eec0b800905d59f9e96ae09d242ba7673
Branches: PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f86aa349eb068b6865c6d423054afe7f781f979e
Log:
move tests into proper place
Changed paths:
A ext/gd/tests/imagealphablending_error1..phpt
A ext/gd/tests/imagecolorresolvealpha_error3.phpt
A ext/gd/tests/imagesavealpha_error2.phpt
D tests/marcelod/imagealphablending_error1.phpt
D tests/marcelod/imagecolorresolvealpha_error3.phpt
D tests/marcelod/imagesavealpha_error2.phpt
Diff:
diff --git a/ext/gd/tests/imagealphablending_error1.phpt
b/ext/gd/tests/imagealphablending_error1.phpt
new file mode 100644
index 0000000..6d49f32
--- /dev/null
+++ b/ext/gd/tests/imagealphablending_error1.phpt
@@ -0,0 +1,19 @@
+--TEST--
+test imagealphablending without arguments
+
+--CREDITS--
+Marcelo Diniz <marcelo.leo27 [at] gmail [dot] com
+#phpspMaisTestFest PHPSP on 2014-07-05
+
+--SKIPIF--
+<?php
+ if (!extension_loaded('gd')) die("skip gd extension not available.");
+?>
+
+--FILE--
+<?php
+imagealphablending();
+?>
+
+--EXPECTF--
+Warning: imagealphablending() expects exactly 2 parameters, 0 given in %s on line %d
\ No newline at end of file
diff --git a/ext/gd/tests/imagecolorresolvealpha_error3.phpt
b/ext/gd/tests/imagecolorresolvealpha_error3.phpt
new file mode 100644
index 0000000..735b4c9
--- /dev/null
+++ b/ext/gd/tests/imagecolorresolvealpha_error3.phpt
@@ -0,0 +1,19 @@
+--TEST--
+test imagecolorresolvealpha without arguments
+
+--CREDITS--
+Marcelo Diniz <marcelo.leo27 [at] gmail [dot] com
+#phpspMaisTestFest PHPSP on 2014-07-05
+
+--SKIPIF--
+<?php
+ if (!extension_loaded('gd')) die("skip gd extension not available.");
+?>
+
+--FILE--
+<?php
+imagecolorresolvealpha();
+?>
+
+--EXPECTF--
+Warning: imagecolorresolvealpha() expects exactly 5 parameters, 0 given in %s on line %d
\ No newline at end of file
diff --git a/ext/gd/tests/imagesavealpha_error2.phpt b/ext/gd/tests/imagesavealpha_error2.phpt
new file mode 100644
index 0000000..1a7083d
--- /dev/null
+++ b/ext/gd/tests/imagesavealpha_error2.phpt
@@ -0,0 +1,19 @@
+--TEST--
+test imagesavealpha without arguments
+
+--CREDITS--
+Marcelo Diniz <marcelo.leo27 [at] gmail [dot] com
+#phpspMaisTestFest PHPSP on 2014-07-05
+
+--SKIPIF--
+<?php
+ if (!extension_loaded('gd')) die("skip gd extension not available.");
+?>
+
+--FILE--
+<?php
+imagesavealpha();
+?>
+
+--EXPECTF--
+Warning: imagesavealpha() expects exactly 2 parameters, 0 given in %s on line %d
\ No newline at end of file
diff --git a/tests/marcelod/imagealphablending_error1..phpt
b/tests/marcelod/imagealphablending_error1.phpt
deleted file mode 100644
index 6d49f32..0000000
--- a/tests/marcelod/imagealphablending_error1.phpt
+++ /dev/null
@@ -1,19 +0,0 @@
---TEST--
-test imagealphablending without arguments
-
---CREDITS--
-Marcelo Diniz <marcelo.leo27 [at] gmail [dot] com
-#phpspMaisTestFest PHPSP on 2014-07-05
-
---SKIPIF--
-<?php
- if (!extension_loaded('gd')) die("skip gd extension not available.");
-?>
-
---FILE--
-<?php
-imagealphablending();
-?>
-
---EXPECTF--
-Warning: imagealphablending() expects exactly 2 parameters, 0 given in %s on line %d
\ No newline at end of file
diff --git a/tests/marcelod/imagecolorresolvealpha_error3.phpt
b/tests/marcelod/imagecolorresolvealpha_error3.phpt
deleted file mode 100644
index 735b4c9..0000000
--- a/tests/marcelod/imagecolorresolvealpha_error3.phpt
+++ /dev/null
@@ -1,19 +0,0 @@
---TEST--
-test imagecolorresolvealpha without arguments
-
---CREDITS--
-Marcelo Diniz <marcelo.leo27 [at] gmail [dot] com
-#phpspMaisTestFest PHPSP on 2014-07-05
-
---SKIPIF--
-<?php
- if (!extension_loaded('gd')) die("skip gd extension not available.");
-?>
-
---FILE--
-<?php
-imagecolorresolvealpha();
-?>
-
---EXPECTF--
-Warning: imagecolorresolvealpha() expects exactly 5 parameters, 0 given in %s on line %d
\ No newline at end of file
diff --git a/tests/marcelod/imagesavealpha_error2.phpt b/tests/marcelod/imagesavealpha_error2.phpt
deleted file mode 100644
index 1a7083d..0000000
--- a/tests/marcelod/imagesavealpha_error2..phpt
+++ /dev/null
@@ -1,19 +0,0 @@
---TEST--
-test imagesavealpha without arguments
-
---CREDITS--
-Marcelo Diniz <marcelo.leo27 [at] gmail [dot] com
-#phpspMaisTestFest PHPSP on 2014-07-05
-
---SKIPIF--
-<?php
- if (!extension_loaded('gd')) die("skip gd extension not available.");
-?>
-
---FILE--
-<?php
-imagesavealpha();
-?>
-
---EXPECTF--
-Warning: imagesavealpha() expects exactly 2 parameters, 0 given in %s on line %d
\ No newline at end of file