|
ILIAS
release_8 Revision v8.24
|
Inheritance diagram for ilBcryptPhpPasswordEncoderTest:
Collaboration diagram for ilBcryptPhpPasswordEncoderTest:Private Attributes | |
| const | VALID_COSTS = '08' |
| const | PASSWORD = 'password' |
| const | WRONG_PASSWORD = 'wrong_password' |
Definition at line 26 of file ilBcryptPhpPasswordEncoderTest.php.
| ilBcryptPhpPasswordEncoderTest::costsProvider | ( | ) |
Definition at line 40 of file ilBcryptPhpPasswordEncoderTest.php.
| ilBcryptPhpPasswordEncoderTest::testCostsCanBeDeterminedDynamically | ( | ilBcryptPhpPasswordEncoder | $encoder | ) |
@depends testInstanceCanBeCreated
| ilPasswordException |
Definition at line 157 of file ilBcryptPhpPasswordEncoderTest.php.
References ilBcryptPhpPasswordEncoder\benchmarkCost().
Here is the call graph for this function:| ilBcryptPhpPasswordEncoderTest::testCostsCanBeRetrievedWhenCostsAreSet | ( | ilBcryptPhpPasswordEncoder | $encoder | ) |
@depends testInstanceCanBeCreated
| ilPasswordException |
Definition at line 68 of file ilBcryptPhpPasswordEncoderTest.php.
References ilBcryptPhpPasswordEncoder\getCosts(), and ilBcryptPhpPasswordEncoder\setCosts().
Here is the call graph for this function:| ilBcryptPhpPasswordEncoderTest::testCostsCanBeSetInRange | ( | string | $costs, |
| ilBcryptPhpPasswordEncoder | $encoder | ||
| ) |
@depends testInstanceCanBeCreated @dataProvider costsProvider @doesNotPerformAssertions
| ilPasswordException |
Definition at line 102 of file ilBcryptPhpPasswordEncoderTest.php.
References ilBcryptPhpPasswordEncoder\setCosts().
Here is the call graph for this function:| ilBcryptPhpPasswordEncoderTest::testCostsCannotBeSetAboveRange | ( | ilBcryptPhpPasswordEncoder | $encoder | ) |
@depends testInstanceCanBeCreated
| ilPasswordException |
Definition at line 80 of file ilBcryptPhpPasswordEncoderTest.php.
References ilBcryptPhpPasswordEncoder\setCosts().
Here is the call graph for this function:| ilBcryptPhpPasswordEncoderTest::testCostsCannotBeSetBelowRange | ( | ilBcryptPhpPasswordEncoder | $encoder | ) |
@depends testInstanceCanBeCreated
| ilPasswordException |
Definition at line 90 of file ilBcryptPhpPasswordEncoderTest.php.
References ilBcryptPhpPasswordEncoder\setCosts().
Here is the call graph for this function:| ilBcryptPhpPasswordEncoderTest::testEncoderDoesNotRelyOnSalts | ( | ilBcryptPhpPasswordEncoder | $encoder | ) |
@depends testInstanceCanBeCreated
Definition at line 172 of file ilBcryptPhpPasswordEncoderTest.php.
References ilBasePasswordEncoder\requiresSalt().
Here is the call graph for this function:| ilBcryptPhpPasswordEncoderTest::testExceptionIsRaisedIfThePasswordExceedsTheSupportedLengthOnEncoding | ( | ilBcryptPhpPasswordEncoder | $encoder | ) |
@depends testInstanceCanBeCreated
| ilPasswordException |
Definition at line 126 of file ilBcryptPhpPasswordEncoderTest.php.
| ilBcryptPhpPasswordEncoderTest::testInstanceCanBeCreated | ( | ) |
Definition at line 50 of file ilBcryptPhpPasswordEncoderTest.php.
| ilBcryptPhpPasswordEncoderTest::testNameShouldBeBcryptPhp | ( | ilBcryptPhpPasswordEncoder | $encoder | ) |
@depends testInstanceCanBeCreated
Definition at line 148 of file ilBcryptPhpPasswordEncoderTest.php.
References ilBcryptPhpPasswordEncoder\getName().
Here is the call graph for this function:| ilBcryptPhpPasswordEncoderTest::testPasswordShouldBeCorrectlyEncodedAndVerified | ( | ilBcryptPhpPasswordEncoder | $encoder | ) |
@depends testInstanceCanBeCreated
| ilPasswordException |
Definition at line 111 of file ilBcryptPhpPasswordEncoderTest.php.
| ilBcryptPhpPasswordEncoderTest::testPasswordVerificationShouldFailIfTheRawPasswordExceedsTheSupportedLength | ( | ilBcryptPhpPasswordEncoder | $encoder | ) |
@depends testInstanceCanBeCreated
| ilPasswordException |
Definition at line 138 of file ilBcryptPhpPasswordEncoderTest.php.
| ilBcryptPhpPasswordEncoderTest::testReencodingIsDetectedWhenNecessary | ( | ilBcryptPhpPasswordEncoder | $encoder | ) |
@depends testInstanceCanBeCreated
| ilPasswordException |
Definition at line 181 of file ilBcryptPhpPasswordEncoderTest.php.
References ilBcryptPhpPasswordEncoder\encodePassword(), ilBcryptPhpPasswordEncoder\requiresReencoding(), and ilBcryptPhpPasswordEncoder\setCosts().
Here is the call graph for this function:
|
private |
Definition at line 32 of file ilBcryptPhpPasswordEncoderTest.php.
|
private |
Definition at line 29 of file ilBcryptPhpPasswordEncoderTest.php.
|
private |
Definition at line 35 of file ilBcryptPhpPasswordEncoderTest.php.