summaryrefslogtreecommitdiffstats
path: root/tests/chart_test.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-05-19 15:26:29 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-05-19 15:26:29 +0000
commit8231d5da5ceadd3f04cc52d526a838da09e034c2 (patch)
tree3fd0318d204889da496aa7265192318786ea0c70 /tests/chart_test.php
parent559f33a133a5b7d3f19afcd618fbc2e8e9ec3ade (diff)
downloadzetacomponents-graph-8231d5da5ceadd3f04cc52d526a838da09e034c2.zip
zetacomponents-graph-8231d5da5ceadd3f04cc52d526a838da09e034c2.tar.gz
- Refactored rendering methods
- Refactored chart title to be a chartelement
Diffstat (limited to 'tests/chart_test.php')
-rw-r--r--tests/chart_test.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/chart_test.php b/tests/chart_test.php
index b59a739..e19be7e 100644
--- a/tests/chart_test.php
+++ b/tests/chart_test.php
@@ -63,7 +63,11 @@ class ezcGraphChartTest extends ezcTestCase
$this->assertSame(
'Test title',
- $this->getNonPublicProperty( $pieChart, 'title' )
+ $pieChart->title->title
+ );
+
+ $this->assertTrue(
+ $pieChart->title instanceof ezcGraphChartElementText
);
}
OpenPOWER on IntegriCloud