MediaWiki  master
ExternalUserNamesTest Class Reference

ExternalUserNames. More...

Inheritance diagram for ExternalUserNamesTest:
Collaboration diagram for ExternalUserNamesTest:

Public Member Functions

 provideAddPrefix ()
 
 provideApplyPrefix ()
 
 provideGetLocal ()
 
 provideGetUserLinkTitle ()
 
 provideIsExternal ()
 
 testAddPrefix ( $username, $prefix, $expected)
 ExternalUserNames::addPrefix provideAddPrefix. More...
 
 testApplyPrefix ( $username, $prefix, $expected)
 ExternalUserNames::applyPrefix provideApplyPrefix. More...
 
 testGetLocal ( $username, $expected)
 ExternalUserNames::getLocal provideGetLocal. More...
 
 testGetUserLinkTitle ( $username, $expected)
 ExternalUserNames::getUserLinkTitle provideGetUserLinkTitle. More...
 
 testIsExternal ( $username, $expected)
 ExternalUserNames::isExternal provideIsExternal. More...
 

Detailed Description

ExternalUserNames.

Definition at line 8 of file ExternalUserNamesTest.php.

Member Function Documentation

◆ provideAddPrefix()

ExternalUserNamesTest::provideAddPrefix ( )

Definition at line 72 of file ExternalUserNamesTest.php.

◆ provideApplyPrefix()

ExternalUserNamesTest::provideApplyPrefix ( )

Definition at line 51 of file ExternalUserNamesTest.php.

◆ provideGetLocal()

ExternalUserNamesTest::provideGetLocal ( )

Definition at line 113 of file ExternalUserNamesTest.php.

◆ provideGetUserLinkTitle()

ExternalUserNamesTest::provideGetUserLinkTitle ( )

Definition at line 10 of file ExternalUserNamesTest.php.

References Title\makeTitle(), NS_MAIN, NS_SPECIAL, and null.

◆ provideIsExternal()

ExternalUserNamesTest::provideIsExternal ( )

Definition at line 93 of file ExternalUserNamesTest.php.

References false, and true.

◆ testAddPrefix()

ExternalUserNamesTest::testAddPrefix (   $username,
  $prefix,
  $expected 
)

ExternalUserNames::addPrefix provideAddPrefix.

Definition at line 84 of file ExternalUserNamesTest.php.

References $username.

◆ testApplyPrefix()

ExternalUserNamesTest::testApplyPrefix (   $username,
  $prefix,
  $expected 
)

ExternalUserNames::applyPrefix provideApplyPrefix.

Definition at line 63 of file ExternalUserNamesTest.php.

References $username.

◆ testGetLocal()

ExternalUserNamesTest::testGetLocal (   $username,
  $expected 
)

ExternalUserNames::getLocal provideGetLocal.

Definition at line 126 of file ExternalUserNamesTest.php.

References $username, and ExternalUserNames\getLocal().

◆ testGetUserLinkTitle()

ExternalUserNamesTest::testGetUserLinkTitle (   $username,
  $expected 
)

ExternalUserNames::getUserLinkTitle provideGetUserLinkTitle.

Definition at line 29 of file ExternalUserNamesTest.php.

References $username, class, false, ExternalUserNames\getUserLinkTitle(), and true.

◆ testIsExternal()

ExternalUserNamesTest::testIsExternal (   $username,
  $expected 
)

ExternalUserNames::isExternal provideIsExternal.

Definition at line 106 of file ExternalUserNamesTest.php.

References $username, and ExternalUserNames\isExternal().


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