summaryrefslogtreecommitdiffstats
path: root/tests/text_test.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-08-07 08:17:12 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-08-07 08:17:12 +0000
commit0c80b0f8ebf6c47237c9c99ea9f54248f1223df6 (patch)
tree54b87304e021327b7d00022a892f5cbcab00546c /tests/text_test.php
parentb31a0055fe42a14356400ebe6d7a8e5bebb26240 (diff)
downloadzetacomponents-graph-0c80b0f8ebf6c47237c9c99ea9f54248f1223df6.zip
zetacomponents-graph-0c80b0f8ebf6c47237c9c99ea9f54248f1223df6.tar.gz
- Removed factory methods and replaced them with direct class instantiation.
Diffstat (limited to 'tests/text_test.php')
-rw-r--r--tests/text_test.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/text_test.php b/tests/text_test.php
index de303b8..74ec76c 100644
--- a/tests/text_test.php
+++ b/tests/text_test.php
@@ -43,7 +43,7 @@ class ezcGraphTextTest extends ezcTestCase
public function testRenderTextTop()
{
- $chart = ezcGraph::create( 'Line' );
+ $chart = new ezcGraphLineChart();
$chart['sample'] = array( 'foo' => 1, 'bar' => 10 );
$chart->title = 'Title of a chart';
@@ -69,7 +69,7 @@ class ezcGraphTextTest extends ezcTestCase
public function testRenderTextBottom()
{
- $chart = ezcGraph::create( 'Line' );
+ $chart = new ezcGraphLineChart();
$chart['sample'] = array( 'foo' => 1, 'bar' => 10 );
$chart->title = 'Title of a chart';
@@ -96,7 +96,7 @@ class ezcGraphTextTest extends ezcTestCase
public function testRenderTextTopMargin()
{
- $chart = ezcGraph::create( 'Line' );
+ $chart = new ezcGraphLineChart();
$chart['sample'] = array( 'foo' => 1, 'bar' => 10 );
$chart->title = 'Title of a chart';
OpenPOWER on IntegriCloud