|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Inheritance diagram for Monolog\Handler\SocketHandlerTest:
Collaboration diagram for Monolog\Handler\SocketHandlerTest:Public Member Functions | |
| testInvalidHostname () | |
| @expectedException UnexpectedValueException More... | |
| testBadConnectionTimeout () | |
| @expectedException \InvalidArgumentException More... | |
| testSetConnectionTimeout () | |
| testBadTimeout () | |
| @expectedException \InvalidArgumentException More... | |
| testSetTimeout () | |
| testSetConnectionString () | |
| testExceptionIsThrownOnFsockopenError () | |
| @expectedException UnexpectedValueException More... | |
| testExceptionIsThrownOnPfsockopenError () | |
| @expectedException UnexpectedValueException More... | |
| testExceptionIsThrownIfCannotSetTimeout () | |
| @expectedException UnexpectedValueException More... | |
| testWriteFailsOnIfFwriteReturnsFalse () | |
| @expectedException RuntimeException More... | |
| testWriteFailsIfStreamTimesOut () | |
| @expectedException RuntimeException More... | |
| testWriteFailsOnIncompleteWrite () | |
| @expectedException RuntimeException More... | |
| testWriteWithMemoryFile () | |
| testWriteWithMock () | |
| testClose () | |
| testCloseDoesNotClosePersistentSocket () | |
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 238 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\testSetConnectionString(), Monolog\Handler\SocketHandlerTest\testSetConnectionTimeout(), and Monolog\Handler\SocketHandlerTest\testSetTimeout().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 249 of file SocketHandlerTest.php.
References Monolog\TestCase\getIdentityFormatter().
Referenced by Monolog\Handler\SocketHandlerTest\testClose(), Monolog\Handler\SocketHandlerTest\testCloseDoesNotClosePersistentSocket(), 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().
Here is the call graph for this function:
Here is the caller graph for this function:| Monolog\Handler\SocketHandlerTest::testBadConnectionTimeout | ( | ) |
@expectedException \InvalidArgumentException
Definition at line 44 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\createHandler().
Here is the call graph for this function:| Monolog\Handler\SocketHandlerTest::testBadTimeout | ( | ) |
@expectedException \InvalidArgumentException
Definition at line 60 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\createHandler().
Here is the call graph for this function:| Monolog\Handler\SocketHandlerTest::testClose | ( | ) |
Definition at line 219 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\setMockHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Here is the call graph for this function:| Monolog\Handler\SocketHandlerTest::testCloseDoesNotClosePersistentSocket | ( | ) |
Definition at line 228 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\setMockHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Here is the call graph for this function:| Monolog\Handler\SocketHandlerTest::testExceptionIsThrownIfCannotSetTimeout | ( | ) |
@expectedException UnexpectedValueException
Definition at line 107 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\setMockHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Here is the call graph for this function:| Monolog\Handler\SocketHandlerTest::testExceptionIsThrownOnFsockopenError | ( | ) |
@expectedException UnexpectedValueException
Definition at line 82 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\setMockHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Here is the call graph for this function:| Monolog\Handler\SocketHandlerTest::testExceptionIsThrownOnPfsockopenError | ( | ) |
@expectedException UnexpectedValueException
Definition at line 94 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\setMockHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Here is the call graph for this function:| Monolog\Handler\SocketHandlerTest::testInvalidHostname | ( | ) |
@expectedException UnexpectedValueException
Definition at line 35 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\createHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Here is the call graph for this function:| Monolog\Handler\SocketHandlerTest::testSetConnectionString | ( | ) |
Definition at line 73 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\createHandler().
Here is the call graph for this function:| Monolog\Handler\SocketHandlerTest::testSetConnectionTimeout | ( | ) |
Definition at line 50 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\createHandler().
Here is the call graph for this function:| Monolog\Handler\SocketHandlerTest::testSetTimeout | ( | ) |
Definition at line 66 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\createHandler().
Here is the call graph for this function:| Monolog\Handler\SocketHandlerTest::testWriteFailsIfStreamTimesOut | ( | ) |
@expectedException RuntimeException
Definition at line 142 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\setMockHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Here is the call graph for this function:| Monolog\Handler\SocketHandlerTest::testWriteFailsOnIfFwriteReturnsFalse | ( | ) |
@expectedException RuntimeException
Definition at line 119 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\setMockHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Here is the call graph for this function:| Monolog\Handler\SocketHandlerTest::testWriteFailsOnIncompleteWrite | ( | ) |
@expectedException RuntimeException
Definition at line 168 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\$res, Monolog\Handler\SocketHandlerTest\setMockHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Here is the call graph for this function:| Monolog\Handler\SocketHandlerTest::testWriteWithMemoryFile | ( | ) |
Definition at line 189 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\setMockHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Here is the call graph for this function:| Monolog\Handler\SocketHandlerTest::testWriteWithMock | ( | ) |
Definition at line 199 of file SocketHandlerTest.php.
References Monolog\Handler\SocketHandlerTest\setMockHandler(), and Monolog\Handler\SocketHandlerTest\writeRecord().
Here is the call graph for this function:
|
private |
Definition at line 244 of file SocketHandlerTest.php.
References Monolog\TestCase\getRecord(), and Monolog\Logger\WARNING.
Referenced by Monolog\Handler\SocketHandlerTest\testClose(), Monolog\Handler\SocketHandlerTest\testCloseDoesNotClosePersistentSocket(), 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 25 of file SocketHandlerTest.php.
|
private |
Definition at line 30 of file SocketHandlerTest.php.
Referenced by Monolog\Handler\SocketHandlerTest\testWriteFailsOnIncompleteWrite().