MediaWiki  master
Argon2PasswordTest Class Reference

large Argon2Password Password ParameterizedPassword More...

Inheritance diagram for Argon2PasswordTest:
Collaboration diagram for Argon2PasswordTest:

Public Member Functions

 provideNeedsUpdate ()
 
 setUp ()
 
 testNeedsUpdate ( $updateExpected, $hash)
 provideNeedsUpdate More...
 
 testPartialConfig ()
 
- Public Member Functions inherited from PasswordTestCase
 provideTypes ( $type)
 
 testCrypt ( $type)
 provideTypes More...
 
 testHashing ( $shouldMatch, $hash, $password)
 providePasswordTests More...
 
 testInvalidUnequalNormal ( $shouldMatch, $hash, $password)
 providePasswordTests InvalidPassword More...
 
 testStringSerialization ( $shouldMatch, $hash, $password)
 providePasswordTests More...
 

Static Public Member Functions

static providePasswordTests ()
 
- Static Public Member Functions inherited from PasswordTestCase
static providePasswordTests ()
 An array of tests in the form of (bool, string, string), where the first element is whether the second parameter (a password hash) and the third parameter (a password) should match. More...
 

Protected Member Functions

 getTypeConfigs ()
 Return an array of configs to be used for this class's password type. More...
 
- Protected Member Functions inherited from PasswordTestCase
 getTypeConfigs ()
 Return an array of configs to be used for this class's password type. More...
 
 getValidTypes ()
 
 setUp ()
 

Additional Inherited Members

- Protected Attributes inherited from PasswordTestCase
PasswordFactory $passwordFactory
 

Detailed Description

large Argon2Password Password ParameterizedPassword

:disable Generic.Files.LineLength

Definition at line 11 of file Argon2PasswordTest.php.

Member Function Documentation

◆ getTypeConfigs()

Argon2PasswordTest::getTypeConfigs ( )
protected

Return an array of configs to be used for this class's password type.

Returns
array[]

Definition at line 25 of file Argon2PasswordTest.php.

References class.

◆ provideNeedsUpdate()

Argon2PasswordTest::provideNeedsUpdate ( )

Definition at line 80 of file Argon2PasswordTest.php.

◆ providePasswordTests()

static Argon2PasswordTest::providePasswordTests ( )
static
Returns
array

Definition at line 40 of file Argon2PasswordTest.php.

◆ setUp()

Argon2PasswordTest::setUp ( )

Definition at line 13 of file Argon2PasswordTest.php.

◆ testNeedsUpdate()

Argon2PasswordTest::testNeedsUpdate (   $updateExpected,
  $hash 
)

provideNeedsUpdate

Definition at line 75 of file Argon2PasswordTest.php.

◆ testPartialConfig()

Argon2PasswordTest::testPartialConfig ( )

Definition at line 90 of file Argon2PasswordTest.php.

References $options, and class.


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