ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
testInvalidHostname () | |
UnexpectedValueException More... | |
testBadConnectionTimeout () | |
testSetConnectionTimeout () | |
testBadTimeout () | |
testSetTimeout () | |
testSetWritingTimeout () | |
testSetChunkSize () | |
testSetConnectionString () | |
testExceptionIsThrownOnFsockopenError () | |
UnexpectedValueException More... | |
testExceptionIsThrownOnPfsockopenError () | |
UnexpectedValueException More... | |
testExceptionIsThrownIfCannotSetTimeout () | |
UnexpectedValueException More... | |
testExceptionIsThrownIfCannotSetChunkSize () | |
UnexpectedValueException More... | |
testWriteFailsOnIfFwriteReturnsFalse () | |
RuntimeException More... | |
testWriteFailsIfStreamTimesOut () | |
RuntimeException More... | |
testWriteFailsOnIncompleteWrite () | |
RuntimeException More... | |
testWriteWithMemoryFile () | |
testWriteWithMock () | |
testClose () | |
testCloseDoesNotClosePersistentSocket () | |
testAvoidInfiniteLoopWhenNoDataIsWrittenForAWritingTimeoutSeconds () | |
Private Member Functions | |
createHandler ($connectionString) | |
writeRecord ($string) | |
setMockHandler (array $methods=array()) | |
Private Attributes | |
$handler | |
$res | |
Additional Inherited Members | |
Protected Member Functions inherited from Monolog\TestCase | |
getRecord ($level=Logger::WARNING, $message='test', $context=array()) | |
getMultipleRecords () | |
getIdentityFormatter () | |
Definition at line 20 of file SocketHandlerTest.php.
|
private |
Definition at line 285 of file SocketHandlerTest.php.
References Monolog\TestCase\getIdentityFormatter().
Referenced by Monolog\Handler\SocketHandlerTest\testBadConnectionTimeout(), Monolog\Handler\SocketHandlerTest\testBadTimeout(), Monolog\Handler\SocketHandlerTest\testInvalidHostname(), Monolog\Handler\SocketHandlerTest\testSetChunkSize(), Monolog\Handler\SocketHandlerTest\testSetConnectionString(), Monolog\Handler\SocketHandlerTest\testSetConnectionTimeout(), Monolog\Handler\SocketHandlerTest\testSetTimeout(), and Monolog\Handler\SocketHandlerTest\testSetWritingTimeout().
|
private |
Definition at line 296 of file SocketHandlerTest.php.
References Monolog\TestCase\getIdentityFormatter().
Referenced by Monolog\Handler\SocketHandlerTest\testAvoidInfiniteLoopWhenNoDataIsWrittenForAWritingTimeoutSeconds(), Monolog\Handler\SocketHandlerTest\testClose(), Monolog\Handler\SocketHandlerTest\testCloseDoesNotClosePersistentSocket(), Monolog\Handler\SocketHandlerTest\testExceptionIsThrownIfCannotSetChunkSize(), Monolog\Handler\SocketHandlerTest\testExceptionIsThrownIfCannotSetTimeout(), Monolog\Handler\SocketHandlerTest\testExceptionIsThrownOnFsockopenError(), Monolog\Handler\SocketHandlerTest\testExceptionIsThrownOnPfsockopenError(), Monolog\Handler\SocketHandlerTest\testWriteFailsIfStreamTimesOut(), Monolog\Handler\SocketHandlerTest\testWriteFailsOnIfFwriteReturnsFalse(), Monolog\Handler\SocketHandlerTest\testWriteFailsOnIncompleteWrite(), Monolog\Handler\SocketHandlerTest\testWriteWithMemoryFile(), and Monolog\Handler\SocketHandlerTest\testWriteWithMock().
Monolog\Handler\SocketHandlerTest::testAvoidInfiniteLoopWhenNoDataIsWrittenForAWritingTimeoutSeconds | ( | ) |
Definition at line 268 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\setMockHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Monolog\Handler\SocketHandlerTest::testBadConnectionTimeout | ( | ) |
Definition at line 44 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\createHandler().
Monolog\Handler\SocketHandlerTest::testBadTimeout | ( | ) |
Definition at line 60 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\createHandler().
Monolog\Handler\SocketHandlerTest::testClose | ( | ) |
Definition at line 246 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\setMockHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Monolog\Handler\SocketHandlerTest::testCloseDoesNotClosePersistentSocket | ( | ) |
Definition at line 255 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\setMockHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Monolog\Handler\SocketHandlerTest::testExceptionIsThrownIfCannotSetChunkSize | ( | ) |
UnexpectedValueException
Definition at line 133 of file SocketHandlerTest.php.
References Sabre\Event\once(), Monolog\Handler\SocketHandlerTest\setMockHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Monolog\Handler\SocketHandlerTest::testExceptionIsThrownIfCannotSetTimeout | ( | ) |
UnexpectedValueException
Definition at line 121 of file SocketHandlerTest.php.
References Sabre\Event\once(), Monolog\Handler\SocketHandlerTest\setMockHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Monolog\Handler\SocketHandlerTest::testExceptionIsThrownOnFsockopenError | ( | ) |
UnexpectedValueException
Definition at line 96 of file SocketHandlerTest.php.
References Sabre\Event\once(), Monolog\Handler\SocketHandlerTest\setMockHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Monolog\Handler\SocketHandlerTest::testExceptionIsThrownOnPfsockopenError | ( | ) |
UnexpectedValueException
Definition at line 108 of file SocketHandlerTest.php.
References Sabre\Event\once(), Monolog\Handler\SocketHandlerTest\setMockHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Monolog\Handler\SocketHandlerTest::testInvalidHostname | ( | ) |
UnexpectedValueException
Definition at line 35 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\createHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Monolog\Handler\SocketHandlerTest::testSetChunkSize | ( | ) |
Definition at line 80 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\createHandler().
Monolog\Handler\SocketHandlerTest::testSetConnectionString | ( | ) |
Definition at line 87 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\createHandler().
Monolog\Handler\SocketHandlerTest::testSetConnectionTimeout | ( | ) |
Definition at line 50 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\createHandler().
Monolog\Handler\SocketHandlerTest::testSetTimeout | ( | ) |
Definition at line 66 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\createHandler().
Monolog\Handler\SocketHandlerTest::testSetWritingTimeout | ( | ) |
Definition at line 73 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\createHandler().
Monolog\Handler\SocketHandlerTest::testWriteFailsIfStreamTimesOut | ( | ) |
RuntimeException
Definition at line 169 of file SocketHandlerTest.php.
References $map, Monolog\Handler\SocketHandlerTest\setMockHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Monolog\Handler\SocketHandlerTest::testWriteFailsOnIfFwriteReturnsFalse | ( | ) |
RuntimeException
Definition at line 146 of file SocketHandlerTest.php.
References $map, Monolog\Handler\SocketHandlerTest\setMockHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Monolog\Handler\SocketHandlerTest::testWriteFailsOnIncompleteWrite | ( | ) |
RuntimeException
Definition at line 195 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\$res, Monolog\Handler\SocketHandlerTest\setMockHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Monolog\Handler\SocketHandlerTest::testWriteWithMemoryFile | ( | ) |
Definition at line 216 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\setMockHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Monolog\Handler\SocketHandlerTest::testWriteWithMock | ( | ) |
Definition at line 226 of file SocketHandlerTest.php.
References $map, Monolog\Handler\SocketHandlerTest\setMockHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
|
private |
Definition at line 291 of file SocketHandlerTest.php.
References Monolog\TestCase\getRecord(), and Monolog\Logger\WARNING.
Referenced by Monolog\Handler\SocketHandlerTest\testAvoidInfiniteLoopWhenNoDataIsWrittenForAWritingTimeoutSeconds(), Monolog\Handler\SocketHandlerTest\testClose(), Monolog\Handler\SocketHandlerTest\testCloseDoesNotClosePersistentSocket(), Monolog\Handler\SocketHandlerTest\testExceptionIsThrownIfCannotSetChunkSize(), Monolog\Handler\SocketHandlerTest\testExceptionIsThrownIfCannotSetTimeout(), Monolog\Handler\SocketHandlerTest\testExceptionIsThrownOnFsockopenError(), Monolog\Handler\SocketHandlerTest\testExceptionIsThrownOnPfsockopenError(), Monolog\Handler\SocketHandlerTest\testInvalidHostname(), Monolog\Handler\SocketHandlerTest\testWriteFailsIfStreamTimesOut(), Monolog\Handler\SocketHandlerTest\testWriteFailsOnIfFwriteReturnsFalse(), Monolog\Handler\SocketHandlerTest\testWriteFailsOnIncompleteWrite(), Monolog\Handler\SocketHandlerTest\testWriteWithMemoryFile(), and Monolog\Handler\SocketHandlerTest\testWriteWithMock().
|
private |
Definition at line 25 of file SocketHandlerTest.php.
|
private |
Definition at line 30 of file SocketHandlerTest.php.
Referenced by Monolog\Handler\SocketHandlerTest\testWriteFailsOnIncompleteWrite().