Added: php/php-src/branches/PHP_5_2/ext/gd/tests/imageistruecolor_basic.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/gd/tests/imageistruecolor_basic.phpt (rev 0) +++ php/php-src/branches/PHP_5_2/ext/gd/tests/imageistruecolor_basic.phpt 2009-07-20 03:47:29 UTC (rev 284409) @@ -0,0 +1,17 @@ +--TEST-- +Testing imageistruecolor() of GD library +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECT-- +bool(true) \ No newline at end of file Added: php/php-src/branches/PHP_5_2/ext/gd/tests/imageistruecolor_error1.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/gd/tests/imageistruecolor_error1.phpt (rev 0) +++ php/php-src/branches/PHP_5_2/ext/gd/tests/imageistruecolor_error1.phpt 2009-07-20 03:47:29 UTC (rev 284409) @@ -0,0 +1,24 @@ +--TEST-- +Testing imageistruecolor(): wrong parameters +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: imageistruecolor(): supplied argument is not a valid Image resource in %s on line %d + +Warning: imageistruecolor(): supplied resource is not a valid Image resource in %s on line %d + +Warning: imageistruecolor(): supplied argument is not a valid Image resource in %s on line %d \ No newline at end of file Added: php/php-src/branches/PHP_5_2/ext/gd/tests/imagetruecolortopalette_basic.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/gd/tests/imagetruecolortopalette_basic.phpt (rev 0) +++ php/php-src/branches/PHP_5_2/ext/gd/tests/imagetruecolortopalette_basic.phpt 2009-07-20 03:47:29 UTC (rev 284409) @@ -0,0 +1,31 @@ +--TEST-- +Testing imagetruecolortopalette() of GD library +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECT-- +bool(true) +0843f63ab2f9fddedd69b0b421686bc5 \ No newline at end of file Added: php/php-src/branches/PHP_5_2/ext/gd/tests/imagetruecolortopalette_error1.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/gd/tests/imagetruecolortopalette_error1.phpt (rev 0) +++ php/php-src/branches/PHP_5_2/ext/gd/tests/imagetruecolortopalette_error1.phpt 2009-07-20 03:47:29 UTC (rev 284409) @@ -0,0 +1,26 @@ +--TEST-- +Testing imagetruecolortopalette(): wrong parameters for parameter 1 +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: imagetruecolortopalette(): supplied resource is not a valid Image resource in %s on line %d + +Warning: imagetruecolortopalette(): supplied argument is not a valid Image resource in %s on line %d + +Warning: imagetruecolortopalette(): supplied argument is not a valid Image resource in %s on line %d + +Warning: imagetruecolortopalette(): supplied argument is not a valid Image resource in %s on line %d \ No newline at end of file Added: php/php-src/branches/PHP_5_2/ext/gd/tests/imagetruecolortopalette_error2.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/gd/tests/imagetruecolortopalette_error2.phpt (rev 0) +++ php/php-src/branches/PHP_5_2/ext/gd/tests/imagetruecolortopalette_error2.phpt 2009-07-20 03:47:29 UTC (rev 284409) @@ -0,0 +1,23 @@ +--TEST-- +Testing imagetruecolortopalette(): wrong parameters for parameter 2 +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +bool(true) +bool(true) \ No newline at end of file Added: php/php-src/branches/PHP_5_2/ext/gd/tests/imagetruecolortopalette_error3.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/gd/tests/imagetruecolortopalette_error3.phpt (rev 0) +++ php/php-src/branches/PHP_5_2/ext/gd/tests/imagetruecolortopalette_error3.phpt 2009-07-20 03:47:29 UTC (rev 284409) @@ -0,0 +1,26 @@ +--TEST-- +Testing imagetruecolortopalette(): wrong parameters for parameter 3 +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: imagetruecolortopalette(): Number of colors has to be greater than zero in %s on line %d + +Warning: imagetruecolortopalette(): Number of colors has to be greater than zero in %s on line %d + +Warning: imagetruecolortopalette(): Number of colors has to be greater than zero in %s on line %d \ No newline at end of file Added: php/php-src/branches/PHP_5_3/ext/gd/tests/imageistruecolor_basic.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/gd/tests/imageistruecolor_basic.phpt (rev 0) +++ php/php-src/branches/PHP_5_3/ext/gd/tests/imageistruecolor_basic.phpt 2009-07-20 03:47:29 UTC (rev 284409) @@ -0,0 +1,17 @@ +--TEST-- +Testing imageistruecolor() of GD library +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECT-- +bool(true) \ No newline at end of file Added: php/php-src/branches/PHP_5_3/ext/gd/tests/imageistruecolor_error1.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/gd/tests/imageistruecolor_error1.phpt (rev 0) +++ php/php-src/branches/PHP_5_3/ext/gd/tests/imageistruecolor_error1.phpt 2009-07-20 03:47:29 UTC (rev 284409) @@ -0,0 +1,24 @@ +--TEST-- +Testing imageistruecolor(): wrong parameters +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: imageistruecolor() expects parameter 1 to be resource, string given in %s on line %d + +Warning: imageistruecolor(): supplied resource is not a valid Image resource in %s on line %d + +Warning: imageistruecolor() expects parameter 1 to be resource, array given in %s on line %d \ No newline at end of file Added: php/php-src/branches/PHP_5_3/ext/gd/tests/imagetruecolortopalette_basic.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/gd/tests/imagetruecolortopalette_basic.phpt (rev 0) +++ php/php-src/branches/PHP_5_3/ext/gd/tests/imagetruecolortopalette_basic.phpt 2009-07-20 03:47:29 UTC (rev 284409) @@ -0,0 +1,31 @@ +--TEST-- +Testing imagetruecolortopalette() of GD library +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECT-- +bool(true) +0843f63ab2f9fddedd69b0b421686bc5 \ No newline at end of file Added: php/php-src/branches/PHP_5_3/ext/gd/tests/imagetruecolortopalette_error1.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/gd/tests/imagetruecolortopalette_error1.phpt (rev 0) +++ php/php-src/branches/PHP_5_3/ext/gd/tests/imagetruecolortopalette_error1.phpt 2009-07-20 03:47:29 UTC (rev 284409) @@ -0,0 +1,26 @@ +--TEST-- +Testing imagetruecolortopalette(): wrong parameters for parameter 1 +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: imagetruecolortopalette(): supplied resource is not a valid Image resource in %s on line %d + +Warning: imagetruecolortopalette() expects parameter 1 to be resource, %s given in %s on line %d + +Warning: imagetruecolortopalette() expects parameter 1 to be resource, array given in %s on line %d + +Warning: imagetruecolortopalette() expects parameter 1 to be resource, null given in %s on line %d \ No newline at end of file Added: php/php-src/branches/PHP_5_3/ext/gd/tests/imagetruecolortopalette_error2.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/gd/tests/imagetruecolortopalette_error2.phpt (rev 0) +++ php/php-src/branches/PHP_5_3/ext/gd/tests/imagetruecolortopalette_error2.phpt 2009-07-20 03:47:29 UTC (rev 284409) @@ -0,0 +1,22 @@ +--TEST-- +Testing imagetruecolortopalette(): wrong parameters for parameter 2 +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: imagetruecolortopalette() expects parameter 2 to be boolean, resource given in %s on line %d + +Warning: imagetruecolortopalette() expects parameter 2 to be boolean, array given in %s on line %d \ No newline at end of file Added: php/php-src/branches/PHP_5_3/ext/gd/tests/imagetruecolortopalette_error3.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/gd/tests/imagetruecolortopalette_error3.phpt (rev 0) +++ php/php-src/branches/PHP_5_3/ext/gd/tests/imagetruecolortopalette_error3.phpt 2009-07-20 03:47:29 UTC (rev 284409) @@ -0,0 +1,28 @@ +--TEST-- +Testing imagetruecolortopalette(): wrong parameters for parameter 3 +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: imagetruecolortopalette() expects parameter 3 to be long, string given in %s on line %d + +Warning: imagetruecolortopalette() expects parameter 3 to be long, resource given in %s on line %d + +Warning: imagetruecolortopalette() expects parameter 3 to be long, array given in %s on line %d + +Warning: imagetruecolortopalette(): Number of colors has to be greater than zero in %s on line %d \ No newline at end of file Added: php/php-src/trunk/ext/gd/tests/imageistruecolor_basic.phpt =================================================================== --- php/php-src/trunk/ext/gd/tests/imageistruecolor_basic.phpt (rev 0) +++ php/php-src/trunk/ext/gd/tests/imageistruecolor_basic.phpt 2009-07-20 03:47:29 UTC (rev 284409) @@ -0,0 +1,17 @@ +--TEST-- +Testing imageistruecolor() of GD library +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECT-- +bool(true) \ No newline at end of file Added: php/php-src/trunk/ext/gd/tests/imageistruecolor_error1.phpt =================================================================== --- php/php-src/trunk/ext/gd/tests/imageistruecolor_error1.phpt (rev 0) +++ php/php-src/trunk/ext/gd/tests/imageistruecolor_error1.phpt 2009-07-20 03:47:29 UTC (rev 284409) @@ -0,0 +1,24 @@ +--TEST-- +Testing imageistruecolor(): wrong parameters +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: imageistruecolor() expects parameter 1 to be resource, Unicode string given in %s on line %d + +Warning: imageistruecolor(): supplied resource is not a valid Image resource in %s on line %d + +Warning: imageistruecolor() expects parameter 1 to be resource, array given in %s on line %d \ No newline at end of file Added: php/php-src/trunk/ext/gd/tests/imagetruecolortopalette_basic.phpt =================================================================== --- php/php-src/trunk/ext/gd/tests/imagetruecolortopalette_basic.phpt (rev 0) +++ php/php-src/trunk/ext/gd/tests/imagetruecolortopalette_basic.phpt 2009-07-20 03:47:29 UTC (rev 284409) @@ -0,0 +1,31 @@ +--TEST-- +Testing imagetruecolortopalette() of GD library +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECT-- +bool(true) +0843f63ab2f9fddedd69b0b421686bc5 \ No newline at end of file Added: php/php-src/trunk/ext/gd/tests/imagetruecolortopalette_error1.phpt =================================================================== --- php/php-src/trunk/ext/gd/tests/imagetruecolortopalette_error1.phpt (rev 0) +++ php/php-src/trunk/ext/gd/tests/imagetruecolortopalette_error1.phpt 2009-07-20 03:47:29 UTC (rev 284409) @@ -0,0 +1,26 @@ +--TEST-- +Testing imagetruecolortopalette(): wrong parameters for parameter 1 +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: imagetruecolortopalette(): supplied resource is not a valid Image resource in %s on line %d + +Warning: imagetruecolortopalette() expects parameter 1 to be resource, %s given in %s on line %d + +Warning: imagetruecolortopalette() expects parameter 1 to be resource, array given in %s on line %d + +Warning: imagetruecolortopalette() expects parameter 1 to be resource, null given in %s on line %d \ No newline at end of file Added: php/php-src/trunk/ext/gd/tests/imagetruecolortopalette_error2.phpt =================================================================== --- php/php-src/trunk/ext/gd/tests/imagetruecolortopalette_error2.phpt (rev 0) +++ php/php-src/trunk/ext/gd/tests/imagetruecolortopalette_error2.phpt 2009-07-20 03:47:29 UTC (rev 284409) @@ -0,0 +1,22 @@ +--TEST-- +Testing imagetruecolortopalette(): wrong parameters for parameter 2 +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: imagetruecolortopalette() expects parameter 2 to be boolean, resource given in %s on line %d + +Warning: imagetruecolortopalette() expects parameter 2 to be boolean, array given in %s on line %d \ No newline at end of file Added: php/php-src/trunk/ext/gd/tests/imagetruecolortopalette_error3.phpt =================================================================== --- php/php-src/trunk/ext/gd/tests/imagetruecolortopalette_error3.phpt (rev 0) +++ php/php-src/trunk/ext/gd/tests/imagetruecolortopalette_error3.phpt 2009-07-20 03:47:29 UTC (rev 284409) @@ -0,0 +1,28 @@ +--TEST-- +Testing imagetruecolortopalette(): wrong parameters for parameter 3 +--CREDITS-- +Rafael Dohms +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: imagetruecolortopalette() expects parameter 3 to be long, Unicode string given in %s on line %d + +Warning: imagetruecolortopalette() expects parameter 3 to be long, resource given in %s on line %d + +Warning: imagetruecolortopalette() expects parameter 3 to be long, array given in %s on line %d + +Warning: imagetruecolortopalette(): Number of colors has to be greater than zero in %s on line %d \ No newline at end of file