public function test_startup() { \Sledgehammer\mkdirs(\Sledgehammer\TMP_DIR . 'Cache'); $cache = Cache::rootNode(); $this->assertInstanceOf(Cache::class, $cache); $this->apcSupported = function_exists('apc_fetch'); if ($this->apcSupported === false) { $this->markTestSkipped('Skipping tests for "apc" backend, the php-extension "apc" is not installed.'); } }
public function __construct($identifier, $backend) { parent::__construct($identifier, $backend); }