%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/news/vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/
Upload File :
Create Path :
Current File : /var/www/html/news/vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/ApcuCacheTest.php

<?php

namespace Doctrine\Tests\Common\Cache;

use Doctrine\Common\Cache\ApcuCache;

/**
 * @requires extension apcu
 */
class ApcuCacheTest extends CacheTest
{
    protected function setUp()
    {
        if (!ini_get('apc.enable_cli')) {
            $this->markTestSkipped('APC must be enabled for the CLI with the ini setting apc.enable_cli=1');
        }
    }

    protected function _getCacheDriver()
    {
        return new ApcuCache();
    }

    public function testLifetime()
    {
        $this->markTestSkipped('The APC cache TTL is not working in a single process/request. See https://bugs.php.net/bug.php?id=58084');
    }
}

Zerion Mini Shell 1.0