예제 #1
0
 /**
  * tests Clearing the cache
  */
 public function testClear()
 {
     $params = array('dir' => 'abc');
     $this->root->save('Test', $params);
     $this->root->clear();
     self::assertNull($this->root->load('Test'));
 }
예제 #2
0
 public static function tearDownAfterClass()
 {
     self::$persistenceStorage->clear();
 }
예제 #3
0
 /**
  * Clears the devices from the persistence provider
  *
  * @see WURFL_Storage_Base::clear()
  */
 private function clean()
 {
     $this->persistenceProvider->clear();
 }