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
4251664095
Change the way we enable/disable the safety catch to run the test suite.
...
Now we check for the presence of the file "test/enable.tests" to enable the
test suite instead of relying on the value of a constant defined in PHP. In
this way we can prevent commiting an enabled test suite by mistake since the
above mentioned file is not tracked by Git (see .gitignore)..
2011-10-15 10:58:02 +02:00
Daniele Alessandri
6ad73c782a
Move classes related to MULTI/EXEC abstraction to the Predis\Transaction namespace.
2011-06-02 17:20:18 +02:00
Daniele Alessandri
cc2349c785
Change how error messages for server-side errors are handled.
2011-05-14 10:34:22 +02:00
Daniele Alessandri
0f751cabcb
Upgrade to PHPUnit 3.5.
2011-03-27 09:15:38 +02:00
Daniele Alessandri
ceca866158
Remove Predis\Network\IConnectionSingle::setProtocolOption() for now.
2011-03-20 10:47:30 +01:00
Daniele Alessandri
826db07900
Force the test suite to use the 2.2 server profile for now.
2011-03-06 12:39:18 +01:00
Daniele Alessandri
1e1a904d1a
Update the client features test suite (still needs more test coverage of the whole API).
2011-03-02 17:40:27 +01:00
Daniele Alessandri
89c311d0de
Complete redesign of the network connection API, it should make much more sense now.
2011-03-02 10:02:29 +01:00
Daniele Alessandri
4ad4b9cf77
Remove direct requires of parts of PHPUnit.
2011-02-25 12:45:11 +01:00
Daniele Alessandri
d2b0326087
Fix requiring path of bootstrap.php in external processes spawned by tests.
2011-02-25 12:39:05 +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
3b2681f2c8
Move some classes in new namespaces and refactor some code.
2011-01-08 00:45:46 +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
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
1d45649f86
Test suite: add test for WATCH in Predis\MultiExecBlock.
2010-09-25 16:15:13 +02:00
Daniele Alessandri
aa0ea048ae
Accept instances of Predis\IConnection or Predis\ConnectionParameters as parameters for the constructor of Predis\Client.
2010-09-18 14:56:53 +02:00
Daniele Alessandri
b40c2fd214
Remove the static method Predis\Client::create().
2010-08-15 17:58:45 +02:00
Daniele Alessandri
72ef71d2df
Merge branch 'test_library_features'
2010-05-13 18:53:21 +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
2f6b24c098
Test suite: added SETEX.
2010-04-24 09:37:54 +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
1394df5625
Tests for Predis\Connection.
2010-03-10 16:24:09 +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
7fa935f827
Implemented a factory method for creating server profiles instances.
2010-01-23 15:55:34 +01:00
Daniele Alessandri
35016ba4b0
Changed the naming convention of the predefined RedisServerProfile derived classes.
2010-01-09 12:36:46 +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
e637881c2d
Force the test suite to load the server profile for Redis edge versions (development unstable).
2009-12-31 12:18:34 +01:00
Daniele Alessandri
8eb51ec0d1
Updated the test suite to work with the new parameters for Predis\Client.
2009-12-25 21:11:08 +01:00
Daniele Alessandri
34a616cd95
... and here finally comes Predis!
2009-11-07 13:20:11 +01:00