123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164 |
- <?php
- /*
- * This file is part of the Predis package.
- *
- * (c) Daniele Alessandri <suppakilla@gmail.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
- namespace Predis\Profile;
- /**
- *
- */
- class RedisVersion240Test extends PredisProfileTestCase
- {
- /**
- * {@inheritdoc}
- */
- public function getProfile($version = null)
- {
- return new RedisVersion240();
- }
- /**
- * {@inheritdoc}
- */
- public function getExpectedVersion()
- {
- return '2.4';
- }
- /**
- * {@inheritdoc}
- */
- public function getExpectedCommands()
- {
- return array(
- 0 => 'EXISTS',
- 1 => 'DEL',
- 2 => 'TYPE',
- 3 => 'KEYS',
- 4 => 'RANDOMKEY',
- 5 => 'RENAME',
- 6 => 'RENAMENX',
- 7 => 'EXPIRE',
- 8 => 'EXPIREAT',
- 9 => 'TTL',
- 10 => 'MOVE',
- 11 => 'SORT',
- 12 => 'SET',
- 13 => 'SETNX',
- 14 => 'MSET',
- 15 => 'MSETNX',
- 16 => 'GET',
- 17 => 'MGET',
- 18 => 'GETSET',
- 19 => 'INCR',
- 20 => 'INCRBY',
- 21 => 'DECR',
- 22 => 'DECRBY',
- 23 => 'RPUSH',
- 24 => 'LPUSH',
- 25 => 'LLEN',
- 26 => 'LRANGE',
- 27 => 'LTRIM',
- 28 => 'LINDEX',
- 29 => 'LSET',
- 30 => 'LREM',
- 31 => 'LPOP',
- 32 => 'RPOP',
- 33 => 'RPOPLPUSH',
- 34 => 'SADD',
- 35 => 'SREM',
- 36 => 'SPOP',
- 37 => 'SMOVE',
- 38 => 'SCARD',
- 39 => 'SISMEMBER',
- 40 => 'SINTER',
- 41 => 'SINTERSTORE',
- 42 => 'SUNION',
- 43 => 'SUNIONSTORE',
- 44 => 'SDIFF',
- 45 => 'SDIFFSTORE',
- 46 => 'SMEMBERS',
- 47 => 'SRANDMEMBER',
- 48 => 'ZADD',
- 49 => 'ZINCRBY',
- 50 => 'ZREM',
- 51 => 'ZRANGE',
- 52 => 'ZREVRANGE',
- 53 => 'ZRANGEBYSCORE',
- 54 => 'ZCARD',
- 55 => 'ZSCORE',
- 56 => 'ZREMRANGEBYSCORE',
- 57 => 'PING',
- 58 => 'AUTH',
- 59 => 'SELECT',
- 60 => 'ECHO',
- 61 => 'QUIT',
- 62 => 'INFO',
- 63 => 'SLAVEOF',
- 64 => 'MONITOR',
- 65 => 'DBSIZE',
- 66 => 'FLUSHDB',
- 67 => 'FLUSHALL',
- 68 => 'SAVE',
- 69 => 'BGSAVE',
- 70 => 'LASTSAVE',
- 71 => 'SHUTDOWN',
- 72 => 'BGREWRITEAOF',
- 73 => 'SETEX',
- 74 => 'APPEND',
- 75 => 'SUBSTR',
- 76 => 'BLPOP',
- 77 => 'BRPOP',
- 78 => 'ZUNIONSTORE',
- 79 => 'ZINTERSTORE',
- 80 => 'ZCOUNT',
- 81 => 'ZRANK',
- 82 => 'ZREVRANK',
- 83 => 'ZREMRANGEBYRANK',
- 84 => 'HSET',
- 85 => 'HSETNX',
- 86 => 'HMSET',
- 87 => 'HINCRBY',
- 88 => 'HGET',
- 89 => 'HMGET',
- 90 => 'HDEL',
- 91 => 'HEXISTS',
- 92 => 'HLEN',
- 93 => 'HKEYS',
- 94 => 'HVALS',
- 95 => 'HGETALL',
- 96 => 'MULTI',
- 97 => 'EXEC',
- 98 => 'DISCARD',
- 99 => 'SUBSCRIBE',
- 100 => 'UNSUBSCRIBE',
- 101 => 'PSUBSCRIBE',
- 102 => 'PUNSUBSCRIBE',
- 103 => 'PUBLISH',
- 104 => 'CONFIG',
- 105 => 'PERSIST',
- 106 => 'STRLEN',
- 107 => 'SETRANGE',
- 108 => 'GETRANGE',
- 109 => 'SETBIT',
- 110 => 'GETBIT',
- 111 => 'RPUSHX',
- 112 => 'LPUSHX',
- 113 => 'LINSERT',
- 114 => 'BRPOPLPUSH',
- 115 => 'ZREVRANGEBYSCORE',
- 116 => 'WATCH',
- 117 => 'UNWATCH',
- 118 => 'OBJECT',
- 119 => 'SLOWLOG',
- 120 => 'CLIENT',
- );
- }
- }
|