MediaWiki  master
MediaWiki\Logger\Monolog\KafkaHandlerTest Class Reference

\MediaWiki\Logger\Monolog\KafkaHandler More...

Inheritance diagram for MediaWiki\Logger\Monolog\KafkaHandlerTest:
Collaboration diagram for MediaWiki\Logger\Monolog\KafkaHandlerTest:

Public Member Functions

 swallowsExceptionsWhenRequested ()
 
 testBatchHandlesNullFormatterResult ()
 
 testGetAvailablePartitionsException ( $options, $expectException)
 swallowsExceptionsWhenRequested More...
 
 testHandlesNullFormatterResult ()
 
 testSendException ( $options, $expectException)
 swallowsExceptionsWhenRequested More...
 
 testTopicNaming ( $options, $expect)
 topicNamingProvider More...
 
 topicNamingProvider ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from MediaWikiUnitTestCase
 setUp ()
 
 tearDown ()
 

Detailed Description

Member Function Documentation

◆ setUp()

MediaWiki\Logger\Monolog\KafkaHandlerTest::setUp ( )
protected

Definition at line 31 of file KafkaHandlerTest.php.

◆ swallowsExceptionsWhenRequested()

MediaWiki\Logger\Monolog\KafkaHandlerTest::swallowsExceptionsWhenRequested ( )

Definition at line 74 of file KafkaHandlerTest.php.

References false, and true.

◆ testBatchHandlesNullFormatterResult()

MediaWiki\Logger\Monolog\KafkaHandlerTest::testBatchHandlesNullFormatterResult ( )

Definition at line 184 of file KafkaHandlerTest.php.

References $handler, anything, class, and null.

◆ testGetAvailablePartitionsException()

MediaWiki\Logger\Monolog\KafkaHandlerTest::testGetAvailablePartitionsException (   $options,
  $expectException 
)

swallowsExceptionsWhenRequested

Definition at line 88 of file KafkaHandlerTest.php.

References $handler, and $options.

◆ testHandlesNullFormatterResult()

MediaWiki\Logger\Monolog\KafkaHandlerTest::testHandlesNullFormatterResult ( )

Definition at line 147 of file KafkaHandlerTest.php.

References $handler, anything, class, and null.

◆ testSendException()

MediaWiki\Logger\Monolog\KafkaHandlerTest::testSendException (   $options,
  $expectException 
)

swallowsExceptionsWhenRequested

Definition at line 119 of file KafkaHandlerTest.php.

References $handler, and $options.

◆ testTopicNaming()

MediaWiki\Logger\Monolog\KafkaHandlerTest::testTopicNaming (   $options,
  $expect 
)

topicNamingProvider

Definition at line 51 of file KafkaHandlerTest.php.

References $handler, $options, and anything.

◆ topicNamingProvider()

MediaWiki\Logger\Monolog\KafkaHandlerTest::topicNamingProvider ( )

Definition at line 41 of file KafkaHandlerTest.php.


The documentation for this class was generated from the following file: