ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Protected Member Functions | |
setUp () | |
![]() | |
assertException (string $exception_class) | |
Protected Attributes | |
vfs vfsStreamDirectory | $testDirectory |
string | $testDirectoryUrl |
Private Attributes | |
const | PASSWORD = 'password' |
const | ENCODED_PASSWORD = 'encoded' |
Definition at line 26 of file LocalUserPasswordTest.php.
LocalUserPasswordTest::getTestDirectory | ( | ) |
Definition at line 33 of file LocalUserPasswordTest.php.
References $testDirectory.
LocalUserPasswordTest::getTestDirectoryUrl | ( | ) |
Definition at line 43 of file LocalUserPasswordTest.php.
References $testDirectoryUrl.
Referenced by testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutEncoderInformation(), testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutFactory(), testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutValidFactory(), testFactoryCanBeCreated(), testFactoryRaisesAnExceptionIfAnUnsupportedEncoderIsRequestedAndNoDefaultEncoderWasSpecifiedInFallbackMode(), testFactoryRaisesAnExceptionIfAnUnsupportedEncoderIsRequestedAndTheDefaultEncoderDoesNotMatchOneOfTheSupportedEncodersInFallbackMode(), testFactoryRaisesAnExceptionIfAnUnsupportedEncoderWasInjected(), testGettersOfFactoryShouldReturnWhatWasSetBySetters(), testInstanceCanBeCreated(), testPasswordManagerEncodesRawPasswordWithoutSalt(), testPasswordManagerEncodesRawPasswordWithSalt(), testPasswordManagerMigratesPasswordOnVerificationWithVariantEncoders(), testPasswordManagerNeverMigratesPasswordOnFailedVerificationWithVariantEncoders(), testPasswordManagerReencodesPasswordIfReencodingIsNecessary(), and testPasswordManagerVerifiesPassword().
LocalUserPasswordTest::setTestDirectory | ( | vfs\vfsStreamDirectory | $testDirectory | ) |
Definition at line 38 of file LocalUserPasswordTest.php.
References $testDirectory.
Referenced by setUp().
LocalUserPasswordTest::setTestDirectoryUrl | ( | string | $testDirectoryUrl | ) |
Definition at line 48 of file LocalUserPasswordTest.php.
References $testDirectoryUrl.
Referenced by setUp().
|
protected |
Definition at line 53 of file LocalUserPasswordTest.php.
References setTestDirectory(), and setTestDirectoryUrl().
LocalUserPasswordTest::testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutEncoderInformation | ( | ) |
ilUserException |
Definition at line 65 of file LocalUserPasswordTest.php.
References getTestDirectoryUrl().
LocalUserPasswordTest::testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutFactory | ( | ) |
ilUserException |
Definition at line 74 of file LocalUserPasswordTest.php.
References getTestDirectoryUrl().
LocalUserPasswordTest::testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutValidFactory | ( | ) |
ilUserException |
Definition at line 86 of file LocalUserPasswordTest.php.
References getTestDirectoryUrl().
LocalUserPasswordTest::testFactoryCanBeCreated | ( | ) |
ilPasswordException |
Definition at line 363 of file LocalUserPasswordTest.php.
References getTestDirectoryUrl().
LocalUserPasswordTest::testFactoryRaisesAnExceptionIfAnUnsupportedEncoderIsRequestedAndNoDefaultEncoderWasSpecifiedInFallbackMode | ( | ) |
ilPasswordException | |
ilUserException |
Definition at line 422 of file LocalUserPasswordTest.php.
References getTestDirectoryUrl().
LocalUserPasswordTest::testFactoryRaisesAnExceptionIfAnUnsupportedEncoderIsRequestedAndTheDefaultEncoderDoesNotMatchOneOfTheSupportedEncodersInFallbackMode | ( | ) |
ilPasswordException | |
ilUserException |
Definition at line 435 of file LocalUserPasswordTest.php.
References getTestDirectoryUrl().
LocalUserPasswordTest::testFactoryRaisesAnExceptionIfAnUnsupportedEncoderWasInjected | ( | ) |
ilPasswordException | |
ilUserException |
Definition at line 409 of file LocalUserPasswordTest.php.
References getTestDirectoryUrl().
LocalUserPasswordTest::testFactoryReturnsCorrectEncoderIfAMatchingEncoderWasFound | ( | ) |
ilUserException | |
ilPasswordException | |
ReflectionException |
Definition at line 469 of file LocalUserPasswordTest.php.
LocalUserPasswordTest::testFactoryReturnsTheDefaultEncoderIfAnUnsupportedEncoderIsRequestedAndASupportedDefaultEncoderWasSpecifiedInFallbackMode | ( | ) |
ReflectionException | |
ilPasswordException | |
ilUserException |
Definition at line 450 of file LocalUserPasswordTest.php.
LocalUserPasswordTest::testGettersOfFactoryShouldReturnWhatWasSetBySetters | ( | ) |
ReflectionException | |
ilPasswordException | |
ilUserException |
Definition at line 376 of file LocalUserPasswordTest.php.
References getTestDirectoryUrl().
LocalUserPasswordTest::testInstanceCanBeCreated | ( | ) |
ilUserException | |
ReflectionException |
Definition at line 102 of file LocalUserPasswordTest.php.
References getTestDirectoryUrl().
LocalUserPasswordTest::testPasswordManagerEncodesRawPasswordWithoutSalt | ( | ) |
ilUserException | |
ReflectionException |
Definition at line 177 of file LocalUserPasswordTest.php.
References getTestDirectoryUrl(), and ilObjUser\PASSWD_CRYPTED.
LocalUserPasswordTest::testPasswordManagerEncodesRawPasswordWithSalt | ( | ) |
ilUserException | |
ReflectionException |
Definition at line 139 of file LocalUserPasswordTest.php.
References getTestDirectoryUrl(), and ilObjUser\PASSWD_CRYPTED.
LocalUserPasswordTest::testPasswordManagerMigratesPasswordOnVerificationWithVariantEncoders | ( | ) |
ilUserException | |
ReflectionException |
Definition at line 250 of file LocalUserPasswordTest.php.
References getTestDirectoryUrl().
LocalUserPasswordTest::testPasswordManagerNeverMigratesPasswordOnFailedVerificationWithVariantEncoders | ( | ) |
ilUserException | |
ReflectionException |
Definition at line 328 of file LocalUserPasswordTest.php.
References getTestDirectoryUrl().
LocalUserPasswordTest::testPasswordManagerReencodesPasswordIfReencodingIsNecessary | ( | ) |
ilUserException | |
ReflectionException |
Definition at line 289 of file LocalUserPasswordTest.php.
References getTestDirectoryUrl().
LocalUserPasswordTest::testPasswordManagerVerifiesPassword | ( | ) |
ilUserException | |
ReflectionException |
Definition at line 213 of file LocalUserPasswordTest.php.
References getTestDirectoryUrl().
|
protected |
Definition at line 30 of file LocalUserPasswordTest.php.
Referenced by getTestDirectory(), and setTestDirectory().
|
protected |
Definition at line 31 of file LocalUserPasswordTest.php.
Referenced by getTestDirectoryUrl(), and setTestDirectoryUrl().
|
private |
Definition at line 29 of file LocalUserPasswordTest.php.
|
private |
Definition at line 28 of file LocalUserPasswordTest.php.