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); }
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 . '".'); } } }
public function tearDown() { /* Tear Down Routine */ helper::rmdir($this->_path . DIRECTORY_SEPARATOR); }
public function tearDown() { /* Tear Down Routine */ helper::rmdir(PATH . 'tmp'); }
public function tearDown() { /* Tear Down Routine */ helper::rmdir($this->_path); }
public function tearDown() { /* Tear Down Routine */ chmod($this->_invalidPath, 0700); helper::rmdir($this->_path); }