You are here

protected function MemcacheTestCase::generalWipe in Memcache API and Integration 7

Same name in this branch
  1. 7 tests/memcache.test \MemcacheTestCase::generalWipe()
  2. 7 tests/memcache6.test \MemcacheTestCase::generalWipe()
Same name and namespace in other branches
  1. 6 tests/memcache.test \MemcacheTestCase::generalWipe()

Perform the general wipe.

Parameters

string $bin: Defaults to $this->default_bin. The bin to perform the wipe on.

File

tests/memcache.test, line 228
Test cases for the memcache cache backend.

Class

MemcacheTestCase
@file Test cases for the memcache cache backend.

Code

protected function generalWipe($bin = NULL) {
  if ($bin == NULL) {
    $bin = $this->default_bin;
  }
  cache_clear_all(NULL, $bin);
}