summaryrefslogtreecommitdiffstats
path: root/tests/renderer_3d_test.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2007-01-24 09:25:56 +0000
committerKore Nordmann <github@kore-nordmann.de>2007-01-24 09:25:56 +0000
commit16bdb8776708f401d085c29222a88a2ae7667ced (patch)
tree9e76b1b75c8b85340e5a029887ec18d82ffb1472 /tests/renderer_3d_test.php
parent27eaaca1fb0e26115374260bcbc86615f8c4be3c (diff)
downloadzetacomponents-graph-16bdb8776708f401d085c29222a88a2ae7667ced.zip
zetacomponents-graph-16bdb8776708f401d085c29222a88a2ae7667ced.tar.gz
- Move existing background tests to own test case
Diffstat (limited to 'tests/renderer_3d_test.php')
-rw-r--r--tests/renderer_3d_test.php55
1 files changed, 0 insertions, 55 deletions
diff --git a/tests/renderer_3d_test.php b/tests/renderer_3d_test.php
index 493663a..3334d9b 100644
--- a/tests/renderer_3d_test.php
+++ b/tests/renderer_3d_test.php
@@ -1125,61 +1125,6 @@ class ezcGraphRenderer3dTest extends ezcGraphTestCase
);
}
- public function testRenderPieChartWithBackgroundBottomCenter()
- {
- $filename = $this->tempDir . __FUNCTION__ . '.svg';
-
- $chart = new ezcGraphPieChart();
- $chart->data['sample'] = new ezcGraphArrayDataSet( array(
- 'Mozilla' => 4375,
- 'IE' => 345,
- 'Opera' => 1204,
- 'wget' => 231,
- 'Safari' => 987,
- ) );
-
- $chart->background->color = '#FFFFFFDD';
- $chart->background->image = dirname( __FILE__ ) . '/data/ez.png';
- $chart->background->position = ezcGraph::BOTTOM | ezcGraph::CENTER;
-
- $chart->driver = new ezcGraphSvgDriver();
- $chart->renderer = new ezcGraphRenderer3d();
- $chart->render( 500, 200, $filename );
-
- $this->compare(
- $filename,
- $this->basePath . 'compare/' . __CLASS__ . '_' . __FUNCTION__ . '.svg'
- );
- }
-
- public function testRenderPieChartWithHorizontalTextureBackground()
- {
- $filename = $this->tempDir . __FUNCTION__ . '.svg';
-
- $chart = new ezcGraphPieChart();
- $chart->data['sample'] = new ezcGraphArrayDataSet( array(
- 'Mozilla' => 4375,
- 'IE' => 345,
- 'Opera' => 1204,
- 'wget' => 231,
- 'Safari' => 987,
- ) );
-
- $chart->background->color = '#FFFFFFDD';
- $chart->background->image = dirname( __FILE__ ) . '/data/texture.png';
- $chart->background->repeat = ezcGraph::HORIZONTAL;
- $chart->background->position = ezcGraph::BOTTOM;
-
- $chart->driver = new ezcGraphSvgDriver();
- $chart->renderer = new ezcGraphRenderer3d();
- $chart->render( 500, 200, $filename );
-
- $this->compare(
- $filename,
- $this->basePath . 'compare/' . __CLASS__ . '_' . __FUNCTION__ . '.svg'
- );
- }
-
public function testRenderPieChartWithOffset()
{
$filename = $this->tempDir . __FUNCTION__ . '.svg';
OpenPOWER on IntegriCloud