MediaWiki  master
LogFormatterTestCase Class Reference
Inheritance diagram for LogFormatterTestCase:
Collaboration diagram for LogFormatterTestCase:

Public Member Functions

 doTestLogFormatter ( $row, $extra)
 

Protected Member Functions

 expandDatabaseRow ( $data, $legacy)
 
 isLegacy ( $extra)
 
- Protected Member Functions inherited from MediaWikiLangTestCase
 setUp ()
 

Private Member Functions

 getLinkTargetsAsStrings (array $linkTargets)
 

Static Private Member Functions

static removeApiMetaData ( $val)
 
static removeSomeHtml ( $html)
 

Detailed Description

Since
1.26

Definition at line 7 of file LogFormatterTestCase.php.

Member Function Documentation

◆ doTestLogFormatter()

LogFormatterTestCase::doTestLogFormatter (   $row,
  $extra 
)

Definition at line 9 of file LogFormatterTestCase.php.

References expandDatabaseRow(), getLinkTargetsAsStrings(), isLegacy(), LogFormatter\newFromRow(), and RequestContext\resetMain().

Referenced by NewUsersLogFormatterTest\testAutocreateLogDatabaseRows(), RightsLogFormatterTest\testAutopromoteLogDatabaseRows(), BlockLogFormatterTest\testBlockLogDatabaseRows(), NewUsersLogFormatterTest\testByemailLogDatabaseRows(), ContentModelLogFormatterTest\testContentModelLogDatabaseRows(), NewUsersLogFormatterTest\testCreate2LogDatabaseRows(), NewUsersLogFormatterTest\testCreateLogDatabaseRows(), DeleteLogFormatterTest\testDeleteLogDatabaseRows(), DeleteLogFormatterTest\testEventLogDatabaseRows(), ImportLogFormatterTest\testInterwikiLogDatabaseRows(), MergeLogFormatterTest\testMergeLogDatabaseRows(), ProtectLogFormatterTest\testModifyLogDatabaseRows(), MoveLogFormatterTest\testMoveLogDatabaseRows(), ProtectLogFormatterTest\testMoveProtLogDatabaseRows(), MoveLogFormatterTest\testMoveRedirLogDatabaseRows(), NewUsersLogFormatterTest\testNewUsersLogDatabaseRows(), UploadLogFormatterTest\testOverwriteLogDatabaseRows(), PageLangLogFormatterTest\testPageLangLogDatabaseRows(), BlockLogFormatterTest\testPartialBlockLogDatabaseRows(), PatrolLogFormatterTest\testPatrolLogDatabaseRows(), ProtectLogFormatterTest\testProtectLogDatabaseRows(), BlockLogFormatterTest\testReblockLogDatabaseRows(), DeleteLogFormatterTest\testRestoreLogDatabaseRows(), UploadLogFormatterTest\testRevertLogDatabaseRows(), DeleteLogFormatterTest\testRevisionLogDatabaseRows(), RightsLogFormatterTest\testRightsLogDatabaseRows(), BlockLogFormatterTest\testSuppressBlockLogDatabaseRows(), DeleteLogFormatterTest\testSuppressDeleteLogDatabaseRows(), DeleteLogFormatterTest\testSuppressEventLogDatabaseRows(), BlockLogFormatterTest\testSuppressReblockLogDatabaseRows(), DeleteLogFormatterTest\testSuppressRevisionLogDatabaseRows(), BlockLogFormatterTest\testUnblockLogDatabaseRows(), ProtectLogFormatterTest\testUnprotectLogDatabaseRows(), ImportLogFormatterTest\testUploadLogDatabaseRows(), and UploadLogFormatterTest\testUploadLogDatabaseRows().

◆ expandDatabaseRow()

LogFormatterTestCase::expandDatabaseRow (   $data,
  $legacy 
)
protected

◆ getLinkTargetsAsStrings()

LogFormatterTestCase::getLinkTargetsAsStrings ( array  $linkTargets)
private

◆ isLegacy()

LogFormatterTestCase::isLegacy (   $extra)
protected

Definition at line 44 of file LogFormatterTestCase.php.

Referenced by doTestLogFormatter().

◆ removeApiMetaData()

static LogFormatterTestCase::removeApiMetaData (   $val)
staticprivate

Definition at line 75 of file LogFormatterTestCase.php.

References $value, and as.

◆ removeSomeHtml()

static LogFormatterTestCase::removeSomeHtml (   $html)
staticprivate

Definition at line 69 of file LogFormatterTestCase.php.

References $html.


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