diff options
author | Sebastian Bergmann <sb@sebastian-bergmann.de> | 2006-09-14 09:58:33 +0000 |
---|---|---|
committer | Sebastian Bergmann <sb@sebastian-bergmann.de> | 2006-09-14 09:58:33 +0000 |
commit | 32b94070bd2bc02d9d937982e2785a6c33854b2b (patch) | |
tree | eb2fc5df366ab34577dcc3d87f22d58d650ac3d6 /tests/image_map_test.php | |
parent | 9dbf37fe5bdb18faae066f8ded2fa10c93343b81 (diff) | |
download | zetacomponents-graph-32b94070bd2bc02d9d937982e2785a6c33854b2b.zip zetacomponents-graph-32b94070bd2bc02d9d937982e2785a6c33854b2b.tar.gz |
Clean up setUp() and tearDown().
Diffstat (limited to 'tests/image_map_test.php')
-rw-r--r-- | tests/image_map_test.php | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/tests/image_map_test.php b/tests/image_map_test.php index 4589aa0..7c01d29 100644 --- a/tests/image_map_test.php +++ b/tests/image_map_test.php @@ -17,7 +17,6 @@ */ class ezcGraphImageMapTest extends ezcTestCase { - protected $basePath; protected $tempDir; @@ -31,24 +30,14 @@ class ezcGraphImageMapTest extends ezcTestCase return new ezcTestSuite( "ezcGraphImageMapTest" ); } - /** - * setUp - * - * @access public - */ - public function setUp() + protected function setUp() { static $i = 0; $this->tempDir = $this->createTempDir( __CLASS__ . sprintf( '_%03d_', ++$i ) ) . '/'; $this->basePath = dirname( __FILE__ ) . '/data/'; } - /** - * tearDown - * - * @access public - */ - public function tearDown() + protected function tearDown() { if ( !$this->hasFailed() ) { |