コード例 #1
0
 /**
  * Clears temporary test resources.
  *
  * @return void
  */
 protected function tearDown()
 {
     if ($this->_temp !== null && file_exists($this->_temp)) {
         unlink($this->_temp);
     }
     parent::tearDown();
 }
コード例 #2
0
ファイル: TokenizerTest.php プロジェクト: naderman/pflow
 /**
  * @return void
  */
 protected function setUp()
 {
     parent::setUp();
     $this->_fixture = new Tokenizer($this->_source);
 }
コード例 #3
0
 /**
  * @return void
  */
 protected function tearDown()
 {
     restore_include_path();
     parent::tearDown();
 }