ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Almost all examples (expected header, titles, messages) taken from https://www.pushover.net/api. More...
Public Member Functions | |
testWriteHeader () | |
testWriteContent ($content) | |
testWriteHeader More... | |
testWriteWithComplexTitle () | |
testWriteWithComplexMessage () | |
testWriteWithTooLongMessage () | |
testWriteWithHighPriority () | |
testWriteWithEmergencyPriority () | |
testWriteToMultipleUsers () | |
Private Member Functions | |
createHandler ($token='myToken', $user='myUser', $title='Monolog') | |
Private Attributes | |
$res | |
$handler | |
Additional Inherited Members | |
Protected Member Functions inherited from Monolog\TestCase | |
getRecord ($level=Logger::WARNING, $message='test', $context=array()) | |
getMultipleRecords () | |
getIdentityFormatter () | |
Almost all examples (expected header, titles, messages) taken from https://www.pushover.net/api.
Definition at line 23 of file PushoverHandlerTest.php.
|
private |
Definition at line 115 of file PushoverHandlerTest.php.
References $title, array, and Monolog\TestCase\getIdentityFormatter().
Referenced by Monolog\Handler\PushoverHandlerTest\testWriteHeader(), Monolog\Handler\PushoverHandlerTest\testWriteToMultipleUsers(), Monolog\Handler\PushoverHandlerTest\testWriteWithComplexMessage(), Monolog\Handler\PushoverHandlerTest\testWriteWithComplexTitle(), Monolog\Handler\PushoverHandlerTest\testWriteWithEmergencyPriority(), Monolog\Handler\PushoverHandlerTest\testWriteWithHighPriority(), and Monolog\Handler\PushoverHandlerTest\testWriteWithTooLongMessage().
Monolog\Handler\PushoverHandlerTest::testWriteContent | ( | $content | ) |
testWriteHeader
Definition at line 44 of file PushoverHandlerTest.php.
Monolog\Handler\PushoverHandlerTest::testWriteHeader | ( | ) |
Definition at line 28 of file PushoverHandlerTest.php.
References Monolog\Handler\PushoverHandlerTest\createHandler(), Monolog\Logger\CRITICAL, Monolog\Logger\EMERGENCY, and Monolog\TestCase\getRecord().
Monolog\Handler\PushoverHandlerTest::testWriteToMultipleUsers | ( | ) |
Definition at line 104 of file PushoverHandlerTest.php.
References array, Monolog\Handler\PushoverHandlerTest\createHandler(), Monolog\Logger\EMERGENCY, and Monolog\TestCase\getRecord().
Monolog\Handler\PushoverHandlerTest::testWriteWithComplexMessage | ( | ) |
Definition at line 59 of file PushoverHandlerTest.php.
References Monolog\Handler\PushoverHandlerTest\createHandler(), Monolog\Logger\CRITICAL, Monolog\Logger\EMERGENCY, and Monolog\TestCase\getRecord().
Monolog\Handler\PushoverHandlerTest::testWriteWithComplexTitle | ( | ) |
Definition at line 49 of file PushoverHandlerTest.php.
References Monolog\Handler\PushoverHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Monolog\Handler\PushoverHandlerTest::testWriteWithEmergencyPriority | ( | ) |
Definition at line 94 of file PushoverHandlerTest.php.
References Monolog\Handler\PushoverHandlerTest\createHandler(), Monolog\Logger\EMERGENCY, and Monolog\TestCase\getRecord().
Monolog\Handler\PushoverHandlerTest::testWriteWithHighPriority | ( | ) |
Definition at line 84 of file PushoverHandlerTest.php.
References Monolog\Handler\PushoverHandlerTest\createHandler(), Monolog\Logger\CRITICAL, and Monolog\TestCase\getRecord().
Monolog\Handler\PushoverHandlerTest::testWriteWithTooLongMessage | ( | ) |
Definition at line 70 of file PushoverHandlerTest.php.
References Monolog\Handler\PushoverHandlerTest\createHandler(), Monolog\Logger\CRITICAL, Monolog\Logger\EMERGENCY, and Monolog\TestCase\getRecord().
|
private |
Definition at line 26 of file PushoverHandlerTest.php.
|
private |
Definition at line 25 of file PushoverHandlerTest.php.