From cba1150cdbb9b488aba369f0ba93908c6b6ebb1b Mon Sep 17 00:00:00 2001 From: Marcelo Diniz Date: Sat, 5 Jul 2014 15:34:09 -0300 Subject: [PATCH] tests image gd --- tests/marcelod/imagealphablending_error1.phpt | 19 +++++++++++++++++++ .../imagecolorresolvealpha_error3.phpt | 19 +++++++++++++++++++ tests/marcelod/imagesavealpha_error2.phpt | 19 +++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 tests/marcelod/imagealphablending_error1.phpt create mode 100644 tests/marcelod/imagecolorresolvealpha_error3.phpt create mode 100644 tests/marcelod/imagesavealpha_error2.phpt diff --git a/tests/marcelod/imagealphablending_error1.phpt b/tests/marcelod/imagealphablending_error1.phpt new file mode 100644 index 0000000000..6d49f32b07 --- /dev/null +++ b/tests/marcelod/imagealphablending_error1.phpt @@ -0,0 +1,19 @@ +--TEST-- +test imagealphablending without arguments + +--CREDITS-- +Marcelo Diniz + +--FILE-- + + +--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 new file mode 100644 index 0000000000..735b4c97db --- /dev/null +++ b/tests/marcelod/imagecolorresolvealpha_error3.phpt @@ -0,0 +1,19 @@ +--TEST-- +test imagecolorresolvealpha without arguments + +--CREDITS-- +Marcelo Diniz + +--FILE-- + + +--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 new file mode 100644 index 0000000000..1a7083d526 --- /dev/null +++ b/tests/marcelod/imagesavealpha_error2.phpt @@ -0,0 +1,19 @@ +--TEST-- +test imagesavealpha without arguments + +--CREDITS-- +Marcelo Diniz + +--FILE-- + + +--EXPECTF-- +Warning: imagesavealpha() expects exactly 2 parameters, 0 given in %s on line %d \ No newline at end of file -- 2.40.0