Klimov Paul
15561b7a2c
unit test fix
8 years ago
Klimov Paul
dee88787fc
compatibility with PHPUnit 6.x added
8 years ago
Alexander Makarov
3f8e8a89eb
Used more specific unit test assertions in framework tests
8 years ago
bashkarev
338e5967cb
Added Logging of memory usage
...
calculateTimings added options: `memory`, `memoryDiff` memory_get_usage only the used memory is reported.
close #13268
8 years ago
Klimov Paul
11c93c405c
fix `LoggerTest` to be more reliable
8 years ago
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
8 years ago
Dmitriy Makarov
5d09f32b3b
Added logger tests of the following methods: ( #12083 )
...
- getDbProfiling()
- calculateTimings()
- getElapsedTime()
- getLevelName()
- getProfiling()
8 years ago
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
8 years ago
Dmitriy Makarov
b2b2cb2ada
Added more tests for logger ( #12034 )
...
- testLogWithTraceLavel
- testLogWithFlush
8 years ago
Alexander Makarov
6949992246
Simplified tests directory structure a bit
10 years ago
Carsten Brandt
093f5ebd32
ensure log dispatcher gets registered with logger in all cases
...
fixes #2894
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
AlexGx
32d0768919
style fixes with phpcs:yii2
11 years ago
Alexander Makarov
dd26d39dd8
Removed unused namespace imports
11 years ago
Carsten Brandt
0ea05a6460
added unit tests for logger and log target
...
related to #1151
11 years ago