You are here

PhpRedisLockingUnitTestCase.test in Redis 7.3

Same filename and directory in other branches
  1. 7.2 lib/Redis/Tests/Lock/PhpRedisLockingUnitTestCase.test

File

lib/Redis/Tests/Lock/PhpRedisLockingUnitTestCase.test
View source
<?php

if (!class_exists('Redis_Tests_Lock_LockingUnitTestCase')) {
  require_once __DIR__ . '/LockingUnitTestCase.php';
}
class Redis_Tests_Lock_PhpRedisLockingUnitTestCase extends Redis_Tests_Lock_LockingUnitTestCase {
  public static function getInfo() {
    return array(
      'name' => 'PhpRedis Redis locking',
      'description' => 'Ensure that Redis locking feature is working OK.',
      'group' => 'Redis',
    );
  }
  protected function getLockBackendClass() {
    return 'Redis_Lock_PhpRedis';
  }
  protected function getClientInterface() {
    return 'PhpRedis';
  }

}