示例#1
0
 public function tearDown()
 {
     /* Tear Down Routine */
     chmod($this->_path, 0700);
     if (!@unlink($this->_file)) {
         throw new Exception('Error deleting file "' . $this->_file . '".');
     }
     helper::rmdir($this->_path);
 }
示例#2
0
 public function tearDown()
 {
     /* Tear Down Routine */
     if ($this->_dataDirCreated) {
         helper::rmdir($this->_path);
     } else {
         if (!@unlink($this->_file)) {
             throw new Exception('Error deleting file "' . $this->_file . '".');
         }
     }
 }
示例#3
0
 public function tearDown()
 {
     /* Tear Down Routine */
     helper::rmdir($this->_path . DIRECTORY_SEPARATOR);
 }
示例#4
0
 public function tearDown()
 {
     /* Tear Down Routine */
     helper::rmdir(PATH . 'tmp');
 }
示例#5
0
 public function tearDown()
 {
     /* Tear Down Routine */
     helper::rmdir($this->_path);
 }
示例#6
0
 public function tearDown()
 {
     /* Tear Down Routine */
     chmod($this->_invalidPath, 0700);
     helper::rmdir($this->_path);
 }