|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for Monolog\Handler\HipChatHandlerTest:
Collaboration diagram for Monolog\Handler\HipChatHandlerTest:Public Member Functions | |
| testWriteHeader () | |
| testWriteCustomHostHeader () | |
| testWriteV2 () | |
| testWriteV2Notify () | |
| testRoomSpaces () | |
| testWriteContent ($content) | |
| @depends testWriteHeader More... | |
| testWriteContentV1WithoutName () | |
| testWriteContentNotify ($content) | |
| @depends testWriteCustomHostHeader More... | |
| testWriteContentV2 ($content) | |
| @depends testWriteV2 More... | |
| testWriteContentV2Notify ($content) | |
| @depends testWriteV2Notify More... | |
| testWriteContentV2WithoutName () | |
| testWriteWithComplexMessage () | |
| testWriteTruncatesLongMessage () | |
| testWriteWithErrorLevelsAndColors ($level, $expectedColor) | |
| @dataProvider provideLevelColors More... | |
| provideLevelColors () | |
| testHandleBatch ($records, $expectedColor) | |
| @dataProvider provideBatchRecords More... | |
| provideBatchRecords () | |
| testCreateWithTooLongName () | |
| @expectedException InvalidArgumentException More... | |
| testCreateWithTooLongNameV2 () | |
Private Member Functions | |
| createHandler ($token='myToken', $room='room1', $name='Monolog', $notify=false, $host='api.hipchat.com', $version='v1') | |
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 HipChatHandlerTest.php.
|
private |
Definition at line 239 of file HipChatHandlerTest.php.
References $name, PHPMailer\PHPMailer\$token, $version, Monolog\Logger\DEBUG, and Monolog\TestCase\getIdentityFormatter().
Referenced by Monolog\Handler\HipChatHandlerTest\testHandleBatch(), Monolog\Handler\HipChatHandlerTest\testRoomSpaces(), Monolog\Handler\HipChatHandlerTest\testWriteContentV1WithoutName(), Monolog\Handler\HipChatHandlerTest\testWriteContentV2WithoutName(), Monolog\Handler\HipChatHandlerTest\testWriteCustomHostHeader(), Monolog\Handler\HipChatHandlerTest\testWriteHeader(), Monolog\Handler\HipChatHandlerTest\testWriteTruncatesLongMessage(), Monolog\Handler\HipChatHandlerTest\testWriteV2(), Monolog\Handler\HipChatHandlerTest\testWriteV2Notify(), Monolog\Handler\HipChatHandlerTest\testWriteWithComplexMessage(), and Monolog\Handler\HipChatHandlerTest\testWriteWithErrorLevelsAndColors().
Here is the call graph for this function:
Here is the caller graph for this function:| Monolog\Handler\HipChatHandlerTest::provideBatchRecords | ( | ) |
Definition at line 205 of file HipChatHandlerTest.php.
References Monolog\Logger\CRITICAL, Monolog\Logger\DEBUG, Monolog\Logger\NOTICE, and Monolog\Logger\WARNING.
| Monolog\Handler\HipChatHandlerTest::provideLevelColors | ( | ) |
Definition at line 176 of file HipChatHandlerTest.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\HipChatHandlerTest::testCreateWithTooLongName | ( | ) |
@expectedException InvalidArgumentException
Definition at line 269 of file HipChatHandlerTest.php.
| Monolog\Handler\HipChatHandlerTest::testCreateWithTooLongNameV2 | ( | ) |
Definition at line 274 of file HipChatHandlerTest.php.
References Monolog\Logger\CRITICAL.
| Monolog\Handler\HipChatHandlerTest::testHandleBatch | ( | $records, | |
| $expectedColor | |||
| ) |
@dataProvider provideBatchRecords
Definition at line 193 of file HipChatHandlerTest.php.
References $records, and Monolog\Handler\HipChatHandlerTest\createHandler().
Here is the call graph for this function:| Monolog\Handler\HipChatHandlerTest::testRoomSpaces | ( | ) |
Definition at line 75 of file HipChatHandlerTest.php.
References Monolog\Handler\HipChatHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Here is the call graph for this function:| Monolog\Handler\HipChatHandlerTest::testWriteContent | ( | $content | ) |
@depends testWriteHeader
Definition at line 90 of file HipChatHandlerTest.php.
| Monolog\Handler\HipChatHandlerTest::testWriteContentNotify | ( | $content | ) |
@depends testWriteCustomHostHeader
Definition at line 110 of file HipChatHandlerTest.php.
| Monolog\Handler\HipChatHandlerTest::testWriteContentV1WithoutName | ( | ) |
Definition at line 95 of file HipChatHandlerTest.php.
References Monolog\Handler\HipChatHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Here is the call graph for this function:| Monolog\Handler\HipChatHandlerTest::testWriteContentV2 | ( | $content | ) |
@depends testWriteV2
Definition at line 118 of file HipChatHandlerTest.php.
| Monolog\Handler\HipChatHandlerTest::testWriteContentV2Notify | ( | $content | ) |
@depends testWriteV2Notify
Definition at line 126 of file HipChatHandlerTest.php.
| Monolog\Handler\HipChatHandlerTest::testWriteContentV2WithoutName | ( | ) |
Definition at line 131 of file HipChatHandlerTest.php.
References Monolog\Handler\HipChatHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Here is the call graph for this function:| Monolog\Handler\HipChatHandlerTest::testWriteCustomHostHeader | ( | ) |
Definition at line 39 of file HipChatHandlerTest.php.
References Monolog\Handler\HipChatHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Here is the call graph for this function:| Monolog\Handler\HipChatHandlerTest::testWriteHeader | ( | ) |
Definition at line 27 of file HipChatHandlerTest.php.
References Monolog\Handler\HipChatHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Here is the call graph for this function:| Monolog\Handler\HipChatHandlerTest::testWriteTruncatesLongMessage | ( | ) |
Definition at line 153 of file HipChatHandlerTest.php.
References Monolog\Handler\HipChatHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Here is the call graph for this function:| Monolog\Handler\HipChatHandlerTest::testWriteV2 | ( | ) |
Definition at line 51 of file HipChatHandlerTest.php.
References Monolog\Handler\HipChatHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Here is the call graph for this function:| Monolog\Handler\HipChatHandlerTest::testWriteV2Notify | ( | ) |
Definition at line 63 of file HipChatHandlerTest.php.
References Monolog\Handler\HipChatHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Here is the call graph for this function:| Monolog\Handler\HipChatHandlerTest::testWriteWithComplexMessage | ( | ) |
Definition at line 143 of file HipChatHandlerTest.php.
References Monolog\Handler\HipChatHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Here is the call graph for this function:| Monolog\Handler\HipChatHandlerTest::testWriteWithErrorLevelsAndColors | ( | $level, | |
| $expectedColor | |||
| ) |
@dataProvider provideLevelColors
Definition at line 166 of file HipChatHandlerTest.php.
References Monolog\Handler\HipChatHandlerTest\createHandler(), and Monolog\TestCase\getRecord().
Here is the call graph for this function:
|
private |
Definition at line 25 of file HipChatHandlerTest.php.
|
private |
Definition at line 23 of file HipChatHandlerTest.php.