ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
setUp () | |
testHandle () | |
Monolog::write Monolog::handleBatch Monolog::bulkSend Monolog::getDefaultFormatter More... | |
testSetFormatter () | |
Monolog::setFormatter More... | |
testSetFormatterInvalid () | |
Monolog::setFormatter InvalidArgumentException ElasticSearchHandler is only compatible with ElasticaFormatter More... | |
testOptions () | |
Monolog::__construct Monolog::getOptions More... | |
testConnectionErrors ($ignore, $expectedError) | |
Monolog::bulkSend providerTestConnectionErrors More... | |
providerTestConnectionErrors () | |
testHandleIntegration () | |
Integration test using localhost Elastic Search server. More... | |
Protected Member Functions | |
getCreatedDocId (Response $response) | |
Return last created document id from ES response. More... | |
getDocSourceFromElastic (Client $client, $index, $type, $documentId) | |
Retrieve document by id from Elasticsearch. More... | |
Protected Member Functions inherited from Monolog\TestCase | |
getRecord ($level=Logger::WARNING, $message='test', $context=array()) | |
getMultipleRecords () | |
getIdentityFormatter () | |
Protected Attributes | |
$client | |
$options | |
Definition at line 22 of file ElasticSearchHandlerTest.php.
|
protected |
Return last created document id from ES response.
Response | $response | Elastica Response object |
Definition at line 213 of file ElasticSearchHandlerTest.php.
References $data.
Referenced by Monolog\Handler\ElasticSearchHandlerTest\testHandleIntegration().
|
protected |
Retrieve document by id from Elasticsearch.
Client | $client | Elastica client |
string | $index | |
string | $type | |
string | $documentId |
Definition at line 229 of file ElasticSearchHandlerTest.php.
References $data.
Referenced by Monolog\Handler\ElasticSearchHandlerTest\testHandleIntegration().
Monolog\Handler\ElasticSearchHandlerTest::providerTestConnectionErrors | ( | ) |
Definition at line 147 of file ElasticSearchHandlerTest.php.
Monolog\Handler\ElasticSearchHandlerTest::setUp | ( | ) |
Definition at line 37 of file ElasticSearchHandlerTest.php.
Monolog\Handler\ElasticSearchHandlerTest::testConnectionErrors | ( | $ignore, | |
$expectedError | |||
) |
Monolog::bulkSend providerTestConnectionErrors
Definition at line 129 of file ElasticSearchHandlerTest.php.
References Monolog\Handler\ElasticSearchHandlerTest\$client, $handler, $ignore, and Monolog\TestCase\getRecord().
Monolog\Handler\ElasticSearchHandlerTest::testHandle | ( | ) |
Monolog::write Monolog::handleBatch Monolog::bulkSend Monolog::getDefaultFormatter
Definition at line 57 of file ElasticSearchHandlerTest.php.
References $handler, and Monolog\Logger\ERROR.
Monolog\Handler\ElasticSearchHandlerTest::testHandleIntegration | ( | ) |
Integration test using localhost Elastic Search server.
Monolog::__construct Monolog::handleBatch Monolog::bulkSend Monolog::getDefaultFormatter
Definition at line 163 of file ElasticSearchHandlerTest.php.
References Monolog\Handler\ElasticSearchHandlerTest\$client, $handler, Monolog\Logger\ERROR, Monolog\Handler\ElasticSearchHandlerTest\getCreatedDocId(), and Monolog\Handler\ElasticSearchHandlerTest\getDocSourceFromElastic().
Monolog\Handler\ElasticSearchHandlerTest::testOptions | ( | ) |
Monolog::__construct Monolog::getOptions
Definition at line 114 of file ElasticSearchHandlerTest.php.
References $handler.
Monolog\Handler\ElasticSearchHandlerTest::testSetFormatter | ( | ) |
Monolog::setFormatter
Definition at line 88 of file ElasticSearchHandlerTest.php.
References $handler.
Monolog\Handler\ElasticSearchHandlerTest::testSetFormatterInvalid | ( | ) |
Monolog::setFormatter InvalidArgumentException ElasticSearchHandler is only compatible with ElasticaFormatter
Definition at line 103 of file ElasticSearchHandlerTest.php.
References $handler.
|
protected |
Definition at line 27 of file ElasticSearchHandlerTest.php.
Referenced by Monolog\Handler\ElasticSearchHandlerTest\testConnectionErrors(), and Monolog\Handler\ElasticSearchHandlerTest\testHandleIntegration().
|
protected |
Definition at line 32 of file ElasticSearchHandlerTest.php.