Anton Terekhov
|
126d97b020
|
Added exception name to log
|
12 years ago |
Anton Terekhov
|
5f47dab73e
|
Use new logError in FrontController, tests
|
12 years ago |
Anton Terekhov
|
d007f356c0
|
Remove duplicate lines from test
|
12 years ago |
Anton Terekhov
|
f7b6837b91
|
Test logging from CliController
|
12 years ago |
Anton Terekhov
|
3517a6450c
|
Test for calling ErrorAction->setAjaxError() for ajax-based actions
|
12 years ago |
Anton Terekhov
|
e1c3da8019
|
Reworked AJax action HTTP code and HTTP content. Added new HTTP template to process HTTP code output
|
12 years ago |
Anton Terekhov
|
618f12224e
|
Revorked Error404Exception . New ErrorHTTPException introduced.
|
12 years ago |
Anton Terekhov
|
2aafb3a394
|
New default value for AjaxAction->data, new tests
|
12 years ago |
Anton Terekhov
|
4fa078d709
|
Fixes for AjaxAction to send different header Content-type with $this->json_encode == true and $this->json_encode == false . This includes refactoring of $this->encode to $this->json_encode.
|
12 years ago |
Anton Grebnev
|
5bc65513eb
|
modified CliController to use ErrorStream conf var and separate logging by LOGGING/PROFILER settings
|
12 years ago |
Alexander Demidov
|
ed0c9f207f
|
Corrected CliControllerTest.
|
13 years ago |
Alexander Demidov
|
ad9c6b0a0c
|
Complete tests for CliController.
|
13 years ago |
Alexander Demidov
|
ac091ac1ed
|
Add CliControllerTest (not working with RuntimeException).
|
13 years ago |
Alexander Demidov
|
b6a2c4dbc3
|
Replace 0 to false and 1 to true in Config:;set(DEBUG...) in majestic tests.
|
13 years ago |
Alexander Demidov
|
7a26da1034
|
Fixed tests with inc Config and Registry classes. Use LOGGING in logger tests.
|
13 years ago |
Alexander Demidov
|
cfd6536c5f
|
Replace constant DEBUG to use in Config. Remove start profiler from FrontController (moved to bootstrap).
|
13 years ago |
Anton Grebnev
|
1d999bda3f
|
modified FrontController to get error layout from Router
|
13 years ago |
Anton Grebnev
|
90a8cb30e6
|
added getter and setter to Router to use error layout
|
13 years ago |
Alexander Demidov
|
9ef37d003b
|
Refactor Router (remove getUri method. All logic moved to getRoute method). Modified RouterTest.
|
13 years ago |
Alexander Demidov
|
6e4a9ef23a
|
Modify RouterTest (unmocked simply methods).
|
13 years ago |
Alexander Demidov
|
c7815a2112
|
Add tests app/router for new methods.
|
13 years ago |
Vyacheslav Agafonov
|
e9af107907
|
Сhange the variable type of the string
|
13 years ago |
Vyacheslav Agafonov
|
4955014473
|
Fixed expected value of 3.0
|
13 years ago |
Vyacheslav Agafonov
|
0fdcb87653
|
Replacement of assertEquals() to assertSame()
|
13 years ago |
Vyacheslav Agafonov
|
0fda3de8b5
|
Moving setExpectedException
|
13 years ago |
Vyacheslav Agafonov
|
3470e3254f
|
replacement @expectedException to setExpectedException
|
13 years ago |
Vyacheslav Agafonov
|
bdae057a8e
|
replace Exception on PHPUnit_Framework_Error
|
13 years ago |
Anton Grebnev
|
1f8562da51
|
Action and FrontController classes tested
|
13 years ago |
Anton Grebnev
|
61a8b4fb7e
|
some little changes
|
13 years ago |
Anton Grebnev
|
cae2ae3128
|
Router class tested
|
13 years ago |
Anton Grebnev
|
21e194dc22
|
Route class tested
|
13 years ago |