Author: Tobias Schlitt Date: 2007-02-19 22:57:41 +0100 (Mon, 19 Feb 2007) New Revision: 4671
Log: - Adjusted image comparison gaps for newer ImageMagick release. # Seems they changed something in JPEG compression. Modified: trunk/ImageConversion/tests/filtersshell_test.php trunk/ImageConversion/tests/handlershell_test.php Modified: trunk/ImageConversion/tests/filtersshell_test.php =================================================================== --- trunk/ImageConversion/tests/filtersshell_test.php 2007-02-19 21:42:18 UTC (rev 4670) +++ trunk/ImageConversion/tests/filtersshell_test.php 2007-02-19 21:57:41 UTC (rev 4671) @@ -61,7 +61,7 @@ $this->getReferencePath(), $this->getTempPath(), "Image not rendered as expected.", - ezcImageConversionTestCase::DEFAULT_SIMILARITY_GAP + 250 ); } @@ -74,7 +74,7 @@ $this->getReferencePath(), $this->getTempPath(), "Image not rendered as expected.", - ezcImageConversionTestCase::DEFAULT_SIMILARITY_GAP + 450 ); } @@ -100,7 +100,7 @@ $this->getReferencePath(), $this->getTempPath(), "Image not rendered as expected.", - ezcImageConversionTestCase::DEFAULT_SIMILARITY_GAP + 250 ); } @@ -127,7 +127,7 @@ $this->getReferencePath(), $this->getTempPath(), "Image not rendered as expected.", - ezcImageConversionTestCase::DEFAULT_SIMILARITY_GAP + 450 ); } @@ -153,7 +153,7 @@ $this->getReferencePath(), $this->getTempPath(), "Image not rendered as expected.", - ezcImageConversionTestCase::DEFAULT_SIMILARITY_GAP + 250 ); } @@ -179,7 +179,7 @@ $this->getReferencePath(), $this->getTempPath(), "Image not rendered as expected.", - ezcImageConversionTestCase::DEFAULT_SIMILARITY_GAP + 450 ); } @@ -192,7 +192,7 @@ $this->getReferencePath(), $this->getTempPath(), "Image not rendered as expected.", - ezcImageConversionTestCase::DEFAULT_SIMILARITY_GAP + 250 ); } @@ -231,7 +231,7 @@ $this->getReferencePath(), $this->getTempPath(), "Image not rendered as expected.", - ezcImageConversionTestCase::DEFAULT_SIMILARITY_GAP + 550 ); } @@ -244,7 +244,7 @@ $this->getReferencePath(), $this->getTempPath(), "Image not rendered as expected.", - ezcImageConversionTestCase::DEFAULT_SIMILARITY_GAP + 500 ); } @@ -257,7 +257,7 @@ $this->getReferencePath(), $this->getTempPath(), "Image not rendered as expected.", - ezcImageConversionTestCase::DEFAULT_SIMILARITY_GAP + 300 ); } @@ -271,7 +271,7 @@ $this->getReferencePath(), $this->getTempPath(), "Image not rendered as expected.", - ezcImageConversionTestCase::DEFAULT_SIMILARITY_GAP + 300 ); } @@ -284,7 +284,7 @@ $this->getReferencePath(), $this->getTempPath(), "Image not rendered as expected.", - ezcImageConversionTestCase::DEFAULT_SIMILARITY_GAP + 400 ); } @@ -297,7 +297,7 @@ $this->getReferencePath(), $this->getTempPath(), "Image not rendered as expected.", - ezcImageConversionTestCase::DEFAULT_SIMILARITY_GAP + 450 ); } @@ -485,7 +485,7 @@ $this->getReferencePath(), $this->getTempPath(), "Image not rendered as expected.", - ezcImageConversionTestCase::DEFAULT_SIMILARITY_GAP + 300 ); } @@ -498,7 +498,7 @@ $this->getReferencePath(), $this->getTempPath(), "Image not rendered as expected.", - ezcImageConversionTestCase::DEFAULT_SIMILARITY_GAP + 300 ); } @@ -511,7 +511,7 @@ $this->getReferencePath(), $this->getTempPath(), "Image not rendered as expected.", - ezcImageConversionTestCase::DEFAULT_SIMILARITY_GAP + 300 ); } @@ -561,7 +561,7 @@ $this->getReferencePath(), $this->getTempPath(), "Image not rendered as expected.", - ezcImageConversionTestCase::DEFAULT_SIMILARITY_GAP + 100 ); } @@ -585,7 +585,7 @@ $this->getReferencePath(), $this->getTempPath(), "Image not rendered as expected.", - ezcImageConversionTestCase::DEFAULT_SIMILARITY_GAP + 100 ); } Modified: trunk/ImageConversion/tests/handlershell_test.php =================================================================== --- trunk/ImageConversion/tests/handlershell_test.php 2007-02-19 21:42:18 UTC (rev 4670) +++ trunk/ImageConversion/tests/handlershell_test.php 2007-02-19 21:57:41 UTC (rev 4671) @@ -129,7 +129,7 @@ $this->getReferencePath(), $dstPath, "Applying single filter through handler failed.", - ezcImageConversionTestCase::DEFAULT_SIMILARITY_GAP + 300 ); } -- svn-components mailing list svn-components@lists.ez.no http://lists.ez.no/mailman/listinfo/svn-components