示例#1
0
 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);
 }
示例#2
0
 public function tearDown()
 {
     WURFL_FileUtils::rmdir($this->persistenceDir);
 }
 /**
  * Clears the persistence provider by removing the directory 
  *
  */
 public function clear()
 {
     WURFL_FileUtils::rmdir($this->_persistenceDir);
 }
示例#4
0
 public function tearDown()
 {
     WURFL_FileUtils::rmdir($this->cacheDir());
 }