|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Inheritance diagram for Monolog\Handler\SlackHandlerTest:
Collaboration diagram for Monolog\Handler\SlackHandlerTest:Public Member Functions | |
| setUp () | |
| testWriteHeader () | |
| testWriteContent () | |
| testWriteContentWithEmoji () | |
| testWriteContentWithColors ($level, $expectedColor) | |
| @dataProvider 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 21 of file SlackHandlerTest.php.
|
private |
Definition at line 107 of file SlackHandlerTest.php.
References Monolog\Logger\DEBUG, and Monolog\TestCase\getIdentityFormatter().
Referenced by Monolog\Handler\SlackHandlerTest\testWriteContent(), Monolog\Handler\SlackHandlerTest\testWriteContentWithColors(), Monolog\Handler\SlackHandlerTest\testWriteContentWithEmoji(), Monolog\Handler\SlackHandlerTest\testWriteContentWithPlainTextMessage(), and Monolog\Handler\SlackHandlerTest\testWriteHeader().
Here is the call graph for this function:
Here is the caller graph for this function:| Monolog\Handler\SlackHandlerTest::provideLevelColors | ( | ) |
Definition at line 93 of file SlackHandlerTest.php.
References Monolog\Logger\ALERT, 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 33 of file SlackHandlerTest.php.
| Monolog\Handler\SlackHandlerTest::testWriteContent | ( | ) |
Definition at line 50 of file SlackHandlerTest.php.
References Monolog\Handler\SlackHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Here is the call graph for this function:| Monolog\Handler\SlackHandlerTest::testWriteContentWithColors | ( | $level, | |
| $expectedColor | |||
| ) |
@dataProvider provideLevelColors
Definition at line 73 of file SlackHandlerTest.php.
References Monolog\Handler\SlackHandlerTest\createHandler(), and Monolog\TestCase\getRecord().
Here is the call graph for this function:| Monolog\Handler\SlackHandlerTest::testWriteContentWithEmoji | ( | ) |
Definition at line 60 of file SlackHandlerTest.php.
References Monolog\Handler\SlackHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Here is the call graph for this function:| Monolog\Handler\SlackHandlerTest::testWriteContentWithPlainTextMessage | ( | ) |
Definition at line 83 of file SlackHandlerTest.php.
References Monolog\Handler\SlackHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Here is the call graph for this function:| Monolog\Handler\SlackHandlerTest::testWriteHeader | ( | ) |
Definition at line 40 of file SlackHandlerTest.php.
References Monolog\Handler\SlackHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Here is the call graph for this function:
|
private |
Definition at line 31 of file SlackHandlerTest.php.
|
private |
Definition at line 26 of file SlackHandlerTest.php.