Added: php/php-src/branches/PHP_5_2/ext/gd/tests/imagecreatetruecolor_basic.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/gd/tests/imagecreatetruecolor_basic.phpt (rev 0) +++ php/php-src/branches/PHP_5_2/ext/gd/tests/imagecreatetruecolor_basic.phpt 2009-07-19 01:44:19 UTC (rev 284343) @@ -0,0 +1,22 @@ +--TEST-- +Testing imagecreatetruecolor() of GD library +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECT-- +5a8fe9864cbd20e5dbe730c77f30db95 Added: php/php-src/branches/PHP_5_2/ext/gd/tests/imagecreatetruecolor_error1.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/gd/tests/imagecreatetruecolor_error1.phpt (rev 0) +++ php/php-src/branches/PHP_5_2/ext/gd/tests/imagecreatetruecolor_error1.phpt 2009-07-19 01:44:19 UTC (rev 284343) @@ -0,0 +1,18 @@ +--TEST-- +Testing imagecreatetruecolor(): error on non-long parameters +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: imagecreatetruecolor(): Invalid image dimensions in %s on line %d + +Warning: imagecreatetruecolor(): Invalid image dimensions in %s on line %d Added: php/php-src/branches/PHP_5_2/ext/gd/tests/imagecreatetruecolor_error2.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/gd/tests/imagecreatetruecolor_error2.phpt (rev 0) +++ php/php-src/branches/PHP_5_2/ext/gd/tests/imagecreatetruecolor_error2.phpt 2009-07-19 01:44:19 UTC (rev 284343) @@ -0,0 +1,24 @@ +--TEST-- +Testing imagecreatetruecolor(): error on out of bound parameters +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: imagecreatetruecolor(): Invalid image dimensions in %s on line %d + +Warning: imagecreatetruecolor(): Invalid image dimensions in %s on line %d + +Warning: imagecreatetruecolor(): Invalid image dimensions in %s on line %d + +Warning: imagecreatetruecolor(): Invalid image dimensions in %s on line %d \ No newline at end of file Added: php/php-src/branches/PHP_5_2/ext/gd/tests/imagecreatetruecolor_error3.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/gd/tests/imagecreatetruecolor_error3.phpt (rev 0) +++ php/php-src/branches/PHP_5_2/ext/gd/tests/imagecreatetruecolor_error3.phpt 2009-07-19 01:44:19 UTC (rev 284343) @@ -0,0 +1,21 @@ +--TEST-- +Testing imagecreatetruecolor(): error on wrong parameter count +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: Wrong parameter count for imagecreatetruecolor() in %s on line %d + +Warning: Wrong parameter count for imagecreatetruecolor() in %s on line %d + +Warning: Wrong parameter count for imagecreatetruecolor() in %s on line %d \ No newline at end of file Added: php/php-src/trunk/ext/gd/tests/imagecreatetruecolor_basic.phpt =================================================================== --- php/php-src/trunk/ext/gd/tests/imagecreatetruecolor_basic.phpt (rev 0) +++ php/php-src/trunk/ext/gd/tests/imagecreatetruecolor_basic.phpt 2009-07-19 01:44:19 UTC (rev 284343) @@ -0,0 +1,22 @@ +--TEST-- +Testing imagecreatetruecolor() of GD library +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECT-- +5a8fe9864cbd20e5dbe730c77f30db95 Added: php/php-src/trunk/ext/gd/tests/imagecreatetruecolor_error1.phpt =================================================================== --- php/php-src/trunk/ext/gd/tests/imagecreatetruecolor_error1.phpt (rev 0) +++ php/php-src/trunk/ext/gd/tests/imagecreatetruecolor_error1.phpt 2009-07-19 01:44:19 UTC (rev 284343) @@ -0,0 +1,18 @@ +--TEST-- +Testing imagecreatetruecolor(): error on non-long parameters +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: imagecreatetruecolor() expects parameter 1 to be long, %s given in %s on line %d + +Warning: imagecreatetruecolor() expects parameter 2 to be long, %s given in %s on line %d Added: php/php-src/trunk/ext/gd/tests/imagecreatetruecolor_error2.phpt =================================================================== --- php/php-src/trunk/ext/gd/tests/imagecreatetruecolor_error2.phpt (rev 0) +++ php/php-src/trunk/ext/gd/tests/imagecreatetruecolor_error2.phpt 2009-07-19 01:44:19 UTC (rev 284343) @@ -0,0 +1,24 @@ +--TEST-- +Testing imagecreatetruecolor(): error on out of bound parameters +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: imagecreatetruecolor(): Invalid image dimensions in %s on line %d + +Warning: imagecreatetruecolor(): Invalid image dimensions in %s on line %d + +Warning: imagecreatetruecolor(): Invalid image dimensions in %s on line %d + +Warning: imagecreatetruecolor(): Invalid image dimensions in %s on line %d \ No newline at end of file Added: php/php-src/trunk/ext/gd/tests/imagecreatetruecolor_error3.phpt =================================================================== --- php/php-src/trunk/ext/gd/tests/imagecreatetruecolor_error3.phpt (rev 0) +++ php/php-src/trunk/ext/gd/tests/imagecreatetruecolor_error3.phpt 2009-07-19 01:44:19 UTC (rev 284343) @@ -0,0 +1,21 @@ +--TEST-- +Testing imagecreatetruecolor(): error on wrong parameter count +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: imagecreatetruecolor() expects exactly 2 parameters, 0 given in %s on line %d + +Warning: imagecreatetruecolor() expects exactly 2 parameters, 1 given in %s on line %d + +Warning: imagecreatetruecolor() expects exactly 2 parameters, 3 given in %s on line %d \ No newline at end of file