183 Commits

Author SHA1 Message Date
Xinchen Hui
4fa21116f1 Value pass to callback behavior consistently with get
(GET_EXTENED return array)
2016-07-26 19:11:54 +08:00
Xinchen Hui
41b005fd0f Fixed test 2016-07-26 17:48:00 +08:00
Xinchen Hui
6837d89494 Fixed test (tests/experimental/setmulti_badserialize.phpt) 2016-07-23 20:44:03 +08:00
Xinchen Hui
513c091a67 Fixed locale_float.phpt test 2016-07-23 20:13:47 +08:00
Xinchen Hui
5949598db6 Remove unused arg 2016-07-23 15:18:54 +08:00
Xinchen Hui
a0ed436fca According to memcached wiki, touch is added since 1.4.8
https://github.com/memcached/memcached/wiki/ReleaseNotes148
2016-07-23 15:15:30 +08:00
Xinchen Hui
95f26c4f75 Fixed warning in run-test.php and also fixed test 2016-07-23 12:39:49 +08:00
Xinchen Hui
8b27e5a079 Merge branch 'master' into php7
Conflicts:
	php_memcached.c
	php_memcached_session.c
2016-07-23 11:33:53 +08:00
Xinchen Hui
ec4f3c6f3d Added skipif.inc 2016-07-23 11:11:34 +08:00
Xinchen Hui
0e517902d6 Improved the tests 2016-07-21 18:59:01 +08:00
Pedro Magalhães
5bd1a1fac5 fix added tests 2016-06-10 00:33:14 +02:00
Pedro Magalhães
382a786f98 Added tests for the extended key validation 2016-06-10 00:15:18 +02:00
Konstantin Leboev
f31ad20468 Check the existence of an error, and only then if it is the maximum value. 2016-05-10 13:25:28 +03:00
Mikko
6ace07da69 Tests for default behavior 2016-02-17 14:39:49 +01:00
Mikko
a930b41fa1 Fixes memory errors, broken code, bugs etc 2016-02-06 05:07:52 +00:00
Mikko
782077ce57 Fix json serializer 2016-01-31 23:11:11 +00:00
Mikko
9ce59ef3c3 Add to package.xml 2016-01-31 16:14:42 +00:00
Mikko
ecc7d81151 Add tests, fix compilation error for non-sasl 2016-01-31 16:11:05 +00:00
Mikko
bdd0911a9b Update to a simpler object structure, make session config match old setting names, key validation removed etc 2016-01-31 16:07:48 +00:00
Mikko
c15d792ec3 Clean up session code, start on the whole i_obj/m_obj confusion 2016-01-30 11:41:57 +00:00
Mikko
dc5b22a8da Cleaning up driver for php7. WIP 2016-01-29 14:58:50 +00:00
Mikko
582f4a030d Fix tests 2016-01-21 00:02:11 +00:00
Mikko Koppanen
0dae7f29fa Merge pull request #164 from yohgaki/php7
Use new session save handler
2016-01-20 23:53:12 +00:00
Mikko
5eb3bfd4fe Fixes to keys and tests 2016-01-18 04:05:32 +00:00
Mikko
9e11ffa8e5 Revert the user flags and move into Memcached::getLastUserFlags 2016-01-16 21:40:35 +00:00
Joe Watkins
a24e439cb6 tidy configure stuff for json 2015-09-02 08:06:48 +01:00
Joe Watkins
53bdf650d2 omg, I'm a fumbling idiot 2015-09-01 19:12:52 +01:00
Joe Watkins
6cecbbd72f Merge branch 'php7' of https://github.com/php-memcached-dev/php-memcached into php7 2015-09-01 19:08:30 +01:00
Joe Watkins
d354bf6551 update test to skip in appropriate versions (make travis more useful) 2015-09-01 19:07:42 +01:00
Joe Watkins
3a8c8fd7a0 disable stuff not available for 7 yet 2015-09-01 18:30:46 +01:00
Joe Watkins
a335533ec8 another test expecting the wrong thing, it seems 2015-08-31 19:08:15 +01:00
Joe Watkins
2af8314b36 moar tests passing 2015-08-31 17:47:08 +01:00
Yasuo Ohgaki
0021b5c083 Use new session save handler 2015-02-12 13:28:52 +09:00
Xinchen Hui
a3279a8478 Various bug fixes 2015-02-04 07:20:17 -08:00
Mikko
d9c085b0ca Added test for bug #155 2014-10-22 16:20:59 +01:00
Vincent Bernat
43460341a2 Revert "Move tests using serialized objects and compression out of experimental"
This reverts commit 391d0c14eb.

Conflicts:
	package.xml
2014-01-16 09:19:18 +01:00
Vincent Bernat
77a217a21d Move getserverbykey test out of experimental 2014-01-09 16:36:03 +01:00
Vincent Bernat
82227e5084 getServerByKey cannot report weight anymore
Due to a change in libmemcached (exposed in
5450f45a3e), `getServerByKey` is not able
any more to report a server weight. It reports 0 instead. This makes the
test on this function fails. We fix this by expecting a weight of 0
instead of a weight of 1.
2014-01-09 16:35:24 +01:00
Mikko Koppanen
03d224485b Merge pull request #119 from vincentbernat/fix/compress-serialized
Fix compression of serialized objects.
2014-01-09 07:30:14 -08:00
Vincent Bernat
391d0c14eb Move tests using serialized objects and compression out of experimental 2014-01-09 16:28:05 +01:00
Vincent Bernat
50651d5884 Make output of use_sasl entry in moduleinfo test optional
When SASL support is compiled out, this entry is absent. Nonetheless,
test should succeed in a such case.
2014-01-08 11:53:35 +01:00
Vincent Bernat
a8a837d7f1 Add sess_lock_* and store_retry_count entries to moduleinfo test
Those entries have been added recently but the test was not updated.
2014-01-08 11:49:48 +01:00
Mikko
9a15875122 Skip test if touch is not available 2013-11-25 13:57:54 +08:00
Mikko
db9f9ef876 Skip test if touch is not available 2013-11-25 13:44:49 +08:00
Mikko
d9d5ce86f6 Fixed a bug with config options and test for it 2013-11-24 01:50:24 +08:00
Mikko
26ac8bd9cb Refactor SASL support checking, move "unnecessary" things to private header, move travis script to .travis dir 2013-11-24 00:00:59 +08:00
Mikko
2e28f5353a Some copy-pasta errors 2013-11-21 02:11:07 +08:00
Mikko
109fa1d575 parse error 2013-11-21 02:05:20 +08:00
Mikko
d54b2d58bc Separate serializer tests 2013-11-21 01:43:00 +08:00
Mikko
f3e8821852 Add test for too large key 2013-11-20 16:18:51 +08:00