RedisUnstableTest.php 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. <?php
  2. /*
  3. * This file is part of the Predis package.
  4. *
  5. * (c) Daniele Alessandri <suppakilla@gmail.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Predis\Profile;
  11. /**
  12. *
  13. */
  14. class RedisUnstableTest extends PredisProfileTestCase
  15. {
  16. /**
  17. * {@inheritdoc}
  18. */
  19. public function getProfile($version = null)
  20. {
  21. return new RedisUnstable();
  22. }
  23. /**
  24. * {@inheritdoc}
  25. */
  26. public function getExpectedVersion()
  27. {
  28. return '3.2';
  29. }
  30. /**
  31. * {@inheritdoc}
  32. */
  33. public function getExpectedCommands()
  34. {
  35. return array(
  36. 0 => 'EXISTS',
  37. 1 => 'DEL',
  38. 2 => 'TYPE',
  39. 3 => 'KEYS',
  40. 4 => 'RANDOMKEY',
  41. 5 => 'RENAME',
  42. 6 => 'RENAMENX',
  43. 7 => 'EXPIRE',
  44. 8 => 'EXPIREAT',
  45. 9 => 'TTL',
  46. 10 => 'MOVE',
  47. 11 => 'SORT',
  48. 12 => 'DUMP',
  49. 13 => 'RESTORE',
  50. 14 => 'SET',
  51. 15 => 'SETNX',
  52. 16 => 'MSET',
  53. 17 => 'MSETNX',
  54. 18 => 'GET',
  55. 19 => 'MGET',
  56. 20 => 'GETSET',
  57. 21 => 'INCR',
  58. 22 => 'INCRBY',
  59. 23 => 'DECR',
  60. 24 => 'DECRBY',
  61. 25 => 'RPUSH',
  62. 26 => 'LPUSH',
  63. 27 => 'LLEN',
  64. 28 => 'LRANGE',
  65. 29 => 'LTRIM',
  66. 30 => 'LINDEX',
  67. 31 => 'LSET',
  68. 32 => 'LREM',
  69. 33 => 'LPOP',
  70. 34 => 'RPOP',
  71. 35 => 'RPOPLPUSH',
  72. 36 => 'SADD',
  73. 37 => 'SREM',
  74. 38 => 'SPOP',
  75. 39 => 'SMOVE',
  76. 40 => 'SCARD',
  77. 41 => 'SISMEMBER',
  78. 42 => 'SINTER',
  79. 43 => 'SINTERSTORE',
  80. 44 => 'SUNION',
  81. 45 => 'SUNIONSTORE',
  82. 46 => 'SDIFF',
  83. 47 => 'SDIFFSTORE',
  84. 48 => 'SMEMBERS',
  85. 49 => 'SRANDMEMBER',
  86. 50 => 'ZADD',
  87. 51 => 'ZINCRBY',
  88. 52 => 'ZREM',
  89. 53 => 'ZRANGE',
  90. 54 => 'ZREVRANGE',
  91. 55 => 'ZRANGEBYSCORE',
  92. 56 => 'ZCARD',
  93. 57 => 'ZSCORE',
  94. 58 => 'ZREMRANGEBYSCORE',
  95. 59 => 'PING',
  96. 60 => 'AUTH',
  97. 61 => 'SELECT',
  98. 62 => 'ECHO',
  99. 63 => 'QUIT',
  100. 64 => 'INFO',
  101. 65 => 'SLAVEOF',
  102. 66 => 'MONITOR',
  103. 67 => 'DBSIZE',
  104. 68 => 'FLUSHDB',
  105. 69 => 'FLUSHALL',
  106. 70 => 'SAVE',
  107. 71 => 'BGSAVE',
  108. 72 => 'LASTSAVE',
  109. 73 => 'SHUTDOWN',
  110. 74 => 'BGREWRITEAOF',
  111. 75 => 'SETEX',
  112. 76 => 'APPEND',
  113. 77 => 'SUBSTR',
  114. 78 => 'BLPOP',
  115. 79 => 'BRPOP',
  116. 80 => 'ZUNIONSTORE',
  117. 81 => 'ZINTERSTORE',
  118. 82 => 'ZCOUNT',
  119. 83 => 'ZRANK',
  120. 84 => 'ZREVRANK',
  121. 85 => 'ZREMRANGEBYRANK',
  122. 86 => 'HSET',
  123. 87 => 'HSETNX',
  124. 88 => 'HMSET',
  125. 89 => 'HINCRBY',
  126. 90 => 'HGET',
  127. 91 => 'HMGET',
  128. 92 => 'HDEL',
  129. 93 => 'HEXISTS',
  130. 94 => 'HLEN',
  131. 95 => 'HKEYS',
  132. 96 => 'HVALS',
  133. 97 => 'HGETALL',
  134. 98 => 'MULTI',
  135. 99 => 'EXEC',
  136. 100 => 'DISCARD',
  137. 101 => 'SUBSCRIBE',
  138. 102 => 'UNSUBSCRIBE',
  139. 103 => 'PSUBSCRIBE',
  140. 104 => 'PUNSUBSCRIBE',
  141. 105 => 'PUBLISH',
  142. 106 => 'CONFIG',
  143. 107 => 'PERSIST',
  144. 108 => 'STRLEN',
  145. 109 => 'SETRANGE',
  146. 110 => 'GETRANGE',
  147. 111 => 'SETBIT',
  148. 112 => 'GETBIT',
  149. 113 => 'RPUSHX',
  150. 114 => 'LPUSHX',
  151. 115 => 'LINSERT',
  152. 116 => 'BRPOPLPUSH',
  153. 117 => 'ZREVRANGEBYSCORE',
  154. 118 => 'WATCH',
  155. 119 => 'UNWATCH',
  156. 120 => 'OBJECT',
  157. 121 => 'SLOWLOG',
  158. 122 => 'CLIENT',
  159. 123 => 'PTTL',
  160. 124 => 'PEXPIRE',
  161. 125 => 'PEXPIREAT',
  162. 126 => 'MIGRATE',
  163. 127 => 'PSETEX',
  164. 128 => 'INCRBYFLOAT',
  165. 129 => 'BITOP',
  166. 130 => 'BITCOUNT',
  167. 131 => 'HINCRBYFLOAT',
  168. 132 => 'EVAL',
  169. 133 => 'EVALSHA',
  170. 134 => 'SCRIPT',
  171. 135 => 'TIME',
  172. 136 => 'SENTINEL',
  173. 137 => 'SCAN',
  174. 138 => 'BITPOS',
  175. 139 => 'SSCAN',
  176. 140 => 'ZSCAN',
  177. 141 => 'ZLEXCOUNT',
  178. 142 => 'ZRANGEBYLEX',
  179. 143 => 'ZREMRANGEBYLEX',
  180. 144 => 'ZREVRANGEBYLEX',
  181. 145 => 'HSCAN',
  182. 146 => 'PUBSUB',
  183. 147 => 'PFADD',
  184. 148 => 'PFCOUNT',
  185. 149 => 'PFMERGE',
  186. 150 => 'COMMAND',
  187. 151 => 'HSTRLEN',
  188. 152 => 'BITFIELD',
  189. 153 => 'GEOADD',
  190. 154 => 'GEOHASH',
  191. 155 => 'GEOPOS',
  192. 156 => 'GEODIST',
  193. 157 => 'GEORADIUS',
  194. 158 => 'GEORADIUSBYMEMBER',
  195. );
  196. }
  197. }