Commit Graph

5 Commits

Author SHA1 Message Date
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
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
Alexander Makarov
6949992246 Simplified tests directory structure a bit 2015-04-16 12:10:01 +03:00