public function testShouldTryToCreateTheStorage() { $cachepath = $this->realpath(self::STORAGE_DIR . "/cache"); $params = array("dir" => $cachepath); new WURFL_Storage_File($params); $this->assertStorageDirectoryIsCreated($cachepath); WURFL_FileUtils::rmdir($cachepath); }
public function tearDown() { WURFL_FileUtils::rmdir($this->persistenceDir); }
/** * Clears the persistence provider by removing the directory * */ public function clear() { WURFL_FileUtils::rmdir($this->_persistenceDir); }
public function tearDown() { WURFL_FileUtils::rmdir($this->cacheDir()); }