Author: Tobias Schlitt
Date: 2006-08-28 14:32:07 +0200 (Mon, 28 Aug 2006)
New Revision: 3411
Log:
- Implemented global method of regenerating test compare files.
- Added setting to choose if temporary test files are kept.
Modified:
trunk/ImageConversion/tests/converter_test.php
trunk/ImageConversion/tests/filtersshell_test.php
trunk/ImageConversion/tests/handlergd_test.php
trunk/ImageConversion/tests/handlershell_test.php
trunk/ImageConversion/tests/test_case.php
trunk/ImageConversion/tests/transformation_test.php
Modified: trunk/ImageConversion/tests/converter_test.php
===================================================================
--- trunk/ImageConversion/tests/converter_test.php 2006-08-28 12:21:11 UTC
(rev 3410)
+++ trunk/ImageConversion/tests/converter_test.php 2006-08-28 12:32:07 UTC
(rev 3411)
@@ -286,6 +286,7 @@
$srcPath = $this->testFiles["jpeg"];
$dstPath = $this->getTempPath();
+
$this->converter->applyFilter(
new ezcImageFilter(
"scale",
@@ -307,6 +308,7 @@
{
$srcPath = $this->testFiles["jpeg"];
$dstPath = $this->getTempPath();
+
$this->converter->applyFilter( new ezcImageFilter( "colorspace",
array( "space" => ezcImageColorspaceFilters::COLORSPACE_MONOCHROME ) ),
$srcPath, $dstPath );
Modified: trunk/ImageConversion/tests/filtersshell_test.php
===================================================================
--- trunk/ImageConversion/tests/filtersshell_test.php 2006-08-28 12:21:11 UTC
(rev 3410)
+++ trunk/ImageConversion/tests/filtersshell_test.php 2006-08-28 12:32:07 UTC
(rev 3411)
@@ -46,7 +46,6 @@
public function testScale()
{
$this->handler->scale( 500, 500, ezcImageGeometryFilters::SCALE_BOTH );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -60,7 +59,6 @@
public function testScaleDown_do()
{
$this->handler->scale( 500, 2, ezcImageGeometryFilters::SCALE_DOWN );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -74,7 +72,6 @@
public function testScaleDown_dont()
{
$this->handler->scale( 500, 500, ezcImageGeometryFilters::SCALE_DOWN );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -88,7 +85,6 @@
public function testScaleUp_do()
{
$this->handler->scale( 500, 500, ezcImageGeometryFilters::SCALE_UP );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -102,7 +98,6 @@
public function testScaleUp_dont()
{
$this->handler->scale( 2, 2, ezcImageGeometryFilters::SCALE_UP );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -117,7 +112,6 @@
{
$this->handler->scale( 2, 2, ezcImageGeometryFilters::SCALE_UP );
$this->handler->scaleWidth( 50, ezcImageGeometryFilters::SCALE_BOTH );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -131,7 +125,6 @@
public function testScaleWidthUp_1()
{
$this->handler->scaleWidth( 50, ezcImageGeometryFilters::SCALE_UP );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -145,7 +138,6 @@
public function testScaleWidthUp_2()
{
$this->handler->scaleWidth( 300, ezcImageGeometryFilters::SCALE_UP );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -159,7 +151,6 @@
public function testScaleWidthDown_1()
{
$this->handler->scaleWidth( 300, ezcImageGeometryFilters::SCALE_DOWN );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -173,7 +164,6 @@
public function testScaleWidthDown_2()
{
$this->handler->scaleWidth( 50, ezcImageGeometryFilters::SCALE_DOWN );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -187,7 +177,6 @@
public function testScaleHeightUp_1()
{
$this->handler->scaleHeight( 300, ezcImageGeometryFilters::SCALE_UP );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -201,7 +190,6 @@
public function testScaleHeightUp_2()
{
$this->handler->scaleHeight( 300, ezcImageGeometryFilters::SCALE_DOWN
);
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -215,7 +203,6 @@
public function testScaleHeightDown_1()
{
$this->handler->scaleHeight( 30, ezcImageGeometryFilters::SCALE_UP );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -229,7 +216,6 @@
public function testScaleHeightDown_2()
{
$this->handler->scaleHeight( 30, ezcImageGeometryFilters::SCALE_DOWN );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -243,7 +229,6 @@
public function testScalePercent_1()
{
$this->handler->scalePercent( 50, 50 );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -257,7 +242,6 @@
public function testScalePercent_2()
{
$this->handler->scaleExact( 200, 200 );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -272,7 +256,6 @@
{
$this->handler->scaleExact( 200, 200 );
$this->handler->scaleExact( 200, 200 );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -286,7 +269,6 @@
public function testScaleExact_2()
{
$this->handler->scaleExact( 10, 200 );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -300,7 +282,6 @@
public function testScaleExact_3()
{
$this->handler->scaleExact( 200, 10 );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -314,7 +295,6 @@
public function testCrop_1()
{
$this->handler->crop( 50, 38, 50, 37 );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -328,7 +308,6 @@
public function testCrop_2()
{
$this->handler->crop( 100, 75, -50, -37 );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -342,7 +321,6 @@
public function testCrop_3()
{
$this->handler->crop( 50, 75, 250, 38 );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -356,7 +334,6 @@
public function testCrop_0_Offset()
{
$this->handler->crop( 0, 0, 10, 10 );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -370,7 +347,6 @@
public function testColorspaceGrey()
{
$this->handler->colorspace( ezcImageColorspaceFilters::COLORSPACE_GREY
);
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -384,7 +360,6 @@
public function testColorspaceMonochrome()
{
$this->handler->colorspace(
ezcImageColorspaceFilters::COLORSPACE_MONOCHROME );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -398,7 +373,6 @@
public function testColorspaceSepia()
{
$this->handler->colorspace(
ezcImageColorspaceFilters::COLORSPACE_SEPIA );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -412,7 +386,6 @@
public function testNoiseUniform()
{
$this->handler->noise( 'Uniform' );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -427,7 +400,6 @@
public function testNoiseGaussian()
{
$this->handler->noise( 'Gaussian' );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -442,7 +414,6 @@
public function testNoiseMultiplicative()
{
$this->handler->noise( 'Multiplicative' );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -457,7 +428,6 @@
public function testNoiseImpulse()
{
$this->handler->noise( 'Impulse' );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -472,7 +442,6 @@
public function testNoiseLaplacian()
{
$this->handler->noise( 'Laplacian' );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -487,7 +456,6 @@
public function testNoisePoisson()
{
$this->handler->noise( 'Poisson' );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -502,7 +470,6 @@
public function testSwirl_10()
{
$this->handler->swirl( 10 );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -516,7 +483,6 @@
public function testSwirl_50()
{
$this->handler->swirl( 50 );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -530,7 +496,6 @@
public function testSwirl_100()
{
$this->handler->swirl( 100 );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -544,7 +509,6 @@
public function testBorder_2()
{
$this->handler->border( 2, array( 0x00, 0x00, 0xFF ) );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
@@ -558,7 +522,6 @@
public function testBorder_5()
{
$this->handler->border( 5, array( 255, 0, 0 ) );
- // REGENERATE # $this->handler->save( $this->getActiveReference(),
$this->getReferencePath() );
$this->handler->save( $this->getActiveReference(),
$this->getTempPath() );
$this->handler->close( $this->getActiveReference() );
$this->assertImageSimilar(
Modified: trunk/ImageConversion/tests/handlergd_test.php
===================================================================
--- trunk/ImageConversion/tests/handlergd_test.php 2006-08-28 12:21:11 UTC
(rev 3410)
+++ trunk/ImageConversion/tests/handlergd_test.php 2006-08-28 12:32:07 UTC
(rev 3411)
@@ -181,7 +181,6 @@
$ref = $this->handler->load( $srcPath );
$this->handler->applyFilter( $ref, new ezcImageFilter( "scale", array(
"width" => 200, "height" => 200, "direction" =>
ezcImageGeometryFilters::SCALE_BOTH ) ) );
$this->handler->save( $ref, $dstPath );
- // REGENERATE # $this->handler->save( $ref, $this->getReferencePath()
);
$this->assertImageSimilar(
$this->getReferencePath(),
$dstPath,
@@ -200,7 +199,6 @@
$this->handler->applyFilter( $ref, new ezcImageFilter( "crop", array(
"x" => 50, "width" => 100, "y" => 100, "height" => 100 ) ) );
$this->handler->applyFilter( $ref, new ezcImageFilter( "colorspace",
array( "space" => ezcImageColorspaceFilters::COLORSPACE_SEPIA ) ) );
$this->handler->save( $ref, $dstPath );
- // REGENERATE # $this->handler->save( $ref, $this->getReferencePath()
);
$this->assertImageSimilar(
$this->getReferencePath(),
Modified: trunk/ImageConversion/tests/handlershell_test.php
===================================================================
--- trunk/ImageConversion/tests/handlershell_test.php 2006-08-28 12:21:11 UTC
(rev 3410)
+++ trunk/ImageConversion/tests/handlershell_test.php 2006-08-28 12:32:07 UTC
(rev 3411)
@@ -97,7 +97,6 @@
$ref = $this->handler->load( $srcPath );
$this->handler->applyFilter( $ref, new ezcImageFilter( "scale", array(
"width" => 200, "height" => 200, "direction" =>
ezcImageGeometryFilters::SCALE_BOTH ) ) );
$this->handler->save( $ref, $dstPath );
- // REGENERATE # $this->handler->save( $ref, $this->getReferencePath()
);
$this->assertImageSimilar(
$this->getReferencePath(),
$dstPath,
@@ -119,7 +118,6 @@
$this->handler->applyFilter( $ref, new ezcImageFilter( "colorspace",
array( "space" => ezcImageColorspaceFilters::COLORSPACE_SEPIA ) ) );
$this->handler->save( $ref, $dstPath );
- // REGENERATE # $this->handler->save( $ref, $this->getReferencePath()
);
$this->assertImageSimilar(
$this->getReferencePath(),
Modified: trunk/ImageConversion/tests/test_case.php
===================================================================
--- trunk/ImageConversion/tests/test_case.php 2006-08-28 12:21:11 UTC (rev
3410)
+++ trunk/ImageConversion/tests/test_case.php 2006-08-28 12:32:07 UTC (rev
3411)
@@ -4,15 +4,18 @@
class ezcImageConversionTestCase extends ezcImageTestCase
{
+ // To regenerate all test files, set this to true
+ const REGENERATION_MODE = true;
+ // Set this to false to keep the temporary test dirs
+ const REMOVE_TEMP_DIRS = true;
+
const DEFAULT_SIMILARITY_GAP = 10;
protected static $tempDirs = array();
protected $testFiles = array();
- protected $tempPath;
-
protected $referencePath;
public function __construct( $string = "" )
@@ -34,15 +37,18 @@
public function __destruct()
{
- if ( sizeof( glob( "{$this->tempPath}/*" ) ) === 0 )
+ if ( ezcImageConversionTestCase::REMOVE_TEMP_DIRS === true )
{
$this->removeTempDir();
+ unset( ezcImageConversionTestCase::$tempDirs[get_class( $this )] );
}
}
protected function getTempPath( $index = "" )
{
- return "{$this->getTempBasePath()}/{$this->getTestName( $index )}";
+ return ezcImageConversionTestCase::REGENERATION_MODE === true
+ ? "{$this->referencePath}/{$this->getTestName( $index )}"
+ : "{$this->getTempBasePath()}/{$this->getTestName( $index )}";
}
protected function getReferencePath( $index = "" )
Modified: trunk/ImageConversion/tests/transformation_test.php
===================================================================
--- trunk/ImageConversion/tests/transformation_test.php 2006-08-28 12:21:11 UTC
(rev 3410)
+++ trunk/ImageConversion/tests/transformation_test.php 2006-08-28 12:32:07 UTC
(rev 3411)
@@ -416,7 +416,6 @@
$this->testFiltersSuccess[0],
array( "image/jpeg", "image/png" )
);
- //REGENERATE # $trans->transform( $this->testFiles["png"],
$this->getReferencePath() );
$trans->transform( $this->testFiles["png"], $this->getTempPath() );
$this->assertImageSimilar(
$this->getReferencePath(),
@@ -434,7 +433,6 @@
$this->testFiltersSuccess[1],
array( "image/jpeg", "image/png" )
);
- //REGENERATE # $trans->transform( $this->testFiles["png"],
$this->getReferencePath() );
$trans->transform( $this->testFiles["png"], $this->getTempPath() );
$this->assertImageSimilar(
$this->getReferencePath(),
@@ -452,7 +450,6 @@
$this->testFiltersSuccess[2],
array( "image/jpeg", "image/png" )
);
- //REGENERATE # $trans->transform( $this->testFiles["png"],
$this->getReferencePath() );
$trans->transform( $this->testFiles["png"], $this->getTempPath() );
$this->assertImageSimilar(
$this->getReferencePath(),
@@ -470,7 +467,6 @@
$this->testFiltersSuccess[0],
array( "image/jpeg", "image/png" )
);
- //REGENERATE # $trans->transform( $this->testFiles["jpeg"],
$this->getReferencePath() );
$trans->transform( $this->testFiles["jpeg"], $this->getTempPath() );
$this->assertImageSimilar(
$this->getReferencePath(),
@@ -488,7 +484,6 @@
$this->testFiltersSuccess[1],
array( "image/jpeg", "image/png" )
);
- //REGENERATE # $trans->transform( $this->testFiles["jpeg"],
$this->getReferencePath() );
$trans->transform( $this->testFiles["jpeg"], $this->getTempPath() );
$this->assertImageSimilar(
$this->getReferencePath(),
@@ -506,7 +501,6 @@
$this->testFiltersSuccess[2],
array( "image/jpeg", "image/png" )
);
- //REGENERATE # $trans->transform( $this->testFiles["jpeg"],
$this->getReferencePath() );
$trans->transform( $this->testFiles["jpeg"], $this->getTempPath() );
$this->assertImageSimilar(
$this->getReferencePath(),
@@ -524,7 +518,6 @@
$this->testFiltersSuccess[0],
array( "image/jpeg", "image/png" )
);
- //REGENERATE # $trans->transform( $this->testFiles["gif_nonanimated"],
$this->getReferencePath() );
$trans->transform( $this->testFiles["gif_nonanimated"],
$this->getTempPath() );
$this->assertImageSimilar(
$this->getReferencePath(),
@@ -542,7 +535,6 @@
$this->testFiltersSuccess[1],
array( "image/jpeg", "image/png" )
);
- //REGENERATE # $trans->transform( $this->testFiles["gif_nonanimated"],
$this->getReferencePath() );
$trans->transform( $this->testFiles["gif_nonanimated"],
$this->getTempPath() );
$this->assertImageSimilar(
$this->getReferencePath(),
@@ -560,7 +552,6 @@
$this->testFiltersSuccess[2],
array( "image/jpeg", "image/png" )
);
- //REGENERATE # $trans->transform( $this->testFiles["gif_nonanimated"],
$this->getReferencePath() );
$trans->transform( $this->testFiles["gif_nonanimated"],
$this->getTempPath() );
$this->assertImageSimilar(
$this->getReferencePath(),
@@ -578,7 +569,6 @@
$this->testFiltersSuccess[2],
array( "image/jpeg", "image/png" )
);
- //REGENERATE # $trans->transform( $this->testFiles["gif_animated"],
$this->getReferencePath() );
$trans->transform( $this->testFiles["gif_animated"],
$this->getTempPath() );
$this->assertImageSimilar(
$this->getReferencePath(),
@@ -654,9 +644,7 @@
$mimeOut = array( "image/jpeg" );
$trans = new ezcImageTransformation( $this->converter, "test",
$this->testFiltersSuccess[0], $mimeOut );
- //REGENERATE # $trans->transform( $this->testFiles["jpeg"],
$this->getReferencePath() );
$trans->transform( $this->testFiles["jpeg"], $this->getTempPath(
"jpeg" ) );
- //REGENERATE # $trans->transform( $this->testFiles["png"],
$this->getReferencePath() );
$trans->transform( $this->testFiles["png"], $this->getTempPath( "png"
) );
$this->assertImageSimilar(
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components