summaryrefslogtreecommitdiffstats
path: root/tests/renderer_3d_test.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-10-19 15:37:27 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-10-19 15:37:27 +0000
commit672c37cce7d0cd64d4f24f94d8d4327a2c726521 (patch)
tree2adf92f140bf56f11ed8d0d9e0176d8ed5c4420b /tests/renderer_3d_test.php
parent630a95b1f8474a1b9ae866f0cf0fb06a348ad11a (diff)
downloadzetacomponents-graph-672c37cce7d0cd64d4f24f94d8d4327a2c726521.zip
zetacomponents-graph-672c37cce7d0cd64d4f24f94d8d4327a2c726521.tar.gz
- Moved complete pie chart testcase to ming driver, because calling ming in
other testsuites changes the hashs of the resulting images. - Removed unused test image
Diffstat (limited to 'tests/renderer_3d_test.php')
-rw-r--r--tests/renderer_3d_test.php37
1 files changed, 1 insertions, 36 deletions
diff --git a/tests/renderer_3d_test.php b/tests/renderer_3d_test.php
index fbf8105..7e15fd3 100644
--- a/tests/renderer_3d_test.php
+++ b/tests/renderer_3d_test.php
@@ -415,42 +415,7 @@ class ezcGraphRenderer3dTest extends ezcImageTestCase
$this->basePath . 'compare/' . __CLASS__ . '_' . __FUNCTION__ . '.svg'
);
}
-
- public function testRenderLabeledFlashPieChart()
- {
- $filename = $this->tempDir . __FUNCTION__ . '.swf';
-
- $chart = new ezcGraphPieChart();
- $chart->options->font->path = dirname( __FILE__ ) . '/data/fdb_font.fdb';
-
- $chart->palette = new ezcGraphPaletteEzBlue();
- $chart->data['sample'] = new ezcGraphArrayDataSet( array(
- 'Mozilla' => 4375,
- 'IE' => 345,
- 'Opera' => 1204,
- 'wget' => 231,
- 'Safari' => 987,
- ) );
-
- $chart->data['sample']->highlight['Safari'] = true;
-
- $chart->renderer = new ezcGraphRenderer3d();
-
- $chart->renderer->options->pieChartShadowSize = 10;
- $chart->renderer->options->pieChartGleam = .5;
- $chart->renderer->options->dataBorder = false;
- $chart->renderer->options->pieChartHeight = 16;
- $chart->renderer->options->legendSymbolGleam = .5;
-
- $chart->driver = new ezcGraphMingDriver();
- $chart->render( 500, 200, $filename );
-
- $this->compare(
- $filename,
- $this->basePath . 'compare/' . __CLASS__ . '_' . __FUNCTION__ . '.swf'
- );
- }
-
+
public function testRenderFullShadow()
{
$filename = $this->tempDir . __FUNCTION__ . '.svg';
OpenPOWER on IntegriCloud