コード例 #1
0
ファイル: ImageConvertTest.php プロジェクト: noelg/pdepend
 /**
  * Removes temporary output files.
  *
  * @return void
  */
 protected function tearDown()
 {
     if (file_exists($this->_out)) {
         unlink($this->_out);
     }
     parent::tearDown();
 }
コード例 #2
0
ファイル: XmlTest.php プロジェクト: rouffj/pdepend
 /**
  * Removes the temporary log files.
  *
  * @return void
  */
 protected function tearDown()
 {
     @unlink($this->resultFile);
     parent::tearDown();
 }
コード例 #3
0
ファイル: FactoryTest.php プロジェクト: kingsj/core
 /**
  * Restores the original working directory.
  *
  * @return void
  */
 protected function tearDown()
 {
     chdir($this->workingDir);
     parent::tearDown();
 }
コード例 #4
0
ファイル: AutoloadTest.php プロジェクト: KingNoosh/Teknik
 /**
  * Restores the original include path.
  *
  * @return void
  */
 protected function tearDown()
 {
     set_include_path($this->includePath);
     foreach (spl_autoload_functions() as $callback) {
         if (is_array($callback) && $callback[0] instanceof PHP_Depend_Autoload) {
             spl_autoload_unregister($callback);
         }
     }
     parent::tearDown();
 }
コード例 #5
0
ファイル: XmlTest.php プロジェクト: noelg/pdepend
 /**
  * Removes the temporary log files.
  *
  * @return void
  */
 protected function tearDown()
 {
     // Clear filter collection
     $collection = PHP_Depend_Code_Filter_Collection::getInstance();
     $collection->clear();
     @unlink($this->resultFile);
     parent::tearDown();
 }