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