|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Inheritance diagram for ilObjUserPasswordTest:
Collaboration diagram for ilObjUserPasswordTest:Protected Member Functions | |
| setUp () | |
Protected Member Functions inherited from ilUserBaseTest | |
| assertException (string $exception_class) | |
Protected Attributes | |
| vfs vfsStreamDirectory | $testDirectory |
| string | $testDirectoryUrl |
Private Attributes | |
| const | PASSWORD = 'password' |
| const | ENCODED_PASSWORD = 'encoded' |
Definition at line 32 of file ilObjUserPasswordTest.php.
| ilObjUserPasswordTest::getTestDirectory | ( | ) |
Definition at line 40 of file ilObjUserPasswordTest.php.
References $testDirectory.
| ilObjUserPasswordTest::getTestDirectoryUrl | ( | ) |
Definition at line 50 of file ilObjUserPasswordTest.php.
References $testDirectoryUrl.
Referenced by testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutEncoderInformation(), testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutFactory(), testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutValidFactory(), testFactoryCanBeCreated(), testFactoryRaisesAnExceptionIfAnUnsupportedEncoderIsRequestedAndNoDefaultEncoderWasSpecifiedInFallbackMode(), testFactoryRaisesAnExceptionIfAnUnsupportedEncoderIsRequestedAndTheDefaultEncoderDoesNotMatchOneOfTheSupportedEncodersInFallbackMode(), testFactoryRaisesAnExceptionIfAnUnsupportedEncoderWasInjected(), testFactoryReturnsCorrectEncoderIfAMatchingEncoderWasFound(), testFactoryReturnsTheDefaultEncoderIfAnUnsupportedEncoderIsRequestedAndASupportedDefaultEncoderWasSpecifiedInFallbackMode(), testGettersOfFactoryShouldReturnWhatWasSetBySetters(), testInstanceCanBeCreated(), testPasswordManagerEncodesRawPasswordWithoutSalt(), testPasswordManagerEncodesRawPasswordWithSalt(), testPasswordManagerMigratesPasswordOnVerificationWithVariantEncoders(), testPasswordManagerNeverMigratesPasswordOnFailedVerificationWithVariantEncoders(), testPasswordManagerReencodesPasswordIfReencodingIsNecessary(), and testPasswordManagerVerifiesPassword().
Here is the caller graph for this function:| ilObjUserPasswordTest::setTestDirectory | ( | vfs\vfsStreamDirectory | $testDirectory | ) |
Definition at line 45 of file ilObjUserPasswordTest.php.
References $testDirectory.
Referenced by setUp().
Here is the caller graph for this function:| ilObjUserPasswordTest::setTestDirectoryUrl | ( | string | $testDirectoryUrl | ) |
Definition at line 55 of file ilObjUserPasswordTest.php.
References $testDirectoryUrl.
Referenced by setUp().
Here is the caller graph for this function:
|
protected |
Definition at line 60 of file ilObjUserPasswordTest.php.
References setTestDirectory(), and setTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutEncoderInformation | ( | ) |
| ilUserException |
Definition at line 72 of file ilObjUserPasswordTest.php.
References ilUserBaseTest\assertException(), and getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutFactory | ( | ) |
| ilUserException |
Definition at line 81 of file ilObjUserPasswordTest.php.
References ilUserBaseTest\assertException(), and getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutValidFactory | ( | ) |
| ilUserException |
Definition at line 93 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testFactoryCanBeCreated | ( | ) |
| ilPasswordException |
Definition at line 360 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testFactoryRaisesAnExceptionIfAnUnsupportedEncoderIsRequestedAndNoDefaultEncoderWasSpecifiedInFallbackMode | ( | ) |
| ilPasswordException | |
| ilUserException |
Definition at line 419 of file ilObjUserPasswordTest.php.
References ilUserBaseTest\assertException(), and getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testFactoryRaisesAnExceptionIfAnUnsupportedEncoderIsRequestedAndTheDefaultEncoderDoesNotMatchOneOfTheSupportedEncodersInFallbackMode | ( | ) |
| ilPasswordException | |
| ilUserException |
Definition at line 432 of file ilObjUserPasswordTest.php.
References ilUserBaseTest\assertException(), and getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testFactoryRaisesAnExceptionIfAnUnsupportedEncoderWasInjected | ( | ) |
| ilPasswordException | |
| ilUserException |
Definition at line 406 of file ilObjUserPasswordTest.php.
References ilUserBaseTest\assertException(), and getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testFactoryReturnsCorrectEncoderIfAMatchingEncoderWasFound | ( | ) |
| ilUserException | |
| ilPasswordException | |
| ReflectionException |
Definition at line 466 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl(), and ilUserPasswordEncoderFactory\setSupportedEncoders().
Here is the call graph for this function:| ilObjUserPasswordTest::testFactoryReturnsTheDefaultEncoderIfAnUnsupportedEncoderIsRequestedAndASupportedDefaultEncoderWasSpecifiedInFallbackMode | ( | ) |
| ReflectionException | |
| ilPasswordException | |
| ilUserException |
Definition at line 447 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl(), and ilUserPasswordEncoderFactory\setSupportedEncoders().
Here is the call graph for this function:| ilObjUserPasswordTest::testGettersOfFactoryShouldReturnWhatWasSetBySetters | ( | ) |
| ReflectionException | |
| ilPasswordException | |
| ilUserException |
Definition at line 373 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testInstanceCanBeCreated | ( | ) |
| ilUserException | |
| ReflectionException |
Definition at line 109 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testPasswordManagerEncodesRawPasswordWithoutSalt | ( | ) |
| ilUserException | |
| ReflectionException |
Definition at line 176 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl(), and ilObjUser\PASSWD_CRYPTED.
Here is the call graph for this function:| ilObjUserPasswordTest::testPasswordManagerEncodesRawPasswordWithSalt | ( | ) |
| ilUserException | |
| ReflectionException |
Definition at line 139 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl(), and ilObjUser\PASSWD_CRYPTED.
Here is the call graph for this function:| ilObjUserPasswordTest::testPasswordManagerMigratesPasswordOnVerificationWithVariantEncoders | ( | ) |
| ilUserException | |
| ReflectionException |
Definition at line 248 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testPasswordManagerNeverMigratesPasswordOnFailedVerificationWithVariantEncoders | ( | ) |
| ilUserException | |
| ReflectionException |
Definition at line 326 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testPasswordManagerReencodesPasswordIfReencodingIsNecessary | ( | ) |
| ilUserException | |
| ReflectionException |
Definition at line 287 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testPasswordManagerVerifiesPassword | ( | ) |
| ilUserException | |
| ReflectionException |
Definition at line 212 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl().
Here is the call graph for this function:
|
protected |
Definition at line 37 of file ilObjUserPasswordTest.php.
Referenced by getTestDirectory(), and setTestDirectory().
|
protected |
Definition at line 38 of file ilObjUserPasswordTest.php.
Referenced by getTestDirectoryUrl(), and setTestDirectoryUrl().
|
private |
Definition at line 35 of file ilObjUserPasswordTest.php.
|
private |
Definition at line 34 of file ilObjUserPasswordTest.php.