summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-11-30 08:44:35 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-11-30 08:44:35 +0000
commit900e04fff3c7ef75917bcb6b039f71f817774702 (patch)
treee53ff028184a59fbcb519bf6a9b002b1305de1c0
parentdb9085af71795942fac7ce7e7675b0891ed354ba (diff)
downloadzetacomponents-graph-900e04fff3c7ef75917bcb6b039f71f817774702.zip
zetacomponents-graph-900e04fff3c7ef75917bcb6b039f71f817774702.tar.gz
- Resolved: Issue #9543 (Rename Ming driver to Flash in the Graph component)
-rw-r--r--ChangeLog2
-rw-r--r--src/driver/flash.php (renamed from src/driver/ming.php)10
-rw-r--r--src/exceptions/flash_bitmap_boundings.php (renamed from src/exceptions/ming_bitmap_boundings.php)8
-rw-r--r--src/exceptions/flash_bitmap_type.php (renamed from src/exceptions/ming_bitmap_type.php)8
-rw-r--r--src/graph_autoload.php8
-rw-r--r--src/options/flash_driver.php (renamed from src/options/ming_driver.php)4
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleFilled.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawCircleFilled.swf)bin442 -> 442 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleLinearFill.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawCircleLinearFill.swf)bin749 -> 749 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleLinearFilledLine.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawCircleLinearFilledLine.swf)bin732 -> 732 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleNonFilled.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawCircleNonFilled.swf)bin443 -> 443 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleRadialFill.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawCircleRadialFill.swf)bin457 -> 457 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleRadialFilledLine.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawCircleRadialFilledLine.swf)bin443 -> 443 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleSectorAcute.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawCircleSectorAcute.swf)bin101 -> 101 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleSectorAcuteNonFilled.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawCircleSectorAcuteNonFilled.swf)bin123 -> 123 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleSectorAcuteReverse.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawCircleSectorAcuteReverse.swf)bin101 -> 101 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleSectorObtuse.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawCircleSectorObtuse.swf)bin343 -> 343 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawCircularArcAcute.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawCircularArcAcute.swf)bin367 -> 367 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawCircularArcAcuteBorder.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawCircularArcAcuteBorder.swf)bin189 -> 189 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawCircularArcAcuteReverse.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawCircularArcAcuteReverse.swf)bin367 -> 367 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawCircularArcObtuse.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawCircularArcObtuse.swf)bin1572 -> 1572 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawLine.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawLine.swf)bin80 -> 80 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawMultipleBigCircleSectors.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawMultipleBigCircleSectors.swf)bin543 -> 543 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawMultipleCircleSectors.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawMultipleCircleSectors.swf)bin732 -> 732 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawMultipleCircularArcs.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawMultipleCircularArcs.swf)bin1179 -> 1179 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawMultipleFilledTransparentPolygons.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawMultipleFilledTransparentPolygons.swf)bin213 -> 213 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawPolygonFivePoints.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawPolygonFivePoints.swf)bin96 -> 96 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawPolygonThreePointsFilled.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawPolygonThreePointsFilled.swf)bin90 -> 90 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawPolygonThreePointsNotFilled.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawPolygonThreePointsNotFilled.swf)bin91 -> 91 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawStringWithSpecialChars.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawStringWithSpecialChars.swf)bin2593 -> 2593 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxLongSpacedString.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxLongSpacedString.swf)bin4194 -> 4194 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxLongSpacedStringCenter.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxLongSpacedStringCenter.swf)bin4195 -> 4195 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxLongSpacedStringCenterBottom.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxLongSpacedStringCenterBottom.swf)bin4195 -> 4195 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxLongSpacedStringRight.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxLongSpacedStringRight.swf)bin4195 -> 4195 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxLongSpacedStringRightMiddle.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxLongSpacedStringRightMiddle.swf)bin4195 -> 4195 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxLongString.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxLongString.swf)bin1456 -> 1456 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxManualBreak.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxManualBreak.swf)bin1010 -> 1010 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxShortString.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxShortString.swf)bin640 -> 640 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxStringCenter.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxStringCenter.swf)bin1457 -> 1457 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxStringCenterMiddle.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxStringCenterMiddle.swf)bin1457 -> 1457 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxStringRight.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxStringRight.swf)bin1457 -> 1457 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxStringRightBottom.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxStringRightBottom.swf)bin1457 -> 1457 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxStringSampleRight.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxStringSampleRight.swf)bin896 -> 896 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawTextWithBackground.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawTextWithBackground.swf)bin2320 -> 2320 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawTextWithBorder.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawTextWithBorder.swf)bin2321 -> 2321 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawTextWithCustomTextShadow.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawTextWithCustomTextShadow.swf)bin4552 -> 4552 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawTextWithMinimizedBorderAndBackgroundBottomRight.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawTextWithMinimizedBorderAndBackgroundBottomRight.swf)bin2381 -> 2381 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawTextWithMinimizedBorderAndBackgroundMiddleCenter.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawTextWithMinimizedBorderAndBackgroundMiddleCenter.swf)bin2381 -> 2381 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawTextWithMinimizedBorderAndBackgroundTopLeft.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawTextWithMinimizedBorderAndBackgroundTopLeft.swf)bin2381 -> 2381 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testDrawTextWithTextShadow.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testDrawTextWithTextShadow.swf)bin4552 -> 4552 bytes
-rw-r--r--tests/data/compare/ezcGraphFlashDriverTest_testRenderLabeledFlashPieChart.swf (renamed from tests/data/compare/ezcGraphMingDriverTest_testRenderLabeledFlashPieChart.swf)bin48982 -> 48982 bytes
-rw-r--r--tests/driver_flash_test.php (renamed from tests/driver_ming_test.php)38
-rw-r--r--tests/suite.php4
52 files changed, 42 insertions, 40 deletions
diff --git a/ChangeLog b/ChangeLog
index 3793573..b5112c2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
1.0 - [RELEASEDATE]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+- Renamed ezcGraphMingDriver to ezcGraphFlashDriver
+
- Fixed issue #9583: Data typecasting should only be done in axis
- Fixed issue #9586: No data rendered with string keys on date axis.
diff --git a/src/driver/ming.php b/src/driver/flash.php
index 669fff7..51f55fb 100644
--- a/src/driver/ming.php
+++ b/src/driver/flash.php
@@ -1,6 +1,6 @@
<?php
/**
- * File containing the ezcGraphMingDriver class
+ * File containing the ezcGraphFlashDriver class
*
* @package Graph
* @version //autogentag//
@@ -13,7 +13,7 @@
* @package Graph
*/
-class ezcGraphMingDriver extends ezcGraphDriver
+class ezcGraphFlashDriver extends ezcGraphDriver
{
/**
* Flash movie
@@ -45,7 +45,7 @@ class ezcGraphMingDriver extends ezcGraphDriver
*/
public function __construct( array $options = array() )
{
- $this->options = new ezcGraphMingDriverOptions( $options );
+ $this->options = new ezcGraphFlashDriverOptions( $options );
}
/**
@@ -792,12 +792,12 @@ class ezcGraphMingDriver extends ezcGraphDriver
$imageData = getimagesize( $file );
if ( $imageData[0] !== $width || $imageData[1] !== $height )
{
- throw new ezcGraphMingBitmapBoundingsException( $imageData[0], $imageData[1], $width, $height );
+ throw new ezcGraphFlashBitmapBoundingsException( $imageData[0], $imageData[1], $width, $height );
}
if ( $imageData[2] !== 2 )
{
- throw new ezcGraphMingBitmapTypeException( $imageData[2] );
+ throw new ezcGraphFlashBitmapTypeException( $imageData[2] );
}
$image = new SWFBitmap( file_get_contents( 'http://kore.phpugdo.de/jpg.jpeg' ) );
diff --git a/src/exceptions/ming_bitmap_boundings.php b/src/exceptions/flash_bitmap_boundings.php
index 6cc3414..e649aed 100644
--- a/src/exceptions/ming_bitmap_boundings.php
+++ b/src/exceptions/flash_bitmap_boundings.php
@@ -1,6 +1,6 @@
<?php
/**
- * File containing the ezcGraphMingBitmapBoundingsException class
+ * File containing the ezcGraphFlashBitmapBoundingsException class
*
* @package Graph
* @version //autogen//
@@ -8,17 +8,17 @@
* @license http://ez.no/licenses/new_bsd New BSD License
*/
/**
- * Ming does not support bitmap scaling, so that this exceptions is thrown
+ * Flash does not support bitmap scaling, so that this exceptions is thrown
* when an image does not have the requested size.
*
* @package Graph
* @version //autogen//
*/
-class ezcGraphMingBitmapBoundingsException extends ezcGraphException
+class ezcGraphFlashBitmapBoundingsException extends ezcGraphException
{
public function __construct( $imageWidth, $imageHeight, $reqWidth, $reqHeight )
{
- parent::__construct( "Ming does not support bitmap scaling, so that it is up to you to scale the image '$imageWidth' * '$imageHeight' to '$reqWidth' * '$reqHeight'." );
+ parent::__construct( "Flash does not support bitmap scaling, so that it is up to you to scale the image '$imageWidth' * '$imageHeight' to '$reqWidth' * '$reqHeight'." );
}
}
diff --git a/src/exceptions/ming_bitmap_type.php b/src/exceptions/flash_bitmap_type.php
index 825a907..d03e9a0 100644
--- a/src/exceptions/ming_bitmap_type.php
+++ b/src/exceptions/flash_bitmap_type.php
@@ -1,6 +1,6 @@
<?php
/**
- * File containing the ezcGraphMingBitmapTypeException class
+ * File containing the ezcGraphFlashBitmapTypeException class
*
* @package Graph
* @version //autogen//
@@ -8,17 +8,17 @@
* @license http://ez.no/licenses/new_bsd New BSD License
*/
/**
- * Ming can only read non interlaced bitmaps. This exception is thrown for
+ * Flash can only read non interlaced bitmaps. This exception is thrown for
* all other image types.
*
* @package Graph
* @version //autogen//
*/
-class ezcGraphMingBitmapTypeException extends ezcGraphException
+class ezcGraphFlashBitmapTypeException extends ezcGraphException
{
public function __construct( $type )
{
- parent::__construct( "Ming can only read non interlaced JPEGs." );
+ parent::__construct( "Flash can only read non interlaced JPEGs." );
}
}
diff --git a/src/graph_autoload.php b/src/graph_autoload.php
index 11c7ec2..5ba3f02 100644
--- a/src/graph_autoload.php
+++ b/src/graph_autoload.php
@@ -55,10 +55,10 @@ return array(
'ezcGraphSvgDriverOptions' => 'Graph/options/svg_driver.php',
'ezcGraphSvgDriverInvalidIdException' => 'Graph/exceptions/invalid_id.php',
'ezcGraphVerboseDriver' => 'Graph/driver/verbose.php',
- 'ezcGraphMingDriver' => 'Graph/driver/ming.php',
- 'ezcGraphMingDriverOptions' => 'Graph/options/ming_driver.php',
- 'ezcGraphMingBitmapTypeException' => 'Graph/exceptions/ming_bitmap_type.php',
- 'ezcGraphMingBitmapBoundingsException' => 'Graph/exceptions/ming_bitmap_boundings.php',
+ 'ezcGraphFlashDriver' => 'Graph/driver/flash.php',
+ 'ezcGraphFlashDriverOptions' => 'Graph/options/flash_driver.php',
+ 'ezcGraphFlashBitmapTypeException' => 'Graph/exceptions/flash_bitmap_type.php',
+ 'ezcGraphFlashBitmapBoundingsException' => 'Graph/exceptions/flash_bitmap_boundings.php',
'ezcGraphPalette' => 'Graph/interfaces/palette.php',
'ezcGraphPaletteTango' => 'Graph/palette/tango.php',
diff --git a/src/options/ming_driver.php b/src/options/flash_driver.php
index 78a9ade..d1294d2 100644
--- a/src/options/ming_driver.php
+++ b/src/options/flash_driver.php
@@ -1,6 +1,6 @@
<?php
/**
- * File containing the ezcGraphMingDriverOption class
+ * File containing the ezcGraphFlashDriverOption class
*
* @package Graph
* @version //autogentag//
@@ -19,7 +19,7 @@
*
* @package Graph
*/
-class ezcGraphMingDriverOptions extends ezcGraphDriverOptions
+class ezcGraphFlashDriverOptions extends ezcGraphDriverOptions
{
/**
* Constructor
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircleFilled.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleFilled.swf
index 28dfe06..28dfe06 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircleFilled.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleFilled.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircleLinearFill.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleLinearFill.swf
index 5f62700..5f62700 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircleLinearFill.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleLinearFill.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircleLinearFilledLine.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleLinearFilledLine.swf
index b0e7b33..b0e7b33 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircleLinearFilledLine.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleLinearFilledLine.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircleNonFilled.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleNonFilled.swf
index 80b5853..80b5853 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircleNonFilled.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleNonFilled.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircleRadialFill.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleRadialFill.swf
index 4588273..4588273 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircleRadialFill.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleRadialFill.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircleRadialFilledLine.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleRadialFilledLine.swf
index b4c6df3..b4c6df3 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircleRadialFilledLine.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleRadialFilledLine.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircleSectorAcute.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleSectorAcute.swf
index eb3639b..eb3639b 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircleSectorAcute.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleSectorAcute.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircleSectorAcuteNonFilled.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleSectorAcuteNonFilled.swf
index 9cfca93..9cfca93 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircleSectorAcuteNonFilled.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleSectorAcuteNonFilled.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircleSectorAcuteReverse.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleSectorAcuteReverse.swf
index 4c3d8dd..4c3d8dd 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircleSectorAcuteReverse.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleSectorAcuteReverse.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircleSectorObtuse.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleSectorObtuse.swf
index 7bfb90a..7bfb90a 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircleSectorObtuse.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircleSectorObtuse.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircularArcAcute.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircularArcAcute.swf
index b3ba3c7..b3ba3c7 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircularArcAcute.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircularArcAcute.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircularArcAcuteBorder.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircularArcAcuteBorder.swf
index 5fba27c..5fba27c 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircularArcAcuteBorder.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircularArcAcuteBorder.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircularArcAcuteReverse.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircularArcAcuteReverse.swf
index 867031c..867031c 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircularArcAcuteReverse.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircularArcAcuteReverse.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircularArcObtuse.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircularArcObtuse.swf
index 1688f39..1688f39 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawCircularArcObtuse.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawCircularArcObtuse.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawLine.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawLine.swf
index 35d0064..35d0064 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawLine.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawLine.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawMultipleBigCircleSectors.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawMultipleBigCircleSectors.swf
index c195d8e..c195d8e 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawMultipleBigCircleSectors.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawMultipleBigCircleSectors.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawMultipleCircleSectors.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawMultipleCircleSectors.swf
index efccdb8..efccdb8 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawMultipleCircleSectors.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawMultipleCircleSectors.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawMultipleCircularArcs.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawMultipleCircularArcs.swf
index a8f4517..a8f4517 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawMultipleCircularArcs.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawMultipleCircularArcs.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawMultipleFilledTransparentPolygons.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawMultipleFilledTransparentPolygons.swf
index dc6fd2d..dc6fd2d 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawMultipleFilledTransparentPolygons.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawMultipleFilledTransparentPolygons.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawPolygonFivePoints.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawPolygonFivePoints.swf
index 04bcbd1..04bcbd1 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawPolygonFivePoints.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawPolygonFivePoints.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawPolygonThreePointsFilled.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawPolygonThreePointsFilled.swf
index 9db36cf..9db36cf 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawPolygonThreePointsFilled.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawPolygonThreePointsFilled.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawPolygonThreePointsNotFilled.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawPolygonThreePointsNotFilled.swf
index bfc602d..bfc602d 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawPolygonThreePointsNotFilled.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawPolygonThreePointsNotFilled.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawStringWithSpecialChars.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawStringWithSpecialChars.swf
index 9729c89..9729c89 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawStringWithSpecialChars.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawStringWithSpecialChars.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxLongSpacedString.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxLongSpacedString.swf
index dec147f..dec147f 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxLongSpacedString.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxLongSpacedString.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxLongSpacedStringCenter.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxLongSpacedStringCenter.swf
index 6ea86a5..6ea86a5 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxLongSpacedStringCenter.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxLongSpacedStringCenter.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxLongSpacedStringCenterBottom.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxLongSpacedStringCenterBottom.swf
index 0cf6981..0cf6981 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxLongSpacedStringCenterBottom.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxLongSpacedStringCenterBottom.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxLongSpacedStringRight.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxLongSpacedStringRight.swf
index 408a19b..408a19b 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxLongSpacedStringRight.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxLongSpacedStringRight.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxLongSpacedStringRightMiddle.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxLongSpacedStringRightMiddle.swf
index 69d3c7f..69d3c7f 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxLongSpacedStringRightMiddle.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxLongSpacedStringRightMiddle.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxLongString.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxLongString.swf
index d16c4b5..d16c4b5 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxLongString.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxLongString.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxManualBreak.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxManualBreak.swf
index 874db81..874db81 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxManualBreak.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxManualBreak.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxShortString.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxShortString.swf
index ca26e74..ca26e74 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxShortString.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxShortString.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxStringCenter.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxStringCenter.swf
index 2302623..2302623 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxStringCenter.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxStringCenter.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxStringCenterMiddle.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxStringCenterMiddle.swf
index 504364c..504364c 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxStringCenterMiddle.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxStringCenterMiddle.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxStringRight.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxStringRight.swf
index 5ee0813..5ee0813 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxStringRight.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxStringRight.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxStringRightBottom.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxStringRightBottom.swf
index f405403..f405403 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxStringRightBottom.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxStringRightBottom.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxStringSampleRight.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxStringSampleRight.swf
index 28d89e2..28d89e2 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextBoxStringSampleRight.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextBoxStringSampleRight.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextWithBackground.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextWithBackground.swf
index e55f677..e55f677 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextWithBackground.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextWithBackground.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextWithBorder.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextWithBorder.swf
index 3ca36bc..3ca36bc 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextWithBorder.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextWithBorder.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextWithCustomTextShadow.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextWithCustomTextShadow.swf
index 232d8ae..232d8ae 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextWithCustomTextShadow.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextWithCustomTextShadow.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextWithMinimizedBorderAndBackgroundBottomRight.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextWithMinimizedBorderAndBackgroundBottomRight.swf
index 40cbd72..40cbd72 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextWithMinimizedBorderAndBackgroundBottomRight.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextWithMinimizedBorderAndBackgroundBottomRight.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextWithMinimizedBorderAndBackgroundMiddleCenter.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextWithMinimizedBorderAndBackgroundMiddleCenter.swf
index 93659df..93659df 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextWithMinimizedBorderAndBackgroundMiddleCenter.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextWithMinimizedBorderAndBackgroundMiddleCenter.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextWithMinimizedBorderAndBackgroundTopLeft.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextWithMinimizedBorderAndBackgroundTopLeft.swf
index db0d241..db0d241 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextWithMinimizedBorderAndBackgroundTopLeft.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextWithMinimizedBorderAndBackgroundTopLeft.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextWithTextShadow.swf b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextWithTextShadow.swf
index c4a11a5..c4a11a5 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testDrawTextWithTextShadow.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testDrawTextWithTextShadow.swf
Binary files differ
diff --git a/tests/data/compare/ezcGraphMingDriverTest_testRenderLabeledFlashPieChart.swf b/tests/data/compare/ezcGraphFlashDriverTest_testRenderLabeledFlashPieChart.swf
index ef2ef82..ef2ef82 100644
--- a/tests/data/compare/ezcGraphMingDriverTest_testRenderLabeledFlashPieChart.swf
+++ b/tests/data/compare/ezcGraphFlashDriverTest_testRenderLabeledFlashPieChart.swf
Binary files differ
diff --git a/tests/driver_ming_test.php b/tests/driver_flash_test.php
index 83066fb..6047391 100644
--- a/tests/driver_ming_test.php
+++ b/tests/driver_flash_test.php
@@ -1,6 +1,6 @@
<?php
/**
- * ezcGraphMingDriverTest
+ * ezcGraphFlashDriverTest
*
* @package Graph
* @version //autogen//
@@ -15,7 +15,7 @@
* @package ImageAnalysis
* @subpackage Tests
*/
-class ezcGraphMingDriverTest extends ezcTestCase
+class ezcGraphFlashDriverTest extends ezcTestCase
{
protected $driver;
@@ -31,7 +31,7 @@ class ezcGraphMingDriverTest extends ezcTestCase
public static function suite()
{
- return new PHPUnit_Framework_TestSuite( "ezcGraphMingDriverTest" );
+ return new PHPUnit_Framework_TestSuite( "ezcGraphFlashDriverTest" );
}
protected function setUp()
@@ -45,7 +45,7 @@ class ezcGraphMingDriverTest extends ezcTestCase
$this->tempDir = $this->createTempDir( __CLASS__ . sprintf( '_%03d_', ++$i ) ) . '/';
$this->basePath = dirname( __FILE__ ) . '/data/';
- $this->driver = new ezcGraphMingDriver();
+ $this->driver = new ezcGraphFlashDriver();
$this->driver->options->width = 200;
$this->driver->options->height = 100;
@@ -480,12 +480,12 @@ class ezcGraphMingDriverTest extends ezcTestCase
50
);
}
- catch ( ezcGraphMingBitmapBoundingsException $e )
+ catch ( ezcGraphFlashBitmapBoundingsException $e )
{
return true;
}
- $this->fail( 'Expected ezcGraphMingBitmapBoundingsException.' );
+ $this->fail( 'Expected ezcGraphFlashBitmapBoundingsException.' );
}
public function testDrawImageGif()
@@ -501,12 +501,12 @@ class ezcGraphMingDriverTest extends ezcTestCase
100
);
}
- catch ( ezcGraphMingBitmapTypeException $e )
+ catch ( ezcGraphFlashBitmapTypeException $e )
{
return true;
}
- $this->fail( 'Expected ezcGraphMingBitmapTypeException.' );
+ $this->fail( 'Expected ezcGraphFlashBitmapTypeException.' );
}
public function testDrawImagePng()
@@ -522,12 +522,12 @@ class ezcGraphMingDriverTest extends ezcTestCase
100
);
}
- catch ( ezcGraphMingBitmapTypeException $e )
+ catch ( ezcGraphFlashBitmapTypeException $e )
{
return true;
}
- $this->fail( 'Expected ezcGraphMingBitmapBoundingsException.' );
+ $this->fail( 'Expected ezcGraphFlashBitmapBoundingsException.' );
}
public function testDrawImageJpeg()
@@ -1336,7 +1336,7 @@ class ezcGraphMingDriverTest extends ezcTestCase
$chart->renderer->options->pieChartHeight = 16;
$chart->renderer->options->legendSymbolGleam = .5;
- $chart->driver = new ezcGraphMingDriver();
+ $chart->driver = new ezcGraphFlashDriver();
$chart->render( 500, 200, $filename );
$this->compare(
@@ -1415,21 +1415,21 @@ class ezcGraphMingDriverTest extends ezcTestCase
);
}
- public function testMingDriverOptionsPropertyCompression()
+ public function testFlashDriverOptionsPropertyCompression()
{
- $options = new ezcGraphMingDriverOptions();
+ $options = new ezcGraphFlashDriverOptions();
$this->assertSame(
9,
$options->compression,
- 'Wrong default value for property compression in class ezcGraphMingDriverOptions'
+ 'Wrong default value for property compression in class ezcGraphFlashDriverOptions'
);
$options->compression = 4;
$this->assertSame(
4,
$options->compression,
- 'Setting property value did not work for property compression in class ezcGraphMingDriverOptions'
+ 'Setting property value did not work for property compression in class ezcGraphFlashDriverOptions'
);
try
@@ -1444,21 +1444,21 @@ class ezcGraphMingDriverTest extends ezcTestCase
$this->fail( 'Expected ezcBaseValueException.' );
}
- public function testMingDriverOptionsPropertyCircleResolution()
+ public function testFlashDriverOptionsPropertyCircleResolution()
{
- $options = new ezcGraphMingDriverOptions();
+ $options = new ezcGraphFlashDriverOptions();
$this->assertSame(
2.,
$options->circleResolution,
- 'Wrong default value for property circleResolution in class ezcGraphMingDriverOptions'
+ 'Wrong default value for property circleResolution in class ezcGraphFlashDriverOptions'
);
$options->circleResolution = 5.;
$this->assertSame(
5.,
$options->circleResolution,
- 'Setting property value did not work for property circleResolution in class ezcGraphMingDriverOptions'
+ 'Setting property value did not work for property circleResolution in class ezcGraphFlashDriverOptions'
);
try
diff --git a/tests/suite.php b/tests/suite.php
index b546add..71d3748 100644
--- a/tests/suite.php
+++ b/tests/suite.php
@@ -32,7 +32,7 @@ require_once 'axis_centered_renderer_test.php';
require_once 'driver_options_test.php';
require_once 'driver_gd_test.php';
require_once 'driver_svg_test.php';
-require_once 'driver_ming_test.php';
+require_once 'driver_flash_test.php';
require_once 'font_test.php';
require_once 'palette_test.php';
require_once 'matrix_test.php';
@@ -73,7 +73,7 @@ class ezcGraphSuite extends PHPUnit_Framework_TestSuite
$this->addTest( ezcGraphDriverOptionsTest::suite() );
$this->addTest( ezcGraphGdDriverTest::suite() );
$this->addTest( ezcGraphSvgDriverTest::suite() );
- $this->addTest( ezcGraphMingDriverTest::suite() );
+ $this->addTest( ezcGraphFlashDriverTest::suite() );
$this->addTest( ezcGraphFontTest::suite() );
$this->addTest( ezcGraphTextTest::suite() );
$this->addTest( ezcGraphPaletteTest::suite() );
OpenPOWER on IntegriCloud