ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
@covers Monolog\Handler\PHPConsoleHandler More...
Public Member Functions | |
testInitWithDefaultConnector () | |
testInitWithCustomConnector () | |
testDebug () | |
testDebugContextInMessage () | |
testDebugTags ($tagsContextKeys=null) | |
testError ($classesPartialsTraceIgnore=null) | |
testException () | |
testWrongOptionsThrowsException () | |
@expectedException Exception More... | |
testOptionEnabled () | |
testOptionClassesPartialsTraceIgnore () | |
testOptionDebugTagsKeysInContext () | |
testOptionUseOwnErrorsAndExceptionsHandler () | |
testOptionCallsConnectorMethod ($option, $method, $value, $isArgument=true) | |
@dataProvider provideConnectorMethodsOptionsSets More... | |
testOptionDetectDumpTraceAndSource () | |
testDumperOptions ($option, $dumperProperty, $value) | |
@dataProvider provideDumperOptionsValues More... | |
Static Public Member Functions | |
static | provideConnectorMethodsOptionsSets () |
static | provideDumperOptionsValues () |
Protected Member Functions | |
setUp () | |
initDebugDispatcherMock (Connector $connector) | |
initErrorDispatcherMock (Connector $connector) | |
initConnectorMock () | |
getHandlerDefaultOption ($name) | |
initLogger ($handlerOptions=array(), $level=Logger::DEBUG) | |
![]() | |
getRecord ($level=Logger::WARNING, $message='test', $context=array()) | |
getMultipleRecords () | |
getIdentityFormatter () | |
Protected Attributes | |
$connector | |
$debugDispatcher | |
$errorDispatcher | |
@covers Monolog\Handler\PHPConsoleHandler
Definition at line 28 of file PHPConsoleHandlerTest.php.
|
protected |
Definition at line 94 of file PHPConsoleHandlerTest.php.
References $options.
Referenced by Monolog\Handler\PHPConsoleHandlerTest\testDebugTags(), and Monolog\Handler\PHPConsoleHandlerTest\testError().
|
protected |
Definition at line 69 of file PHPConsoleHandlerTest.php.
References Monolog\Handler\PHPConsoleHandlerTest\$connector.
Referenced by Monolog\Handler\PHPConsoleHandlerTest\setUp().
|
protected |
Definition at line 51 of file PHPConsoleHandlerTest.php.
References Monolog\Handler\PHPConsoleHandlerTest\$connector.
Referenced by Monolog\Handler\PHPConsoleHandlerTest\setUp(), and Monolog\Handler\PHPConsoleHandlerTest\testDebugTags().
|
protected |
Definition at line 60 of file PHPConsoleHandlerTest.php.
References Monolog\Handler\PHPConsoleHandlerTest\$connector.
Referenced by Monolog\Handler\PHPConsoleHandlerTest\setUp().
|
protected |
Definition at line 102 of file PHPConsoleHandlerTest.php.
Referenced by Monolog\Handler\PHPConsoleHandlerTest\testDebug(), Monolog\Handler\PHPConsoleHandlerTest\testDebugContextInMessage(), Monolog\Handler\PHPConsoleHandlerTest\testDebugTags(), Monolog\Handler\PHPConsoleHandlerTest\testError(), Monolog\Handler\PHPConsoleHandlerTest\testException(), Monolog\Handler\PHPConsoleHandlerTest\testOptionEnabled(), and Monolog\Handler\PHPConsoleHandlerTest\testOptionUseOwnErrorsAndExceptionsHandler().
|
static |
Definition at line 223 of file PHPConsoleHandlerTest.php.
|
static |
Definition at line 254 of file PHPConsoleHandlerTest.php.
|
protected |
Definition at line 37 of file PHPConsoleHandlerTest.php.
References Monolog\Handler\PHPConsoleHandlerTest\initConnectorMock(), Monolog\Handler\PHPConsoleHandlerTest\initDebugDispatcherMock(), and Monolog\Handler\PHPConsoleHandlerTest\initErrorDispatcherMock().
Monolog\Handler\PHPConsoleHandlerTest::testDebug | ( | ) |
Definition at line 121 of file PHPConsoleHandlerTest.php.
References Monolog\Handler\PHPConsoleHandlerTest\initLogger().
Monolog\Handler\PHPConsoleHandlerTest::testDebugContextInMessage | ( | ) |
Definition at line 127 of file PHPConsoleHandlerTest.php.
References Monolog\Handler\PHPConsoleHandlerTest\initLogger().
Monolog\Handler\PHPConsoleHandlerTest::testDebugTags | ( | $tagsContextKeys = null | ) |
Definition at line 140 of file PHPConsoleHandlerTest.php.
References Monolog\Handler\PHPConsoleHandlerTest\$debugDispatcher, Monolog\Handler\PHPConsoleHandlerTest\getHandlerDefaultOption(), Monolog\Handler\PHPConsoleHandlerTest\initDebugDispatcherMock(), and Monolog\Handler\PHPConsoleHandlerTest\initLogger().
Referenced by Monolog\Handler\PHPConsoleHandlerTest\testOptionDebugTagsKeysInContext().
Monolog\Handler\PHPConsoleHandlerTest::testDumperOptions | ( | $option, | |
$dumperProperty, | |||
$value | |||
) |
@dataProvider provideDumperOptionsValues
Definition at line 268 of file PHPConsoleHandlerTest.php.
Monolog\Handler\PHPConsoleHandlerTest::testError | ( | $classesPartialsTraceIgnore = null | ) |
Definition at line 158 of file PHPConsoleHandlerTest.php.
References $code, $file, Monolog\Handler\PHPConsoleHandlerTest\getHandlerDefaultOption(), Monolog\Handler\PHPConsoleHandlerTest\initLogger(), and Monolog\ErrorHandler\register().
Referenced by Monolog\Handler\PHPConsoleHandlerTest\testOptionClassesPartialsTraceIgnore().
Monolog\Handler\PHPConsoleHandlerTest::testException | ( | ) |
Definition at line 176 of file PHPConsoleHandlerTest.php.
References Psr\Log\LogLevel\ERROR, Monolog\Handler\PHPConsoleHandlerTest\initLogger(), and sprintf.
Monolog\Handler\PHPConsoleHandlerTest::testInitWithCustomConnector | ( | ) |
Definition at line 115 of file PHPConsoleHandlerTest.php.
Monolog\Handler\PHPConsoleHandlerTest::testInitWithDefaultConnector | ( | ) |
Definition at line 109 of file PHPConsoleHandlerTest.php.
Monolog\Handler\PHPConsoleHandlerTest::testOptionCallsConnectorMethod | ( | $option, | |
$method, | |||
$value, | |||
$isArgument = true |
|||
) |
@dataProvider provideConnectorMethodsOptionsSets
Definition at line 239 of file PHPConsoleHandlerTest.php.
Monolog\Handler\PHPConsoleHandlerTest::testOptionClassesPartialsTraceIgnore | ( | ) |
Definition at line 204 of file PHPConsoleHandlerTest.php.
References Monolog\Handler\PHPConsoleHandlerTest\testError().
Monolog\Handler\PHPConsoleHandlerTest::testOptionDebugTagsKeysInContext | ( | ) |
Definition at line 209 of file PHPConsoleHandlerTest.php.
References Monolog\Handler\PHPConsoleHandlerTest\testDebugTags().
Monolog\Handler\PHPConsoleHandlerTest::testOptionDetectDumpTraceAndSource | ( | ) |
Definition at line 248 of file PHPConsoleHandlerTest.php.
Monolog\Handler\PHPConsoleHandlerTest::testOptionEnabled | ( | ) |
Definition at line 198 of file PHPConsoleHandlerTest.php.
References Monolog\Handler\PHPConsoleHandlerTest\initLogger().
Monolog\Handler\PHPConsoleHandlerTest::testOptionUseOwnErrorsAndExceptionsHandler | ( | ) |
Definition at line 214 of file PHPConsoleHandlerTest.php.
References Monolog\Handler\PHPConsoleHandlerTest\initLogger().
Monolog\Handler\PHPConsoleHandlerTest::testWrongOptionsThrowsException | ( | ) |
@expectedException Exception
Definition at line 193 of file PHPConsoleHandlerTest.php.
|
protected |
Definition at line 31 of file PHPConsoleHandlerTest.php.
Referenced by Monolog\Handler\PHPConsoleHandlerTest\initConnectorMock(), Monolog\Handler\PHPConsoleHandlerTest\initDebugDispatcherMock(), and Monolog\Handler\PHPConsoleHandlerTest\initErrorDispatcherMock().
|
protected |
Definition at line 33 of file PHPConsoleHandlerTest.php.
Referenced by Monolog\Handler\PHPConsoleHandlerTest\testDebugTags().
|
protected |
Definition at line 35 of file PHPConsoleHandlerTest.php.