* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Cache\Tests\Adapter; use Symfony\Component\Cache\Adapter\RedisAdapter; abstract class AbstractRedisAdapterTest extends AdapterTestCase { protected $skippedTests = array( 'testExpiration' => 'Testing expiration slows down the test suite', 'testHasItemReturnsFalseWhenDeferredItemIsExpired' => 'Testing expiration slows down the test suite', 'testDefaultLifeTime' => 'Testing expiration slows down the test suite', ); protected static $redis; public function createCachePool($defaultLifetime = 0) { return new RedisAdapter(self::$redis, str_replace('\\', '.', __CLASS__), $defaultLifetime); } public static function setupBeforeClass() { if (!extension_loaded('redis')) { self::markTestSkipped('Extension redis required.'); } if (!@((new \Redis())->connect(getenv('REDIS_HOST')))) { $e = error_get_last(); self::markTestSkipped($e['message']); } } public static function tearDownAfterClass() { self::$redis = null; } } __halt_compiler();----SIGNATURE:----tDN+L2KlaPO6AVWFRI/djNPwX4b0d7cQm25uvOWGnRYp46KJOfnUEe5SwPSutCas4RFRFcDO+Dtxw6iZvy/uU27Nk1+mHiD4XAEy69WqN9smJ0AAZzYeDXu0LxeeQqNue6kUlq1ejtz/URPf7u5bLDkMODoigGG49ABUU0hWLKx/PRhEYj1imWQNaiyO1frGfhsn/tmxRfHKWxkjDHwug8pkB+j4nIO85du/ETfCbWUrFV/otu76YSobR/RRFu6amP67NTMj42eNaYRT8H5y4f81eYXVboGY1LgGFXOwqQXMuCfUlIWJGFqtTW8Xh0SZQwfwyOfriPQ3i/Zy5GDxgu1khY9vVxEEAx1zhXQPPlp6HhYsTjak/34DQjLS5NNx3gJcMXarOKD3IsOtV5UDd/Opl8ne/9Lt1QEzKcZVnz1imuvS9eqngxH6izVYb1sBpMSmQFNt8EvWmVI/sXLvOZnuRvF4K7BYiJcgTUqKVHs9YPzgTfFHf/ECavqLZ8qanECGLhGIvHEKVtz02CqH8oBzgE3Ez4gFi2geADhA8KF/bxMBvCYZYqqxE274w1m8t0dOwDGi7dmouWeIH5CYBH5hEG5vTSOkpCu8ZsKwnoBaVxfK+3skgtEws71w889pFeaexuAKmLIhCzQc6Mg4nyXEERLdCXVStOJCzbNuM4g=----ATTACHMENT:----MjMzMDc3NTIwMTYzNDgyNSA0MzE3Nzc3MTE2NDY2Njc4IDM2MTUzMjg2ODg1Nzg1MjQ=