summaryrefslogtreecommitdiffstats
path: root/tests/driver_gd_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/driver_gd_test.php
parent9dbf37fe5bdb18faae066f8ded2fa10c93343b81 (diff)
downloadzetacomponents-graph-32b94070bd2bc02d9d937982e2785a6c33854b2b.zip
zetacomponents-graph-32b94070bd2bc02d9d937982e2785a6c33854b2b.tar.gz
Clean up setUp() and tearDown().
Diffstat (limited to 'tests/driver_gd_test.php')
-rw-r--r--tests/driver_gd_test.php15
1 files changed, 2 insertions, 13 deletions
diff --git a/tests/driver_gd_test.php b/tests/driver_gd_test.php
index 562668e..45c0382 100644
--- a/tests/driver_gd_test.php
+++ b/tests/driver_gd_test.php
@@ -17,7 +17,6 @@
*/
class ezcGraphGdDriverTest extends ezcImageTestCase
{
-
protected $driver;
protected $tempDir;
@@ -34,12 +33,7 @@ class ezcGraphGdDriverTest extends ezcImageTestCase
return new ezcTestSuite( "ezcGraphGdDriverTest" );
}
- /**
- * setUp
- *
- * @access public
- */
- public function setUp()
+ protected function setUp()
{
if ( !ezcBaseFeatures::hasExtensionSupport( 'gd' ) &&
( ezcBaseFeatures::hasFunction( 'imagefttext' ) || ezcBaseFeatures::hasFunction( 'imagettftext' ) ) )
@@ -58,12 +52,7 @@ class ezcGraphGdDriverTest extends ezcImageTestCase
$this->driver->options->supersampling = 1;
}
- /**
- * tearDown
- *
- * @access public
- */
- public function tearDown()
+ protected function tearDown()
{
unset( $this->driver );
if ( !$this->hasFailed() )
OpenPOWER on IntegriCloud