Commit Graph

50 Commits

Author SHA1 Message Date
Daniele Alessandri 08afdfac1b Trying to increment a string value associated to an hash now raises an error. 2010-05-10 11:27:26 +02:00
Daniele Alessandri 0664bde7e9 Bugfix: replies to DEL commands must not be converted to a boolean response as DEL returns the number of keys removed. 2010-05-10 11:20:51 +02:00
Daniele Alessandri 2787905024 Test suite: updated tests for ZUNION and ZINTER with the new options style. 2010-04-27 21:54:37 +02:00
Daniele Alessandri 0d4426c052 Test suite: added HKEYS, HVALS, HGETALL. 2010-04-24 13:54:06 +02:00
Daniele Alessandri 08adcb478d Test suite: added HLEN. 2010-04-24 13:16:34 +02:00
Daniele Alessandri ead414c530 Test suite: added HDEL. 2010-04-24 13:09:05 +02:00
Daniele Alessandri 290e51877c Test suite: added HINCRBY. 2010-04-24 13:03:14 +02:00
Daniele Alessandri 7e61ac6f30 Test suite: added HEXISTS. 2010-04-24 12:45:34 +02:00
Daniele Alessandri 4f25e568cf Test suite: minor code formatting fix. 2010-04-24 12:42:37 +02:00
Daniele Alessandri 7f138dfcef Test suite: added HMSET and HMGET. 2010-04-24 11:59:30 +02:00
Daniele Alessandri 55404a2400 Test suite: added HSETNX. 2010-04-24 11:37:09 +02:00
Daniele Alessandri 69bce63453 Test suite: added HGET. 2010-04-24 11:33:48 +02:00
Daniele Alessandri c227eedbb7 Test suite: added HSET. 2010-04-24 11:24:55 +02:00
Daniele Alessandri 887fea87e5 Test suite: added ZREMRANGEBYRANK. 2010-04-24 11:12:35 +02:00
Daniele Alessandri 4b2400b570 Test suite: added ZINTER. 2010-04-24 10:26:34 +02:00
Daniele Alessandri a1c8568ccf Test suite: added ZUNION. 2010-04-24 10:21:29 +02:00
Daniele Alessandri fa039fe500 Test suite: renamed ZRANK test method. 2010-04-24 09:47:10 +02:00
Daniele Alessandri 9c587b6f1d Test suite: added ZREVRANK. 2010-04-24 09:46:32 +02:00
Daniele Alessandri 2f6b24c098 Test suite: added SETEX. 2010-04-24 09:37:54 +02:00
Daniele Alessandri ea75b168d1 Re-enabled the test for SORT in the test suite. 2010-04-17 20:12:39 +02:00
Daniele Alessandri 9fc0fbdb8c Converted the test suite to invoke commands on the client instance as they are defined in the command reference of Redis instead of using their aliases. 2010-04-17 19:50:24 +02:00
Daniele Alessandri 67a27a7f05 Fixed a bug in the test suite discovered thanks to the validation of numeric inputs introduced in Redis with commit bbe025e. 2010-04-15 11:55:15 +02:00
Daniele Alessandri bdf4dfb54e Fixed the test suite to comply with the changes introduced in Redis with commit 4e27f26. 2010-04-15 11:51:33 +02:00
Daniele Alessandri de1b8f45bc Fixed failing tests due to changes introduced in Redis commits 3ea27d3, cc3b01c and 653c924. 2010-03-29 12:46:23 +02:00
Daniele Alessandri 5cae45282d Fixed tests against the current Redis master branch. 2010-03-09 12:54:18 +01:00
Daniele Alessandri c06f9e34bf Added tests for DISCARD. 2010-03-04 14:18:38 +01:00
Daniele Alessandri ac8172235f Added tests for ZRANK. 2010-03-04 14:09:56 +01:00
Daniele Alessandri 5aaec9d11b Added a test for SUBSTR on integer-encoded values. 2010-03-04 13:58:05 +01:00
Daniele Alessandri 3e0d9c8400 Added tests for SUBSTR. 2010-03-04 12:41:51 +01:00
Daniele Alessandri 9ac0d26a48 Minor code rearrangements. 2010-03-04 12:29:23 +01:00
Daniele Alessandri c8554f2c8b Added tests for APPEND. 2010-02-27 11:15:31 +01:00
Daniele Alessandri 4c6dedabe0 Added tests for ZCOUNT. 2010-02-27 11:08:05 +01:00
Daniele Alessandri 5ad2abd149 Added test for ZRANGEBYSCORE with the WITHSCORES parameter. 2010-02-27 10:59:34 +01:00
Daniele Alessandri 40df90007d Miss typings, oh my... 2010-02-25 11:27:07 +01:00
Daniele Alessandri 2c7a99df55 Added missing test for SORT ... GET 2010-02-25 11:24:50 +01:00
Daniele Alessandri f5f06d643f Fixed a dangerous oversight in the test suite (seriously, testing FLUSHALL was indeed stupid). 2010-01-27 23:56:26 +01:00
Daniele Alessandri afdc79f97f Added tests for BGREWRITEAOF. 2010-01-23 15:31:53 +01:00
Daniele Alessandri 03886d9a78 Merge branch 'blpop'
Conflicts:
	lib/Predis.php
2010-01-06 10:37:03 +01:00
Daniele Alessandri 2577f6a2cb Added tests for BLPOP and BRPOP. They are not really that great as they are missing a concurrent RPUSHing client, but they are enough for now. 2010-01-02 22:09:27 +01:00
Daniele Alessandri db6e40df98 Added tests for MULTI / EXEC. 2009-12-31 13:00:27 +01:00
Daniele Alessandri 627433cef8 Extended the tests for ZRANGE and ZREVRANGE to cover the newly added "WITHSCORES" option. 2009-12-23 22:05:04 +01:00
Daniele Alessandri d9b304f9e3 Merge branch 'cmd_zincrby' 2009-12-19 10:49:34 +01:00
Daniele Alessandri 81484b3351 Added tests for Predis\Commands\ZSetIncrementBy (ZINCRBY). 2009-12-19 10:46:09 +01:00
Daniele Alessandri 374070a2c1 Renamed the class ListPushTailPopFirst into ListPopLastPushHead (did the same for it registered alias), the former name was incorrect 2009-11-20 23:15:36 +01:00
Daniele Alessandri 768c211ddd Merge branch 'cmd_lpoppush' 2009-11-20 22:10:33 +01:00
Daniele Alessandri 1a3bd9fa41 Added more tests for RPOPLPUSH 2009-11-20 22:09:47 +01:00
Daniele Alessandri 7f4072054a Fixed the tests for RPOPLPUSH as they were still using the old alias even after the command has been renamed from LPOPPUSH 2009-11-20 21:54:44 +01:00
Daniele Alessandri cb2a57dbac Added a new assertion for ZSCORE. This assertion will fail if tests are run against a Redis instance built before Git commit 96d8b4e. 2009-11-13 08:58:26 +01:00
Daniele Alessandri 28e3926385 Added tests for LPOPPUSH. 2009-11-11 22:30:47 +01:00
Daniele Alessandri 34a616cd95 ... and here finally comes Predis! 2009-11-07 13:20:11 +01:00