summaryrefslogtreecommitdiffstats
path: root/tests/labeled_axis_test.php
diff options
context:
space:
mode:
authorSebastian Bergmann <sb@sebastian-bergmann.de>2007-07-02 10:02:22 +0000
committerSebastian Bergmann <sb@sebastian-bergmann.de>2007-07-02 10:02:22 +0000
commit31fd34c1c1f5d03c9eddac0683c45df8c06db6e0 (patch)
tree2b7a14813636000127c7a71c51727f8235247bef /tests/labeled_axis_test.php
parent7af2cca9ba5b3ab1e71bad2fd52b902ae111265d (diff)
downloadzetacomponents-graph-31fd34c1c1f5d03c9eddac0683c45df8c06db6e0.zip
zetacomponents-graph-31fd34c1c1f5d03c9eddac0683c45df8c06db6e0.tar.gz
- PHPUnit 3.1 Migration
- Migrate PHPUnit_Framework_Assert::getAttribute() to PHPUnit_Framework_Assert::readAttribute(). - Use PHPUnit_Framework_TestCase::setLocale(). - Populate code coverage whitelist from autoload arrays. - Remove ezcTestRunner::addFileToFilter(). # PHPUnit 3.1 is now required.
Diffstat (limited to 'tests/labeled_axis_test.php')
-rw-r--r--tests/labeled_axis_test.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/labeled_axis_test.php b/tests/labeled_axis_test.php
index 8d8bf86..d376c22 100644
--- a/tests/labeled_axis_test.php
+++ b/tests/labeled_axis_test.php
@@ -66,7 +66,7 @@ class ezcGraphLabeledAxisTest extends ezcGraphTestCase
'2002',
'2003',
),
- $this->getAttribute( $chart->xAxis, 'labels' )
+ $this->readAttribute( $chart->xAxis, 'labels' )
);
}
@@ -86,7 +86,7 @@ class ezcGraphLabeledAxisTest extends ezcGraphTestCase
'2004',
'2005',
),
- $this->getAttribute( $chart->xAxis, 'labels' )
+ $this->readAttribute( $chart->xAxis, 'labels' )
);
}
@@ -99,7 +99,7 @@ class ezcGraphLabeledAxisTest extends ezcGraphTestCase
$this->assertEquals(
array( 0, 1, 2, 3, 4, 5, 6, 7, 8 ),
- $this->getAttribute( $chart->xAxis, 'labels' )
+ $this->readAttribute( $chart->xAxis, 'labels' )
);
}
@@ -120,7 +120,7 @@ class ezcGraphLabeledAxisTest extends ezcGraphTestCase
'2005',
'2006',
),
- $this->getAttribute( $chart->xAxis, 'labels' )
+ $this->readAttribute( $chart->xAxis, 'labels' )
);
}
@@ -313,7 +313,7 @@ class ezcGraphLabeledAxisTest extends ezcGraphTestCase
2018,
2021,
),
- $this->getAttribute( $chart->xAxis, 'displayedLabels' )
+ $this->readAttribute( $chart->xAxis, 'displayedLabels' )
);
}
@@ -347,7 +347,7 @@ class ezcGraphLabeledAxisTest extends ezcGraphTestCase
2027,
2030,
),
- $this->getAttribute( $chart->xAxis, 'displayedLabels' )
+ $this->readAttribute( $chart->xAxis, 'displayedLabels' )
);
}
@@ -380,7 +380,7 @@ class ezcGraphLabeledAxisTest extends ezcGraphTestCase
2028,
2031,
),
- $this->getAttribute( $chart->xAxis, 'displayedLabels' )
+ $this->readAttribute( $chart->xAxis, 'displayedLabels' )
);
}
@@ -408,7 +408,7 @@ class ezcGraphLabeledAxisTest extends ezcGraphTestCase
2123,
2164,
),
- $this->getAttribute( $chart->xAxis, 'displayedLabels' )
+ $this->readAttribute( $chart->xAxis, 'displayedLabels' )
);
}
OpenPOWER on IntegriCloud