Klimov Paul
3b7ac70c69
Test case "YiiRequirementCheckerTest::testCheckEval()" has been added.
12 years ago
Klimov Paul
00d04a1c30
Method "YiiRequirementChecker::check()" has been refactored to be used in method chain.
...
Methods "YiiRequirementChecker::getResults()" and "YiiRequirementChecker::render()" have been added.
12 years ago
Klimov Paul
07fabfd6fc
Method "YiiRequirementChecker::check()" has been implemented.
12 years ago
Klimov Paul
3374c78233
"YiiRequirementChecker" has been created as blank.
12 years ago
Carsten Brandt
baac7e14df
moved classes from framework -> yii
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
Carsten Brandt
cb8f5d702f
cleanup tests
12 years ago
resurtm
ea68bd3a55
CS fixes.
12 years ago
resurtm
5575f53657
CS fixes.
12 years ago
resurtm
5c101ae314
Initial MSSQL tests.
12 years ago
Alexander Kochetov
af3f5af3be
RBAC: Item and Assignment optimized save approach
12 years ago
resurtm
124b153350
Initial Gettext support.
12 years ago
Alexander Kochetov
4b8bcd43e0
Unit tests fix
12 years ago
Alexander Kochetov
bea449f8a0
Unit tests
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
452be102c6
Added newline at end files.
12 years ago
Rusinov Maxim
d712605a71
Added and resolved Sqlite tests #15 .
12 years ago
Antonio Ramirez
5da62fab3a
#196 refactored method name
12 years ago
Carsten Brandt
776162b05e
created StringHelper::basename()
...
In contrast to php function basename() It that always uses \ and /
as directory separator.
It is needed for use on Classnames that contain namespaces.
Fixes #192
12 years ago
Carsten Brandt
849740e6cc
Fixed YiiBaseTest echo
...
it echoed Yii version which is not necessary
12 years ago
Antonio Ramirez
e2a57e4b88
Enhance ArrayHelper with popValue method
12 years ago
Alexander Kochetov
ca9194a365
Code style fixes
12 years ago
Qiang Xue
dd5969147d
move JsExpression to web.
12 years ago
Antonio Ramirez
fc7fc8032b
remove for now
12 years ago
Antonio Ramirez
d40e2446df
minor fix for test unit
12 years ago
Antonio Ramirez
ba0032b1cd
proposed refactor of ConsoleColor
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
Qiang Xue
6e779e02d6
Fixed issue #7 : ArrayHelper::multisort is not compatible with PHP 5.3
12 years ago
Rinat Silnov
1a317ebe31
Fixed VarDumper::dump for objects
...
Otherwise it throws an exception that "Object of class ClassName
could not be converted to string"
12 years ago
Carsten Brandt
38a1938847
documentation and code style fixes
12 years ago
Qiang Xue
53a7b82672
Renamed JsonExpression to JsExpression.
12 years ago
Qiang Xue
5fd27b7cbb
Added Json and JsonExpression.
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
Qiang Xue
a4b7d493b0
Removed the $value parameter from radio and checkbox.
12 years ago
Qiang Xue
399a53cfc4
activeform wip
12 years ago
Carsten Brandt
79982c9848
Redis Insert, Update, Delete and Find is ready and roughly unit tested
...
relations are not working yet
12 years ago
Alexander Makarov
09dbaeb700
more assertions for cache test
12 years ago
Alexander Makarov
08be696434
fixed Html test under Windows (line endings)
12 years ago
Alexander Makarov
173706f516
updated expected exception message
12 years ago
Qiang Xue
7599d7860c
refactored getAlias and setAlias.
12 years ago
Qiang Xue
122bd231b4
modified Application constructor signature.
12 years ago
Qiang Xue
a421f9f1ab
refactored component event.
12 years ago
Qiang Xue
597082a11a
Automatic table and column name quoting.
12 years ago
Alexander Makarov
9da81894be
moved helper test from util namespace to helpers namespace, added tests for StringHelper
12 years ago