MediaWiki  1.34.0
BaseBlacklistTest Class Reference

@covers BaseBlacklist More...

Inheritance diagram for BaseBlacklistTest:
Collaboration diagram for BaseBlacklistTest:

Public Member Functions

 testGetTypeFromTitle ( $title, $expected)
 @dataProvider provideGetTypeFromTitle More...
 

Static Public Member Functions

static provideGetTypeFromTitle ()
 

Detailed Description

@covers BaseBlacklist

Definition at line 25 of file BaseBlacklistTest.php.

Member Function Documentation

◆ provideGetTypeFromTitle()

static BaseBlacklistTest::provideGetTypeFromTitle ( )
static
Returns
array

Definition at line 30 of file BaseBlacklistTest.php.

◆ testGetTypeFromTitle()

BaseBlacklistTest::testGetTypeFromTitle (   $title,
  $expected 
)

@dataProvider provideGetTypeFromTitle

Parameters
string$title
string | bool$expected

Definition at line 46 of file BaseBlacklistTest.php.

References $output, $title, BaseBlacklist\getTypeFromTitle(), and Title\newFromText().


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