You are here

protected function ApdqcCacheTestCase::generalWipe in Asynchronous Prefetch Database Query Cache 7

Perform the general wipe.

Parameters

string $bin: The bin to perform the wipe on.

File

./apdqc.test, line 107
Tests for the Asynchronous Prefetch Database Query Cache module.

Class

ApdqcCacheTestCase
Add new functionality to DrupalWebTestCase.

Code

protected function generalWipe($bin = NULL) {
  if ($bin == NULL) {
    $bin = $this->defaultBin;
  }
  $cache = new APDQCache($bin);
  $cache
    ->clear();
}