Commit Graph

12 Commits

Author SHA1 Message Date
Dmitriy Makarov
2d9b659777 Fixes #12296: Added value validation to yii\log\Target::setLevels() 2016-08-25 20:47:03 +03:00
Dmitriy Makarov
d4536fe645 Added Target test of the following methods: (#12294)
- getLevels()
- setLevels()
2016-08-24 14:31:53 +03:00
Dmitriy Makarov
dc8f6e8195 Added EmailTarget tests of the following methods: (#12150)
- init()
- export()
2016-08-12 23:24:54 +03:00
Dmitriy Makarov
81479ff085 Added Dispatcher tests of the following methods: (#12127)
* Added Dispatcher tests of the following methods:
- getTraceLevel()
- setTraceLevel()
- getFlushInterval()
- setFlushInterval()
- dispatch()
- init()

* [Fix] Added the 'mocking' flag
2016-08-10 12:50:57 +03:00
Dmitriy Makarov
552ad141b6 Added SyslogTarget tests of the following methods: (#12093)
- export
- formatMessage
2016-08-08 13:20:22 +02:00
Dmitriy Makarov
5d09f32b3b Added logger tests of the following methods: (#12083)
- getDbProfiling()
- calculateTimings()
- getElapsedTime()
- getLevelName()
- getProfiling()
2016-08-05 10:34:29 +02:00
Dmitriy Makarov
dc4a4b456c Test for logger, flush method (#12041)
* Added test for logger, flush method
- testFlushWithoutDispatcher
- testFlushWitDispatcherAndDefaultParam
- testFlushWitDispatcherAndDefinedParam

* Used 'yii\\log\\Dispatcher' instead of Dispatcher::class as parameter for the getMock method
2016-08-04 20:19:04 +03:00
Dmitriy Makarov
b2b2cb2ada Added more tests for logger (#12034)
- testLogWithTraceLavel
- testLogWithFlush
2016-07-28 19:43:03 +03:00
Viktor Pikaev
30bb9bd7c8 Fixes #11462: Added support of filtering rules to yii\log\Target::$logVar, added \yii\helpers\BaseArrayHelper::filter() method 2016-07-03 01:56:05 +03:00
Carsten Brandt
6309962c5c more tests for #11056 2016-04-22 10:56:17 +02:00
Carsten Brandt
22503ebe97 allow setting custom logger in Dispatcher via config
fixes #11056
2016-04-22 10:53:59 +02:00
Alexander Makarov
6949992246 Simplified tests directory structure a bit 2015-04-16 12:10:01 +03:00