|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for Monolog\Formatter\JsonFormatterTest:
Collaboration diagram for Monolog\Formatter\JsonFormatterTest:Public Member Functions | |
| testConstruct () | |
| @covers Monolog\Formatter\JsonFormatter::__construct @covers Monolog\Formatter\JsonFormatter::getBatchMode @covers Monolog\Formatter\JsonFormatter::isAppendingNewlines More... | |
| testFormat () | |
| @covers Monolog\Formatter\JsonFormatter::format More... | |
| testFormatBatch () | |
| @covers Monolog\Formatter\JsonFormatter::formatBatch @covers Monolog\Formatter\JsonFormatter::formatBatchJson More... | |
| testFormatBatchNewlines () | |
| @covers Monolog\Formatter\JsonFormatter::formatBatch @covers Monolog\Formatter\JsonFormatter::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 | |
Protected Member Functions inherited from Monolog\TestCase | |
| 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().
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| \Exception | \Throwable | $exception |
Definition at line 155 of file JsonFormatterTest.php.
References PHPMailer\PHPMailer\$options, and $path.
Referenced by Monolog\Formatter\JsonFormatterTest\formatException().
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:| Monolog\Formatter\JsonFormatterTest::testConstruct | ( | ) |
@covers Monolog\Formatter\JsonFormatter::__construct @covers Monolog\Formatter\JsonFormatter::getBatchMode @covers Monolog\Formatter\JsonFormatter::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().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| Monolog\Formatter\JsonFormatterTest::testFormat | ( | ) |
@covers Monolog\Formatter\JsonFormatter::format
Definition at line 37 of file JsonFormatterTest.php.
References Monolog\Formatter\JsonFormatter\BATCH_MODE_JSON, and Monolog\TestCase\getRecord().
Here is the call graph for this function:| Monolog\Formatter\JsonFormatterTest::testFormatBatch | ( | ) |
@covers Monolog\Formatter\JsonFormatter::formatBatch @covers Monolog\Formatter\JsonFormatter::formatBatchJson
Definition at line 52 of file JsonFormatterTest.php.
References $records, Monolog\Logger\DEBUG, Monolog\TestCase\getRecord(), and Monolog\Logger\WARNING.
Here is the call graph for this function:| Monolog\Formatter\JsonFormatterTest::testFormatBatchNewlines | ( | ) |
@covers Monolog\Formatter\JsonFormatter::formatBatch @covers Monolog\Formatter\JsonFormatter::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.
Here is the call graph for this function:| Monolog\Formatter\JsonFormatterTest::testNormalizeHandleLargeArrays | ( | ) |
Definition at line 202 of file JsonFormatterTest.php.
References $res.
| Monolog\Formatter\JsonFormatterTest::testNormalizeHandleLargeArraysWithExactly1000Items | ( | ) |
Definition at line 184 of file JsonFormatterTest.php.
References $res.