ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
testConstruct () | |
Monolog::__construct Monolog::getBatchMode Monolog::isAppendingNewlines More... | |
testFormat () | |
Monolog::format More... | |
testFormatBatch () | |
Monolog::formatBatch Monolog::formatBatchJson More... | |
testFormatBatchNewlines () | |
Monolog::formatBatch Monolog::formatBatchNewlines More... | |
testDefFormatWithException () | |
testDefFormatWithPreviousException () | |
testDefFormatWithThrowable () | |
testNormalizeHandleLargeArraysWithExactly1000Items () | |
testNormalizeHandleLargeArrays () | |
Private Member Functions | |
assertContextContainsFormattedException ($expected, $actual) | |
formatRecordWithExceptionInContext (JsonFormatter $formatter, $exception) | |
formatExceptionFilePathWithLine ($exception) | |
formatException ($exception, $previous=null) | |
Additional Inherited Members | |
![]() | |
getRecord ($level=Logger::WARNING, $message='test', $context=array()) | |
getMultipleRecords () | |
getIdentityFormatter () | |
Definition at line 17 of file JsonFormatterTest.php.
|
private |
string | $expected | |
string | $actual |
Definition at line 123 of file JsonFormatterTest.php.
Referenced by Monolog\Formatter\JsonFormatterTest\testDefFormatWithException(), Monolog\Formatter\JsonFormatterTest\testDefFormatWithPreviousException(), and Monolog\Formatter\JsonFormatterTest\testDefFormatWithThrowable().
|
private |
\Exception | \Throwable | $exception | |
null | string | $previous |
Definition at line 172 of file JsonFormatterTest.php.
References Monolog\Formatter\JsonFormatterTest\formatExceptionFilePathWithLine().
Referenced by Monolog\Formatter\JsonFormatterTest\testDefFormatWithException(), Monolog\Formatter\JsonFormatterTest\testDefFormatWithPreviousException(), and Monolog\Formatter\JsonFormatterTest\testDefFormatWithThrowable().
|
private |
\Exception | \Throwable | $exception |
Definition at line 155 of file JsonFormatterTest.php.
References PHPMailer\PHPMailer\$options, and $path.
Referenced by Monolog\Formatter\JsonFormatterTest\formatException().
|
private |
JsonFormatter | $formatter | |
\Exception | \Throwable | $exception |
Definition at line 137 of file JsonFormatterTest.php.
References $message, and Monolog\Formatter\JsonFormatter\format().
Referenced by Monolog\Formatter\JsonFormatterTest\testDefFormatWithException(), Monolog\Formatter\JsonFormatterTest\testDefFormatWithPreviousException(), and Monolog\Formatter\JsonFormatterTest\testDefFormatWithThrowable().
Monolog\Formatter\JsonFormatterTest::testConstruct | ( | ) |
Monolog::__construct Monolog::getBatchMode Monolog::isAppendingNewlines
Definition at line 24 of file JsonFormatterTest.php.
References Monolog\Formatter\JsonFormatter\BATCH_MODE_JSON, and Monolog\Formatter\JsonFormatter\BATCH_MODE_NEWLINES.
Monolog\Formatter\JsonFormatterTest::testDefFormatWithException | ( | ) |
Definition at line 79 of file JsonFormatterTest.php.
References $message, Monolog\Formatter\JsonFormatterTest\assertContextContainsFormattedException(), Monolog\Formatter\JsonFormatterTest\formatException(), and Monolog\Formatter\JsonFormatterTest\formatRecordWithExceptionInContext().
Monolog\Formatter\JsonFormatterTest::testDefFormatWithPreviousException | ( | ) |
Definition at line 90 of file JsonFormatterTest.php.
References $message, Monolog\Formatter\JsonFormatterTest\assertContextContainsFormattedException(), Monolog\Formatter\JsonFormatterTest\formatException(), and Monolog\Formatter\JsonFormatterTest\formatRecordWithExceptionInContext().
Monolog\Formatter\JsonFormatterTest::testDefFormatWithThrowable | ( | ) |
Definition at line 102 of file JsonFormatterTest.php.
References $message, Monolog\Formatter\JsonFormatterTest\assertContextContainsFormattedException(), Monolog\Formatter\JsonFormatterTest\formatException(), and Monolog\Formatter\JsonFormatterTest\formatRecordWithExceptionInContext().
Monolog\Formatter\JsonFormatterTest::testFormat | ( | ) |
Monolog::format
Definition at line 37 of file JsonFormatterTest.php.
References Monolog\Formatter\JsonFormatter\BATCH_MODE_JSON, and Monolog\TestCase\getRecord().
Monolog\Formatter\JsonFormatterTest::testFormatBatch | ( | ) |
Monolog::formatBatch Monolog::formatBatchJson
Definition at line 52 of file JsonFormatterTest.php.
References $records, Monolog\Logger\DEBUG, Monolog\TestCase\getRecord(), and Monolog\Logger\WARNING.
Monolog\Formatter\JsonFormatterTest::testFormatBatchNewlines | ( | ) |
Monolog::formatBatch Monolog::formatBatchNewlines
Definition at line 66 of file JsonFormatterTest.php.
References $key, $records, Monolog\Formatter\JsonFormatter\BATCH_MODE_NEWLINES, Monolog\Logger\DEBUG, Monolog\TestCase\getRecord(), and Monolog\Logger\WARNING.
Monolog\Formatter\JsonFormatterTest::testNormalizeHandleLargeArrays | ( | ) |
Definition at line 202 of file JsonFormatterTest.php.
References $res.
Monolog\Formatter\JsonFormatterTest::testNormalizeHandleLargeArraysWithExactly1000Items | ( | ) |