ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Public Member Functions | |
setUp () | |
testWriteHeader () | |
testWriteContent () | |
testWriteContentUsesFormatterIfProvided () | |
testWriteContentWithEmoji () | |
testWriteContentWithColors ($level, $expectedColor) | |
provideLevelColors More... | |
testWriteContentWithPlainTextMessage () | |
provideLevelColors () | |
Private Member Functions | |
createHandler ($token='myToken', $channel='channel1', $username='Monolog', $useAttachment=true, $iconEmoji=null, $useShortAttachment=false, $includeExtra=false) | |
Private Attributes | |
$res | |
$handler | |
Additional Inherited Members | |
Protected Member Functions inherited from Monolog\TestCase | |
getRecord ($level=Logger::WARNING, $message='test', $context=array()) | |
getMultipleRecords () | |
getIdentityFormatter () | |
Definition at line 22 of file SlackHandlerTest.php.
|
private |
Definition at line 125 of file SlackHandlerTest.php.
References array, Monolog\Logger\DEBUG, and Monolog\TestCase\getIdentityFormatter().
Referenced by Monolog\Handler\SlackHandlerTest\testWriteContent(), Monolog\Handler\SlackHandlerTest\testWriteContentUsesFormatterIfProvided(), Monolog\Handler\SlackHandlerTest\testWriteContentWithColors(), Monolog\Handler\SlackHandlerTest\testWriteContentWithEmoji(), Monolog\Handler\SlackHandlerTest\testWriteContentWithPlainTextMessage(), and Monolog\Handler\SlackHandlerTest\testWriteHeader().
Monolog\Handler\SlackHandlerTest::provideLevelColors | ( | ) |
Definition at line 111 of file SlackHandlerTest.php.
References Monolog\Logger\ALERT, array, Monolog\Logger\CRITICAL, Monolog\Logger\DEBUG, Monolog\Logger\EMERGENCY, Monolog\Logger\ERROR, Monolog\Logger\INFO, Monolog\Logger\NOTICE, and Monolog\Logger\WARNING.
Monolog\Handler\SlackHandlerTest::setUp | ( | ) |
Definition at line 34 of file SlackHandlerTest.php.
Monolog\Handler\SlackHandlerTest::testWriteContent | ( | ) |
Definition at line 51 of file SlackHandlerTest.php.
References Monolog\Handler\SlackHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Monolog\Handler\SlackHandlerTest::testWriteContentUsesFormatterIfProvided | ( | ) |
Definition at line 61 of file SlackHandlerTest.php.
References Monolog\Handler\SlackHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Monolog\Handler\SlackHandlerTest::testWriteContentWithColors | ( | $level, | |
$expectedColor | |||
) |
provideLevelColors
Definition at line 91 of file SlackHandlerTest.php.
References Monolog\Handler\SlackHandlerTest\createHandler(), and Monolog\TestCase\getRecord().
Monolog\Handler\SlackHandlerTest::testWriteContentWithEmoji | ( | ) |
Definition at line 78 of file SlackHandlerTest.php.
References Monolog\Handler\SlackHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Monolog\Handler\SlackHandlerTest::testWriteContentWithPlainTextMessage | ( | ) |
Definition at line 101 of file SlackHandlerTest.php.
References Monolog\Handler\SlackHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Monolog\Handler\SlackHandlerTest::testWriteHeader | ( | ) |
Definition at line 41 of file SlackHandlerTest.php.
References Monolog\Handler\SlackHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
|
private |
Definition at line 32 of file SlackHandlerTest.php.
|
private |
Definition at line 27 of file SlackHandlerTest.php.