Commit Graph

194 Commits

Author SHA1 Message Date
126d97b020 Added exception name to log 2012-12-11 19:08:37 +04:00
fce43da00d Fixed test error for testDebugAutoload() with coverage 2012-12-11 18:45:48 +04:00
98324588b7 added test for Mongo::addCondition method 2012-12-11 18:39:26 +04:00
c525a09078 fixed AutoloadBuilderTest to pass without template app 2012-12-11 16:46:53 +04:00
5f47dab73e Use new logError in FrontController, tests 2012-12-11 15:42:17 +04:00
91b364d01a Separate function ErrorHandler::logError() and tests 2012-12-11 15:03:48 +04:00
d007f356c0 Remove duplicate lines from test 2012-11-22 16:41:32 +04:00
431fb8b60f PHPDoc for MySQLiStatementTest 2012-11-21 22:00:03 +04:00
2ee61dc42c Small test for Load::setExclude 2012-11-21 21:34:09 +04:00
f7b6837b91 Test logging from CliController 2012-11-21 21:18:11 +04:00
a856dd484e Removed @version and @filesource from PHPDocs 2012-11-21 18:42:29 +04:00
6b9c076053 Added new message types: info, warning to MgsViewHelper. Added method withPrefix to add custom css prefix to message 2012-11-21 18:11:38 +04:00
07a244ca35 Code formatting for ViewHelper & tests 2012-11-21 15:44:48 +04:00
3517a6450c Test for calling ErrorAction->setAjaxError() for ajax-based actions 2012-11-21 14:47:35 +04:00
a789ad8966 More strict test on autoload 2012-11-21 14:31:43 +04:00
e1c3da8019 Reworked AJax action HTTP code and HTTP content. Added new HTTP template to process HTTP code output 2012-11-12 14:22:54 +04:00
618f12224e Revorked Error404Exception . New ErrorHTTPException introduced. 2012-11-12 14:22:54 +04:00
2aafb3a394 New default value for AjaxAction->data, new tests 2012-11-12 14:22:54 +04:00
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. 2012-11-12 14:22:54 +04:00
11a5968105 refactored MongoModel to hide fetch method, fixed PHPDoc errors 2012-10-19 20:15:26 +04:00
774c86acd2 modified Profiler to clear queries array on start() 2012-10-05 19:39:45 +04:00
5bc65513eb modified CliController to use ErrorStream conf var and separate logging by LOGGING/PROFILER settings 2012-10-05 19:39:23 +04:00
8d60abe7d1 modified ErrorHandler not to process error closed by @ 2012-10-05 19:38:24 +04:00
9d0e22ebd2 Modified Profiler message. 2012-07-19 17:18:54 +04:00
a16a995ed3 Add Profiler support report message with turn on PROFILER_DETAILS (if use to show queries). Modified tests MongoStatementTest, MySQLiStatementTest. Adding new tests to ProfilerTest. 2012-07-19 17:07:54 +04:00
ed0c9f207f Corrected CliControllerTest. 2012-07-19 17:05:56 +04:00
72ac3e2176 Modified commented code in ProfilerTest, LayoutTest with DEBUG const. 2012-07-13 17:44:10 +04:00
ad9c6b0a0c Complete tests for CliController. 2012-07-11 17:23:14 +04:00
ac091ac1ed Add CliControllerTest (not working with RuntimeException). 2012-07-10 19:38:10 +04:00
e59e270476 Modified tests Mongo, Mysqli, Redis with checking work Profiler (with PROFILER_DETAILS). 2012-07-10 17:03:55 +04:00
2395adf7b8 Modified MySQLiStatementTest with use PROFILER_DETAILS set. 2012-07-10 13:49:49 +04:00
69cd61121e Fixed tests RedisDebugTest, ProfilerTest with use PROFILER setting. 2012-07-09 14:28:02 +04:00
a0010c3706 Replace values 1 to (bool)true in Config::set(PROFILER...) in majestic tests. 2012-07-09 13:49:11 +04:00
b6a2c4dbc3 Replace 0 to false and 1 to true in Config:;set(DEBUG...) in majestic tests. 2012-07-09 13:47:32 +04:00
7a26da1034 Fixed tests with inc Config and Registry classes. Use LOGGING in logger tests. 2012-06-28 16:18:28 +04:00
cfd6536c5f Replace constant DEBUG to use in Config. Remove start profiler from FrontController (moved to bootstrap). 2012-06-27 18:02:42 +04:00
a1d33ea32f merged mongo into master 2012-06-05 14:08:33 +04:00
d5ae133478 added test for findAndModify if no item in collection and test for eval 2012-06-05 13:52:39 +04:00
0f1acaa7d6 Merge branch 'new_error_layout' 2012-06-04 16:11:28 +04:00
e6735dc158 added setException method to ErrorLayout class 2012-06-04 16:09:45 +04:00
1d999bda3f modified FrontController to get error layout from Router 2012-06-04 16:09:16 +04:00
90a8cb30e6 added getter and setter to Router to use error layout 2012-06-04 16:08:35 +04:00
950d1f4a9a modified MongoDbCommand __toString output 2012-06-04 16:06:03 +04:00
f6e119d372 modified GetViewHelper to return urlencoded GET query params 2012-06-04 16:05:26 +04:00
359c712962 modified AutoloadBuilder for atomic autoload.php write 2012-06-04 16:04:17 +04:00
29a255776d Merge branch 'route_modified' 2012-05-25 19:31:18 +04:00
9ef37d003b Refactor Router (remove getUri method. All logic moved to getRoute method). Modified RouterTest. 2012-05-25 19:03:42 +04:00
6e4a9ef23a Modify RouterTest (unmocked simply methods). 2012-05-25 18:41:25 +04:00
c7815a2112 Add tests app/router for new methods. 2012-05-25 16:31:08 +04:00
c0fa542b3c removed output buffer(ob_start/ob_end_clean) usasge in MongoDbCommand profile output 2012-05-23 18:59:20 +04:00