From 32b94070bd2bc02d9d937982e2785a6c33854b2b Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Thu, 14 Sep 2006 09:58:33 +0000 Subject: Clean up setUp() and tearDown(). --- tests/pie_test.php | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'tests/pie_test.php') diff --git a/tests/pie_test.php b/tests/pie_test.php index 0095415..6a37631 100644 --- a/tests/pie_test.php +++ b/tests/pie_test.php @@ -17,7 +17,6 @@ */ class ezcGraphPieChartTest extends ezcImageTestCase { - protected $basePath; protected $tempDir; @@ -27,12 +26,7 @@ class ezcGraphPieChartTest extends ezcImageTestCase return new ezcTestSuite( "ezcGraphPieChartTest" ); } - /** - * setUp - * - * @access public - */ - public function setUp() + protected function setUp() { static $i = 0; if ( version_compare( phpversion(), '5.1.3', '<' ) ) @@ -43,12 +37,7 @@ class ezcGraphPieChartTest extends ezcImageTestCase $this->basePath = dirname( __FILE__ ) . '/data/'; } - /** - * tearDown - * - * @access public - */ - public function tearDown() + protected function tearDown() { $this->removeTempDir(); } -- cgit v1.1