MediaWiki  master
UploadLogFormatterTest Class Reference

UploadLogFormatter. More...

Inheritance diagram for UploadLogFormatterTest:
Collaboration diagram for UploadLogFormatterTest:

Public Member Functions

 testOverwriteLogDatabaseRows ( $row, $extra)
 provideOverwriteLogDatabaseRows More...
 
 testRevertLogDatabaseRows ( $row, $extra)
 provideRevertLogDatabaseRows More...
 
 testUploadLogDatabaseRows ( $row, $extra)
 provideUploadLogDatabaseRows More...
 
- Public Member Functions inherited from LogFormatterTestCase
 doTestLogFormatter ( $row, $extra)
 

Static Public Member Functions

static provideOverwriteLogDatabaseRows ()
 Provide different rows from the logging table to test for backward compatibility. More...
 
static provideRevertLogDatabaseRows ()
 Provide different rows from the logging table to test for backward compatibility. More...
 
static provideUploadLogDatabaseRows ()
 Provide different rows from the logging table to test for backward compatibility. More...
 

Additional Inherited Members

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

Detailed Description

UploadLogFormatter.

Definition at line 6 of file UploadLogFormatterTest.php.

Member Function Documentation

◆ provideOverwriteLogDatabaseRows()

static UploadLogFormatterTest::provideOverwriteLogDatabaseRows ( )
static

Provide different rows from the logging table to test for backward compatibility.

Do not change the existing data, just add a new database row

Definition at line 67 of file UploadLogFormatterTest.php.

References NS_FILE.

◆ provideRevertLogDatabaseRows()

static UploadLogFormatterTest::provideRevertLogDatabaseRows ( )
static

Provide different rows from the logging table to test for backward compatibility.

Do not change the existing data, just add a new database row

Definition at line 121 of file UploadLogFormatterTest.php.

References NS_FILE.

◆ provideUploadLogDatabaseRows()

static UploadLogFormatterTest::provideUploadLogDatabaseRows ( )
static

Provide different rows from the logging table to test for backward compatibility.

Do not change the existing data, just add a new database row

Definition at line 13 of file UploadLogFormatterTest.php.

References NS_FILE.

◆ testOverwriteLogDatabaseRows()

UploadLogFormatterTest::testOverwriteLogDatabaseRows (   $row,
  $extra 
)

provideOverwriteLogDatabaseRows

Definition at line 112 of file UploadLogFormatterTest.php.

References LogFormatterTestCase\doTestLogFormatter().

◆ testRevertLogDatabaseRows()

UploadLogFormatterTest::testRevertLogDatabaseRows (   $row,
  $extra 
)

provideRevertLogDatabaseRows

Definition at line 166 of file UploadLogFormatterTest.php.

References LogFormatterTestCase\doTestLogFormatter().

◆ testUploadLogDatabaseRows()

UploadLogFormatterTest::testUploadLogDatabaseRows (   $row,
  $extra 
)

provideUploadLogDatabaseRows

Definition at line 58 of file UploadLogFormatterTest.php.

References LogFormatterTestCase\doTestLogFormatter().


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