ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Public Member Functions | |
testWriteHeader () | |
testWriteCustomHostHeader () | |
testWriteV2 () | |
testWriteV2Notify () | |
testRoomSpaces () | |
testWriteContent ($content) | |
testWriteHeader More... | |
testWriteContentV1WithoutName () | |
testWriteContentNotify ($content) | |
testWriteCustomHostHeader More... | |
testWriteContentV2 ($content) | |
testWriteV2 More... | |
testWriteContentV2Notify ($content) | |
testWriteV2Notify More... | |
testWriteContentV2WithoutName () | |
testWriteWithComplexMessage () | |
testWriteTruncatesLongMessage () | |
testWriteWithErrorLevelsAndColors ($level, $expectedColor) | |
provideLevelColors More... | |
provideLevelColors () | |
testHandleBatch ($records, $expectedColor) | |
provideBatchRecords More... | |
provideBatchRecords () | |
testCreateWithTooLongName () | |
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 $version, array, 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().
Monolog\Handler\HipChatHandlerTest::provideBatchRecords | ( | ) |
Definition at line 205 of file HipChatHandlerTest.php.
References array, 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, 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\HipChatHandlerTest::testCreateWithTooLongName | ( | ) |
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 | |||
) |
provideBatchRecords
Definition at line 193 of file HipChatHandlerTest.php.
References $records, and Monolog\Handler\HipChatHandlerTest\createHandler().
Monolog\Handler\HipChatHandlerTest::testRoomSpaces | ( | ) |
Definition at line 75 of file HipChatHandlerTest.php.
References Monolog\Handler\HipChatHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Monolog\Handler\HipChatHandlerTest::testWriteContent | ( | $content | ) |
testWriteHeader
Definition at line 90 of file HipChatHandlerTest.php.
Monolog\Handler\HipChatHandlerTest::testWriteContentNotify | ( | $content | ) |
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().
Monolog\Handler\HipChatHandlerTest::testWriteContentV2 | ( | $content | ) |
testWriteV2
Definition at line 118 of file HipChatHandlerTest.php.
Monolog\Handler\HipChatHandlerTest::testWriteContentV2Notify | ( | $content | ) |
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().
Monolog\Handler\HipChatHandlerTest::testWriteCustomHostHeader | ( | ) |
Definition at line 39 of file HipChatHandlerTest.php.
References Monolog\Handler\HipChatHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Monolog\Handler\HipChatHandlerTest::testWriteHeader | ( | ) |
Definition at line 27 of file HipChatHandlerTest.php.
References Monolog\Handler\HipChatHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Monolog\Handler\HipChatHandlerTest::testWriteTruncatesLongMessage | ( | ) |
Definition at line 153 of file HipChatHandlerTest.php.
References Monolog\Handler\HipChatHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Monolog\Handler\HipChatHandlerTest::testWriteV2 | ( | ) |
Definition at line 51 of file HipChatHandlerTest.php.
References Monolog\Handler\HipChatHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Monolog\Handler\HipChatHandlerTest::testWriteV2Notify | ( | ) |
Definition at line 63 of file HipChatHandlerTest.php.
References Monolog\Handler\HipChatHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Monolog\Handler\HipChatHandlerTest::testWriteWithComplexMessage | ( | ) |
Definition at line 143 of file HipChatHandlerTest.php.
References Monolog\Handler\HipChatHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Monolog\Handler\HipChatHandlerTest::testWriteWithErrorLevelsAndColors | ( | $level, | |
$expectedColor | |||
) |
provideLevelColors
Definition at line 166 of file HipChatHandlerTest.php.
References Monolog\Handler\HipChatHandlerTest\createHandler(), and Monolog\TestCase\getRecord().
|
private |
Definition at line 25 of file HipChatHandlerTest.php.
|
private |
Definition at line 23 of file HipChatHandlerTest.php.