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/dataset_average_test.php | |
parent | 9dbf37fe5bdb18faae066f8ded2fa10c93343b81 (diff) | |
download | zetacomponents-graph-32b94070bd2bc02d9d937982e2785a6c33854b2b.zip zetacomponents-graph-32b94070bd2bc02d9d937982e2785a6c33854b2b.tar.gz |
Clean up setUp() and tearDown().
Diffstat (limited to 'tests/dataset_average_test.php')
-rw-r--r-- | tests/dataset_average_test.php | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/tests/dataset_average_test.php b/tests/dataset_average_test.php index d0c05e9..8fbbe48 100644 --- a/tests/dataset_average_test.php +++ b/tests/dataset_average_test.php @@ -17,7 +17,6 @@ */ class ezcGraphDataSetAverageTest extends ezcTestCase { - protected $basePath; protected $tempDir; @@ -27,24 +26,14 @@ class ezcGraphDataSetAverageTest extends ezcTestCase return new ezcTestSuite( "ezcGraphDataSetAverageTest" ); } - /** - * 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() ) { |