summaryrefslogtreecommitdiffstats
path: root/tests/text_test.php
diff options
context:
space:
mode:
authorSebastian Bergmann <sb@sebastian-bergmann.de>2006-09-14 09:58:33 +0000
committerSebastian Bergmann <sb@sebastian-bergmann.de>2006-09-14 09:58:33 +0000
commit32b94070bd2bc02d9d937982e2785a6c33854b2b (patch)
treeeb2fc5df366ab34577dcc3d87f22d58d650ac3d6 /tests/text_test.php
parent9dbf37fe5bdb18faae066f8ded2fa10c93343b81 (diff)
downloadzetacomponents-graph-32b94070bd2bc02d9d937982e2785a6c33854b2b.zip
zetacomponents-graph-32b94070bd2bc02d9d937982e2785a6c33854b2b.tar.gz
Clean up setUp() and tearDown().
Diffstat (limited to 'tests/text_test.php')
-rw-r--r--tests/text_test.php19
1 files changed, 2 insertions, 17 deletions
diff --git a/tests/text_test.php b/tests/text_test.php
index 1e2125c..8ce3a66 100644
--- a/tests/text_test.php
+++ b/tests/text_test.php
@@ -17,34 +17,19 @@
*/
class ezcGraphTextTest extends ezcTestCase
{
-
public static function suite()
{
return new ezcTestSuite( "ezcGraphTextTest" );
}
- /**
- * setUp
- *
- * @access public
- */
- public function setUp()
+ protected function setUp()
{
if ( version_compare( phpversion(), '5.1.3', '<' ) )
{
- $this->markTestSkipped( "These tests required atleast PHP 5.1.3" );
+ $this->markTestSkipped( "This test requires PHP 5.1.3 or later." );
}
}
- /**
- * tearDown
- *
- * @access public
- */
- public function tearDown()
- {
- }
-
public function testRenderTextTop()
{
$chart = new ezcGraphLineChart();
OpenPOWER on IntegriCloud