Commit Graph

26 Commits

Author SHA1 Message Date
Vladimír Kriška
3eaa17ad71 added tests for CFileCache cacheFileMode and cachePathMode 2013-08-16 11:31:27 +02:00
Carsten Brandt
4c1da89e4f CRedisCache UnitTest to verify #2750 2013-08-11 22:58:27 +02:00
resurtm
d749ecff97 Fix unit test. 2013-05-28 20:31:26 +06:00
resurtm
3fa125ce3c Merge branch 'master' of github.com:yiisoft/yii into fixes-2435-CFileCache-enhancements
Conflicts:
	CHANGELOG
2013-05-28 19:44:29 +06:00
Carsten Brandt
980d5615fb Added missing 'class' config to CRedisTest
https://github.com/yiisoft/yii/pull/2436#issuecomment-18287533
2013-05-22 17:54:57 +02:00
Carsten Brandt
a7f8d74d33 enabled redis on travis-ci 2013-05-22 12:41:29 +02:00
Carsten Brandt
59ed54a446 redis drop millisecond support to not require latest redis verion
yii2 will have this feature.
2013-05-22 12:33:54 +02:00
resurtm
b0753a8e7d Fixes #2435: CFileCache entry expiration time could now be embedded into the cache file. 2013-05-04 21:58:24 +06:00
Carsten Brandt
f076a9e81e Created CRedisCache (backport from yii2)
redis cache uses http://redis.io/ as storage backend.
Feature was requested in discussion in #1302
2013-05-01 20:08:35 +02:00
marcovtwout
faf41eb51f Revert "Make $reusableData protected instead of private, so we can reset in subclass."
This reverts commit 00119b13e5.
2013-04-09 13:55:07 +02:00
marcovtwout
00119b13e5 Make $reusableData protected instead of private, so we can reset in subclass. 2013-04-08 09:58:56 +02:00
marcovtwout
7794bfabc7 Replace CCacheDependencyTest with version from klimov-paul (https://github.com/yiisoft/yii/pull/2290) 2013-04-08 09:53:49 +02:00
marcovtwout
13192086a8 Add Unit test for reusableData test, see #2290 2013-04-04 15:02:20 +02:00
Konstantin G Romanov
75908a5170 * 5 sec expire somehow is not enought causing false negative test. 2012-10-19 16:33:33 +04:00
resurtm
3984ea4423 Fixes bug 1066. 2012-08-03 15:35:21 +06:00
resurtm
150ca71f50 Additional test for CMemCacheTest. 2012-07-04 23:59:08 +06:00
resurtm
b53241460e CMemCache::setValue() and CMemCache::addValue() change: expiration time for Memcache::set() and Memcached::set() now passed as seconds amount. Was UNIX timestamp. This is a documented feature of the memcache PHP extension, but now CMemCacheTest passes without fails. 2012-07-04 23:46:05 +06:00
resurtm
1ce80037ac CMemCacheTest fix. 2012-07-04 23:09:48 +06:00
resurtm
a26eecf1b0 CMemCacheTest fix. 2012-07-04 23:08:46 +06:00
zilles
aff7a25763 consistent tab usage with existing code 2012-03-21 16:49:02 -07:00
zilles
42332352e7 match no newline at eof 2012-03-21 16:45:16 -07:00
zilles
2444ef6905 Added unit test to exercise CDbCache::mget 2012-03-21 16:30:43 -07:00
Alexander Makarov
16943688e9 Fixed incorrect temp files directory. Now tests are using runtime. 2012-03-03 03:11:22 +04:00
Charles Pick
f38ec6cff5 165 - Rename reusable to reuseDependentData 2012-03-02 15:15:54 +00:00
Charles Pick
c5944b32a9 165 - Make CCacheDependency reusable 2012-02-25 20:43:13 +00:00
alexander.makarow
1f757cbf53 improved unit tests 2011-02-18 15:25:38 +00:00