cvs: pear /Image_Transform/tests footer.php header.php test.css test.php test_common.php

[email protected] ("Christian Weiske")
Newsgroups php.pear.cvs
Message-ID <cvscweiske1209598863@cvsserver>
cweiske		Wed Apr 30 23:41:03 2008 UTC

  Removed files:               
    /pear/Image_Transform/tests	footer.php header.php test.css test.php 

  Modified files:              
    /pear/Image_Transform/tests	test_common.php 
  Log:
  Removing other test files, keeping test_common.php as there are
  many tests in it which could be converted
  
  
http://cvs.php.net/viewvc.cgi/pear/Image_Transform/tests/test_common.php?r1=1.8&r2=1.9&diff_format=u
Index: pear/Image_Transform/tests/test_common.php
diff -u pear/Image_Transform/tests/test_common.php:1.8 pear/Image_Transform/tests/test_common.php:1.9
--- pear/Image_Transform/tests/test_common.php:1.8	Wed Aug 10 19:26:08 2005
+++ pear/Image_Transform/tests/test_common.php	Wed Apr 30 23:41:03 2008
@@ -7,7 +7,7 @@
  * images. Automation is limited, and manual/visual checks are required.
  *
  * @author Philippe Jausions <Philippe .dot. Jausions @at@ 11abacus .dot. com>
- * @version $Id: test_common.php,v 1.8 2005/08/10 19:26:08 jausions Exp $
+ * @version $Id: test_common.php,v 1.9 2008/04/30 23:41:03 cweiske Exp $
  */
 
 /**
@@ -40,7 +40,7 @@
     }
 }
 
-class Image_TransformTest extends PHPUnit_TestCase
+class Image_TransformTest extends PHPUnit_Framework_TestCase
 {
     /**
      * To hold the image transformer
@@ -95,7 +95,7 @@
      **/
     function __construct($name)
     {
-        $this->PHPUnit_TestCase($name);
+        parent::__construct($name);
     }
 
     function setUp()
@@ -295,7 +295,7 @@
         if (!$this->valid) {
             return $this->assertFalse(true, 'Class constructor failed.');
         }
-        Image_TransformTestHelper::log('Rotation 90°', 'rotate90.png',
+        Image_TransformTestHelper::log('Rotation 90�', 'rotate90.png',
             'mirror-flip.png');
         $result = (true === $this->imager->load(TEST_IMAGE_DIR . 'mirror-flip.png'))
                   && (true === $this->imager->rotate(90))
@@ -315,7 +315,7 @@
         if (!$this->valid) {
             return $this->assertFalse(true, 'Class constructor failed.');
         }
-        Image_TransformTestHelper::log('Rotation 120° With Blue Background',
+        Image_TransformTestHelper::log('Rotation 120� With Blue Background',
             'rotate120.png', 'mirror-flip.png');
         $result = (true === $this->imager->load(TEST_IMAGE_DIR . 'mirror-flip.png'))
                   && (true === $this->imager->rotate(120, array('canvasColor' => '#0000FF')))
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.