Commit Graph

77 Commits

Author SHA1 Message Date
Daniele Alessandri 40d5b04278 Change the behavior of a test and add a reminder for a later in-depth examination of alternatives. 2010-05-21 21:02:09 +02:00
Daniele Alessandri 376dfe3451 Move IDistributionAlgorithm, HashRing and KetamaPureRing to the new Predis\Distribution namespace. 2010-05-17 19:59:54 +02:00
Daniele Alessandri 23b68d9415 Test suite: add test for the HASH type. 2010-05-17 19:19:53 +02:00
Daniele Alessandri 35f7ea2895 Test suite: minor code formatting changes. 2010-05-16 13:00:01 +02:00
Daniele Alessandri 37d4aa3d94 Test suite: test creation of the server profile for Redis 2.0. 2010-05-16 12:29:19 +02:00
Daniele Alessandri f1890c93a6 Test suite: PredisClientFeaturesTestSuite and same signature of PHPUnit_Framework_TestCase::onNotSuccessfulTest. 2010-05-16 12:23:50 +02:00
Daniele Alessandri d69a872359 Test suite: minor code formatting changes. 2010-05-16 12:20:20 +02:00
Daniele Alessandri 4f0f2ca3eb ZUNION and ZINTER have been changed to ZUNIONSTORE and ZINTERSTORE for consistency (see Redis commit 5d373da). 2010-05-15 08:25:50 +02:00
Daniele Alessandri 72ef71d2df Merge branch 'test_library_features' 2010-05-13 18:53:21 +02:00
Daniele Alessandri 1a9454a4f2 Updated the tests to reflect the changes that has been made in the internal design of the library in the latest weeks (preparing to merge into master). 2010-05-13 18:52:51 +02:00
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 471102253a Updated the tests to reflect the changes that has been made in the internal design of the library in the latest weeks. 2010-04-17 17:04:06 +02:00
Daniele Alessandri 4cce99d388 Merge branch 'test_client_feats' into test_library_features 2010-04-17 17:02:36 +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 ff103b385d Tests for Predis\CommandPipeline. 2010-03-10 18:46:45 +01:00
Daniele Alessandri 4dc9affda2 Minor adjustments in a few tests. 2010-03-10 17:48:28 +01:00
Daniele Alessandri e9e2b8ca5a Tests for Predis\ResponseReader. 2010-03-10 17:46:35 +01:00
Daniele Alessandri 1394df5625 Tests for Predis\Connection. 2010-03-10 16:24:09 +01:00
Daniele Alessandri 5b039c8ee8 Tests for Predis\Command. 2010-03-10 14:59:34 +01:00
Daniele Alessandri 90078b95c7 Tests for Predis\ResponseError. 2010-03-10 14:18:28 +01:00
Daniele Alessandri 83ab54e9fc Tests for Predis\ResponseQueued. 2010-03-10 14:18:15 +01:00
Daniele Alessandri ea9f83d4c0 Tests for Predis\RedisServerProfile. 2010-03-10 14:04:43 +01:00
Daniele Alessandri 95664719a6 Tests for Predis\ConnectionParameters. 2010-03-10 12:04:17 +01:00
Daniele Alessandri f02b5494c7 New set of tests for client-specific features. 2010-03-10 11:47:41 +01: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