Carsten Brandt
8ac2b7364d
moved redis to extensions
11 years ago
Carsten Brandt
09a3300b7c
refactored redis cache, added mset()
11 years ago
Alexander Makarov
1a7a15a3ef
Implemented mset, madd for cache. Added tests.
11 years ago
Carsten Brandt
15a9b04fcc
simplified travis env check for memcache(d)
11 years ago
Carsten Brandt
f5c25e0858
travis memcache env check: try again
11 years ago
Carsten Brandt
a75c07be22
print travis ENV
11 years ago
Carsten Brandt
0e3d48f288
skip expiry test for memcache on travis
...
fixes #877
11 years ago
Panagiotis Moustafellos
3ebbab0284
marked mset() test incomplete
11 years ago
Panagiotis Moustafellos
4cf05205d4
added cache mset() base test
11 years ago
Alexander Mohorev
51211898f8
Control statements based on the if and elseif constructs must have a single space before the opening parenthesis of the conditional and a single space after the closing parenthesis.
11 years ago
Alexander Makarov
ee2af2661c
Removed unneeded use statements
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Carsten Brandt
3f88320595
second try to fix random memcache failure on travis
...
issue #877
11 years ago
Carsten Brandt
f3504f426d
fix test fail when not on travis
11 years ago
Carsten Brandt
9542fd24d4
try to fix: memcache testExpire fails randomly on travis
...
issue #877
11 years ago
Carsten Brandt
949dda5fdb
tagged tests with @group tags
11 years ago
Carsten Brandt
3b91801a35
cherry picked RedisCache and redis\Connection from redis WIP branch
...
commit in redis branch was:
0cd65e7496
11 years ago
Carsten Brandt
0e2ac86566
added Cache::exists() to check key existance in cache
11 years ago
Alexander Makarov
0596fa82fd
code style fixes
12 years ago
Carsten Brandt
b84097c1ae
fixed redis response parsing for large data
...
fixes #743
12 years ago
Qiang Xue
f5d0bcbcfc
Refactored cache key generation.
12 years ago
Alexander Makarov
7cd9123c3b
Tests cleanup
...
- Better names
- Removed not used MySQLTestCase
- Moved base testcase for DB to db namespace
- Minor style fixes
12 years ago
Alexander Makarov
a021fbe54d
Skipped ApcCacheTest expire
12 years ago
Carsten Brandt
48f388442f
mocking time in test only usefull when using time() once
...
e2513de6c6 (commitcomment-3192244)
12 years ago
Carsten Brandt
e2513de6c6
better testing: time()-function-mock
...
as discussed in #203
https://github.com/yiisoft/yii2/issues/203#issuecomment-17759631
12 years ago
Carsten Brandt
71a9efdd55
changed cache test to wait more than expirytime
...
change is to avoid random test failure on race condition.
fixes #203 #231
12 years ago
Carsten Brandt
6a7529505e
cache tests refactoring cherry picked from redis branch
12 years ago
resurtm
5575f53657
CS fixes.
12 years ago
Benjamin Wöster
f23a677bdf
mod: incorporate suggestions
...
- rename requireApp() to mockApplication()
- always destroy app on tearDown()
- eliminates need for constant YII_DESTROY_APP_ON_TEARDOWN
- mockApplication() becomes a lot easier. Destroying app on each tearDown
means creating it on every call is fine. No more checking if it already
exists and if it has been created from the same config.
- \yii::$app should have been \Yii::$app
12 years ago
Benjamin Wöster
d4b30e26c2
allow unit tests to requireApp() on setUp()
12 years ago
Rusinov Maxim
d712605a71
Added and resolved Sqlite tests #15 .
12 years ago
Alexander Kochetov
ca9194a365
Code style fixes
12 years ago
Zander Baldwin
4be9e195c2
Add Newlines
...
Appended newlines to every PHP document that did not have a newline as the last character in the file.
12 years ago
Rinat Silnov
802c0c94a8
Check apc.enable_cli for ApcTestCase unit tests
12 years ago
Carsten Brandt
38a1938847
documentation and code style fixes
12 years ago
Carsten Brandt
fad011274c
added missing init() method to Cache class
12 years ago
Carsten Brandt
3b4abfffce
Added note to ApcCacheTest
...
testExpire is failing on PHP 5.3.10
12 years ago
Carsten Brandt
3d3f711d6a
testing and fixing RedisCache
12 years ago
Carsten Brandt
eac48ff2a8
Redis cache implementation
12 years ago
Alexander Makarov
09dbaeb700
more assertions for cache test
12 years ago
Carsten Brandt
4d59587320
fixed constructor overriding in test classes
...
now use setUp() instead
12 years ago
Alexander Makarov
64fb2a815c
added tests for cache
12 years ago