Daniele Alessandri
d784838447
[test] Sleep one second to give BGSAVE the time to complete.
2011-11-18 20:43:48 +01:00
Gun.io Whitespace Robot
b9ca78ac43
Remove whitespace [Gun.io WhitespaceBot]
2011-10-21 10:50:42 -04:00
Daniele Alessandri
9608a97469
Add a license header to PHP files.
2011-10-18 16:41:46 +02:00
Daniele Alessandri
20d872a306
Apply some coding style changes.
2011-10-18 15:51:55 +02:00
Daniele Alessandri
e070f83dc5
Test suite: move tests for case-insensitive handling of commands names.
2011-10-02 23:29:03 +02:00
Jurian Sluiman
49355b0881
Provide better name for test method
...
testMagicUppercase()? I don't know where I got that one from...
Just changed the method name to something more describring the
actual test.
2011-09-28 18:05:46 +02:00
Jurian Sluiman
0d28395aa0
Remove additional test
...
CreateCommand and supportsCommand are the only two methods which need
to be changes, so test for only those two methods.
2011-09-28 17:34:21 +02:00
Jurian Sluiman
07584f859c
Add methods to test for uppercase and lowercase commands
...
At this moment predis is only capable of lowercase commands, the test
adds the requirement to provide both lowercase, uppercase (and even
mixed case) commands.
2011-09-26 20:33:45 +02:00
Daniele Alessandri
b396eb3c48
Remove code from the test for SLAVEOF.
2011-04-24 10:03:23 +02:00
Daniele Alessandri
d6a445f1ec
Fix SINTERSTORE and SUNIONSTORE to accept an array for the list of source keys.
2011-03-27 09:38:30 +02:00
Daniele Alessandri
0f751cabcb
Upgrade to PHPUnit 3.5.
2011-03-27 09:15:38 +02:00
Daniele Alessandri
e94fbc3287
Adjust the tests for SUBSTR/GETRANGE since the return value for empty string slices has been fixed in Redis 2.2.2.
2011-03-06 12:45:23 +01:00
Daniele Alessandri
38e76cbbc8
Allow passing an array for the list of source keys to be used in ZUNIONSTORE/ZINTERSTORE.
2011-03-05 11:56:10 +01:00
Daniele Alessandri
0d5fb3319d
Move Predis\Command and Predis\ICommand to the Predis\Commands namespace.
2011-03-04 19:21:41 +01:00
Jordi Boggiano
ac1e6e1846
Fix tests for latest changes, added phpunit.xml.dist file and autoloader in test/bootstrap.php
2011-02-21 14:18:04 +01:00
Daniele Alessandri
2b2ca8e8dc
Remove trailing spaces in code.
2011-02-15 12:46:19 +01:00
Daniele Alessandri
65c530a13b
Add test guard for empty bulk replies.
2011-02-12 21:22:47 +01:00
Daniele Alessandri
922beeceea
Test suite: tiny fix in a test for LINSERT (again, this time for real).
2010-12-31 16:16:54 +01:00
Daniele Alessandri
02d7400d1f
Test suite: tiny fix in a test for LINSERT.
2010-12-21 18:36:43 +01:00
Daniele Alessandri
3a2e977ee0
Test suite: temporary fix for testSetExpire().
2010-12-18 17:44:06 +01:00
Daniele Alessandri
daf88645f2
New command: BRPOPLPUSH (Redis v2.2-dev).
...
Conflicts:
lib/Predis.php
2010-12-18 17:40:30 +01:00
Daniele Alessandri
ecc7499b47
Test suite: move up testStrlen().
2010-12-18 17:39:17 +01:00
Daniele Alessandri
64cb73fbb9
New command: GETBIT (Redis v2.2-dev).
...
Conflicts:
lib/Predis.php
2010-12-18 17:38:49 +01:00
Daniele Alessandri
0b9bca8ce1
New command: SETBIT (Redis v2.2-dev).
...
Conflicts:
lib/Predis.php
2010-12-18 17:36:48 +01:00
Daniele Alessandri
e1924551b1
New command: SETRANGE (Redis v2.2-dev).
...
Conflicts:
lib/Predis.php
2010-12-18 17:33:15 +01:00
Daniele Alessandri
21b3fdb3e1
New command: PERSIST (Redis v2.2-dev).
2010-11-28 16:35:25 +01:00
Daniele Alessandri
f419d15f82
New command: ZREVRANGEBYSCORE (Redis v2.2-dev).
2010-11-27 12:55:39 +01:00
Daniele Alessandri
9e58ad7648
Test suite: move the trigger guard for the test suite in the common included file.
2010-09-25 16:15:45 +02:00
Daniele Alessandri
fc8f363fe5
New commands: RPUSHX, LPUSHX (Redis v2.2-dev).
2010-09-21 17:33:24 +02:00
Daniele Alessandri
49a140e3af
New command: LINSERT (Redis v2.2-dev).
2010-09-21 17:22:26 +02:00
Daniele Alessandri
73b4760fc4
New command: STRLEN (Redis v2.2-dev).
2010-09-21 16:56:52 +02:00
Daniele Alessandri
1520e2c48b
Test suite: add a test for the LIMIT modifier of ZRANGEBYSCORE configured via associative array.
2010-07-11 17:07:56 +02:00
Daniele Alessandri
f1df8b163c
Add tests for the new options handling for the ZRANGE commands family.
2010-07-07 20:17:32 +02:00
Daniele Alessandri
23b68d9415
Test suite: add test for the HASH type.
2010-05-17 19:19:53 +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
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