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

Public Member Functions

 testCheckMaximalPasswordLength ()
 PasswordPolicyChecks::checkMaximalPasswordLength. More...
 
 testCheckMinimalPasswordLength ()
 PasswordPolicyChecks::checkMinimalPasswordLength. More...
 
 testCheckMinimumPasswordLengthToLogin ()
 PasswordPolicyChecks::checkMinimumPasswordLengthToLogin. More...
 
 testCheckNotInLargeBlacklist ( $expected, $password)
 PasswordPolicyChecks::checkPasswordNotInLargeBlacklist provideLargeBlacklist. More...
 
 testCheckPasswordCannotMatchBlacklist ()
 PasswordPolicyChecks::checkPasswordCannotMatchBlacklist. More...
 
 testCheckPasswordCannotMatchUsername ()
 PasswordPolicyChecks::checkPasswordCannotMatchUsername. More...
 
 testCheckPopularPasswordBlacklist ( $expected, $password)
 PasswordPolicyChecks::checkPopularPasswordBlacklist providePopularBlacklist. More...
 
 testPasswordPolicyDescriptionsExist ()
 Verify that all password policy description messages actually exist. More...
 

Static Public Member Functions

static provideLargeBlacklist ()
 
static providePopularBlacklist ()
 

Detailed Description

Definition at line 23 of file PasswordPolicyChecksTest.php.

Member Function Documentation

◆ provideLargeBlacklist()

static PasswordPolicyChecksTest::provideLargeBlacklist ( )
static

Definition at line 161 of file PasswordPolicyChecksTest.php.

◆ providePopularBlacklist()

static PasswordPolicyChecksTest::providePopularBlacklist ( )
static

Definition at line 136 of file PasswordPolicyChecksTest.php.

◆ testCheckMaximalPasswordLength()

PasswordPolicyChecksTest::testCheckMaximalPasswordLength ( )

◆ testCheckMinimalPasswordLength()

PasswordPolicyChecksTest::testCheckMinimalPasswordLength ( )

◆ testCheckMinimumPasswordLengthToLogin()

PasswordPolicyChecksTest::testCheckMinimumPasswordLengthToLogin ( )

◆ testCheckNotInLargeBlacklist()

PasswordPolicyChecksTest::testCheckNotInLargeBlacklist (   $expected,
  $password 
)

◆ testCheckPasswordCannotMatchBlacklist()

PasswordPolicyChecksTest::testCheckPasswordCannotMatchBlacklist ( )

◆ testCheckPasswordCannotMatchUsername()

PasswordPolicyChecksTest::testCheckPasswordCannotMatchUsername ( )

◆ testCheckPopularPasswordBlacklist()

PasswordPolicyChecksTest::testCheckPopularPasswordBlacklist (   $expected,
  $password 
)

◆ testPasswordPolicyDescriptionsExist()

PasswordPolicyChecksTest::testPasswordPolicyDescriptionsExist ( )

Verify that all password policy description messages actually exist.

Messages used on Special:PasswordPolicies

Definition at line 186 of file PasswordPolicyChecksTest.php.

References $lang, $wgPasswordPolicy, as, Language\factory(), and wfMessage().


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