Benjamin Wöster
5e0f6604e8
mod: don't create app in bootstrap script, unit tests do it themselves
...
add: option to destroy app after each test to find unit tests that fail
to require an app
12 years ago
Benjamin Wöster
d4b30e26c2
allow unit tests to requireApp() on setUp()
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Carsten Brandt
2387e59c4e
Renamed yii.php -> Yii.php for class, filename consitency
...
See https://github.com/yiisoft/yii2/issues/123#issuecomment-17657374
Issue #123
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
Alexander Kochetov
ca9194a365
Code style fixes
12 years ago
Qiang Xue
dd5969147d
move JsExpression to web.
12 years ago
Qiang Xue
034d88e5e4
Fixes issue #134
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
Taufan Aditya
51de757140
Use travis as user instead root within DSN
12 years ago
Taufan Aditya
985f076b2d
Testsuite config
12 years ago
Qiang Xue
53a7b82672
Renamed JsonExpression to JsExpression.
12 years ago
Qiang Xue
5fd27b7cbb
Added Json and JsonExpression.
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
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
a9215ceddd
create a webapp in test bootstrap
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
Carsten Brandt
4d59587320
fixed constructor overriding in test classes
...
now use setUp() instead
12 years ago
Alexander Makarov
9923888637
More Model tests
12 years ago
Alexander Makarov
a72d2f536a
Some tests for Model
12 years ago
Qiang Xue
1fbf81be57
User WIP.
12 years ago
Qiang Xue
74d4e04d95
line ending fix.
12 years ago
Qiang Xue
e1acc64b2b
refactoring cache and db references.
12 years ago
Qiang Xue
c03a3ff858
Finishes flash feature.
12 years ago
Qiang Xue
884977a724
renamed util to helpers.
12 years ago
Qiang Xue
9a4f4f85d2
wip
12 years ago
Qiang Xue
3b610926f4
Added web test folders.
12 years ago
Qiang Xue
5227d2db7d
refactoring.
12 years ago
Qiang Xue
2422a134f0
Refactored Html.
12 years ago
Qiang Xue
a5ababe4c6
Finished HtmlTest.
12 years ago
Qiang Xue
03e212bcf6
Added HtmlTest.
12 years ago
Qiang Xue
06feccff8b
refactored query builder.
...
finished Sort.
12 years ago
Qiang Xue
4fdaab3560
updated file header.
12 years ago
Qiang Xue
f68bed0ccb
fixed exception.
12 years ago
Qiang Xue
a095d383e2
refactored url management.
12 years ago
Alexander Makarov
3bb73e54f9
more tests
12 years ago