summaryrefslogtreecommitdiffstats
path: root/tests/renderer_2d_test.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2007-01-24 10:45:35 +0000
committerKore Nordmann <github@kore-nordmann.de>2007-01-24 10:45:35 +0000
commit937d04f2094624af45c0241bc75f3cbef4182c70 (patch)
tree86dd6071468f1b3e63a37e4a58228decb2e2464c /tests/renderer_2d_test.php
parent16bdb8776708f401d085c29222a88a2ae7667ced (diff)
downloadzetacomponents-graph-937d04f2094624af45c0241bc75f3cbef4182c70.zip
zetacomponents-graph-937d04f2094624af45c0241bc75f3cbef4182c70.tar.gz
- Fixed issue #10056: Fixed drawing order for boxes with background and border
# SVG element order changed without visual difference in comparision images # Mind, that bug #9765 hast severe effect for big borders
Diffstat (limited to 'tests/renderer_2d_test.php')
-rw-r--r--tests/renderer_2d_test.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/renderer_2d_test.php b/tests/renderer_2d_test.php
index f48de8c..83e53d5 100644
--- a/tests/renderer_2d_test.php
+++ b/tests/renderer_2d_test.php
@@ -692,7 +692,7 @@ class ezcGraphRenderer2dTest extends ezcGraphTestCase
public function testRenderBox()
{
$this->driver
- ->expects( $this->at( 0 ) )
+ ->expects( $this->at( 1 ) )
->method( 'drawPolygon' )
->with(
$this->equalTo( array(
@@ -705,7 +705,7 @@ class ezcGraphRenderer2dTest extends ezcGraphTestCase
$this->equalTo( false )
);
$this->driver
- ->expects( $this->at( 1 ) )
+ ->expects( $this->at( 0 ) )
->method( 'drawPolygon' )
->with(
$this->equalTo( array(
@@ -738,7 +738,7 @@ class ezcGraphRenderer2dTest extends ezcGraphTestCase
public function testRenderBoxDifferentPadding()
{
$this->driver
- ->expects( $this->at( 0 ) )
+ ->expects( $this->at( 1 ) )
->method( 'drawPolygon' )
->with(
$this->equalTo( array(
@@ -751,14 +751,14 @@ class ezcGraphRenderer2dTest extends ezcGraphTestCase
$this->equalTo( false )
);
$this->driver
- ->expects( $this->at( 1 ) )
+ ->expects( $this->at( 0 ) )
->method( 'drawPolygon' )
->with(
$this->equalTo( array(
- new ezcGraphCoordinate( 5., 5. ),
- new ezcGraphCoordinate( 395., 5. ),
- new ezcGraphCoordinate( 395., 195. ),
- new ezcGraphCoordinate( 5., 195. ),
+ new ezcGraphCoordinate( 3., 3. ),
+ new ezcGraphCoordinate( 397., 3. ),
+ new ezcGraphCoordinate( 397., 197. ),
+ new ezcGraphCoordinate( 3., 197. ),
), 1. ),
$this->equalTo( ezcGraphColor::fromHex( '#BB0000' ) ),
$this->equalTo( true )
@@ -850,7 +850,7 @@ class ezcGraphRenderer2dTest extends ezcGraphTestCase
public function testRenderBoxWithTitle()
{
$this->driver
- ->expects( $this->at( 0 ) )
+ ->expects( $this->at( 1 ) )
->method( 'drawPolygon' )
->with(
$this->equalTo( array(
@@ -863,7 +863,7 @@ class ezcGraphRenderer2dTest extends ezcGraphTestCase
$this->equalTo( false )
);
$this->driver
- ->expects( $this->at( 1 ) )
+ ->expects( $this->at( 0 ) )
->method( 'drawPolygon' )
->with(
$this->equalTo( array(
@@ -908,7 +908,7 @@ class ezcGraphRenderer2dTest extends ezcGraphTestCase
public function testRenderBoxWithBottomTitleAndLeftAlignement()
{
$this->driver
- ->expects( $this->at( 0 ) )
+ ->expects( $this->at( 1 ) )
->method( 'drawPolygon' )
->with(
$this->equalTo( array(
@@ -921,7 +921,7 @@ class ezcGraphRenderer2dTest extends ezcGraphTestCase
$this->equalTo( false )
);
$this->driver
- ->expects( $this->at( 1 ) )
+ ->expects( $this->at( 0 ) )
->method( 'drawPolygon' )
->with(
$this->equalTo( array(
OpenPOWER on IntegriCloud