From cba1150cdbb9b488aba369f0ba93908c6b6ebb1b Mon Sep 17 00:00:00 2001 From: Marcelo Diniz Date: Sat, 5 Jul 2014 15:34:09 -0300 Subject: tests image gd --- tests/marcelod/imagealphablending_error1.phpt | 19 +++++++++++++++++++ tests/marcelod/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 (limited to 'tests') 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 -- cgit v1.2.1 From 4b9535341addcdeaf44002e323733864325b30ab Mon Sep 17 00:00:00 2001 From: Veres Lajos Date: Wed, 19 Nov 2014 19:59:31 +0000 Subject: typo fixes - https://github.com/vlajos/misspell_fixer --- tests/classes/constants_error_004.phpt | 2 +- tests/lang/bug20175.phpt | 2 +- tests/lang/operators/coalesce.phpt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/classes/constants_error_004.phpt b/tests/classes/constants_error_004.phpt index 03e67258a6..3f34473dad 100644 --- a/tests/classes/constants_error_004.phpt +++ b/tests/classes/constants_error_004.phpt @@ -1,5 +1,5 @@ --TEST-- -Class constant whose initial value refereces a non-existent class +Class constant whose initial value references a non-existent class --FILE-- Date: Fri, 24 Oct 2014 15:08:27 -0200 Subject: test --- tests/func/012.phpt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/func/012.phpt (limited to 'tests') diff --git a/tests/func/012.phpt b/tests/func/012.phpt new file mode 100644 index 0000000000..3b0d8ea7b3 --- /dev/null +++ b/tests/func/012.phpt @@ -0,0 +1,12 @@ +--TEST-- +addcslashes(); function test +--CREDITS-- + marcosptf - +#phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05 +--FILE-- + +--EXPECTF-- +Warning: addcslashes(): Invalid '..'-range, '..'-range needs to be incrementing in %s on line %d +\zoo['\.'] -- cgit v1.2.1 From 49a133dd0b08c52fd7565c313117fca1b9382f84 Mon Sep 17 00:00:00 2001 From: marcosptf Date: Fri, 24 Oct 2014 15:11:17 -0200 Subject: test to function addcslashes test to function bin2hex --- tests/func/012.phpt | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 tests/func/012.phpt (limited to 'tests') diff --git a/tests/func/012.phpt b/tests/func/012.phpt deleted file mode 100644 index 3b0d8ea7b3..0000000000 --- a/tests/func/012.phpt +++ /dev/null @@ -1,12 +0,0 @@ ---TEST-- -addcslashes(); function test ---CREDITS-- - marcosptf - -#phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05 ---FILE-- - ---EXPECTF-- -Warning: addcslashes(): Invalid '..'-range, '..'-range needs to be incrementing in %s on line %d -\zoo['\.'] -- cgit v1.2.1 From f86aa349eb068b6865c6d423054afe7f781f979e Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Mon, 24 Nov 2014 12:26:20 -0800 Subject: move tests into proper place --- tests/marcelod/imagealphablending_error1.phpt | 19 ------------------- tests/marcelod/imagecolorresolvealpha_error3.phpt | 19 ------------------- tests/marcelod/imagesavealpha_error2.phpt | 19 ------------------- 3 files changed, 57 deletions(-) delete mode 100644 tests/marcelod/imagealphablending_error1.phpt delete mode 100644 tests/marcelod/imagecolorresolvealpha_error3.phpt delete mode 100644 tests/marcelod/imagesavealpha_error2.phpt (limited to 'tests') diff --git a/tests/marcelod/imagealphablending_error1.phpt b/tests/marcelod/imagealphablending_error1.phpt deleted file mode 100644 index 6d49f32b07..0000000000 --- a/tests/marcelod/imagealphablending_error1.phpt +++ /dev/null @@ -1,19 +0,0 @@ ---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 deleted file mode 100644 index 735b4c97db..0000000000 --- a/tests/marcelod/imagecolorresolvealpha_error3.phpt +++ /dev/null @@ -1,19 +0,0 @@ ---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 deleted file mode 100644 index 1a7083d526..0000000000 --- a/tests/marcelod/imagesavealpha_error2.phpt +++ /dev/null @@ -1,19 +0,0 @@ ---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 -- cgit v1.2.1