|
ILIAS
release_8 Revision v8.25-1-g13de6a5eca6
|
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 36 of file ilObjUserPasswordTest.php.
| ilObjUserPasswordTest::getTestDirectory | ( | ) |
Definition at line 44 of file ilObjUserPasswordTest.php.
References $testDirectory.
| ilObjUserPasswordTest::getTestDirectoryUrl | ( | ) |
Definition at line 54 of file ilObjUserPasswordTest.php.
References $testDirectoryUrl.
Referenced by testExceptionIsRaisedIfAnUnsupportedEncoderIsRequestedFromFactory(), testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutEncoderInformation(), testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutFactory(), testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutValidFactory(), testFactoryCanBeCreated(), testFactoryRaisesAnExceptionIfAnUnsupportedEncoderIsRequestedAndNoDefaultEncoderWasSpecifiedInFallbackMode(), testFactoryRaisesAnExceptionIfAnUnsupportedEncoderIsRequestedAndTheDefaultEncoderDoesNotMatchOneOfTheSupportedEncodersInFallbackMode(), 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 49 of file ilObjUserPasswordTest.php.
References $testDirectory.
Referenced by setUp().
Here is the caller graph for this function:| ilObjUserPasswordTest::setTestDirectoryUrl | ( | string | $testDirectoryUrl | ) |
Definition at line 59 of file ilObjUserPasswordTest.php.
References $testDirectoryUrl.
Referenced by setUp().
Here is the caller graph for this function:
|
protected |
Definition at line 64 of file ilObjUserPasswordTest.php.
References setTestDirectory(), and setTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testExceptionIsRaisedIfAnUnsupportedEncoderIsRequestedFromFactory | ( | ) |
| ilPasswordException | |
| ilUserException |
throws ilPasswordException
| ilUserException |
Definition at line 422 of file ilObjUserPasswordTest.php.
References $factory, ilUserBaseTest\assertException(), and getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutEncoderInformation | ( | ) |
| ilUserException |
Definition at line 76 of file ilObjUserPasswordTest.php.
References ilUserBaseTest\assertException(), and getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutFactory | ( | ) |
| ilUserException |
Definition at line 85 of file ilObjUserPasswordTest.php.
References ilUserBaseTest\assertException(), and getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutValidFactory | ( | ) |
| ilUserException |
Definition at line 97 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testFactoryCanBeCreated | ( | ) |
| ilPasswordException |
Definition at line 364 of file ilObjUserPasswordTest.php.
References $factory, and getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testFactoryRaisesAnExceptionIfAnUnsupportedEncoderIsRequestedAndNoDefaultEncoderWasSpecifiedInFallbackMode | ( | ) |
| ilPasswordException | |
| ilUserException |
Definition at line 436 of file ilObjUserPasswordTest.php.
References $factory, ilUserBaseTest\assertException(), and getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testFactoryRaisesAnExceptionIfAnUnsupportedEncoderIsRequestedAndTheDefaultEncoderDoesNotMatchOneOfTheSupportedEncodersInFallbackMode | ( | ) |
| ilPasswordException | |
| ilUserException |
Definition at line 449 of file ilObjUserPasswordTest.php.
References $factory, ilUserBaseTest\assertException(), and getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testFactoryReturnsCorrectEncoderIfAMatchingEncoderWasFound | ( | ) |
| ilUserException | |
| ilPasswordException | |
| ReflectionException |
Definition at line 482 of file ilObjUserPasswordTest.php.
References $factory.
| ilObjUserPasswordTest::testFactoryReturnsTheDefaultEncoderIfAnUnsupportedEncoderIsRequestedAndASupportedDefaultEncoderWasSpecifiedInFallbackMode | ( | ) |
| ReflectionException | |
| ilPasswordException | |
| ilUserException |
Definition at line 464 of file ilObjUserPasswordTest.php.
References $factory.
| ilObjUserPasswordTest::testGettersOfFactoryShouldReturnWhatWasSetBySetters | ( | ) |
| ReflectionException | |
| ilPasswordException | |
| ilUserException |
Definition at line 377 of file ilObjUserPasswordTest.php.
References $factory, and getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testInstanceCanBeCreated | ( | ) |
| ilUserException | |
| ReflectionException |
Definition at line 113 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testPasswordManagerEncodesRawPasswordWithoutSalt | ( | ) |
| ilUserException | |
| ReflectionException |
Definition at line 180 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 143 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 252 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testPasswordManagerNeverMigratesPasswordOnFailedVerificationWithVariantEncoders | ( | ) |
| ilUserException | |
| ReflectionException |
Definition at line 330 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testPasswordManagerReencodesPasswordIfReencodingIsNecessary | ( | ) |
| ilUserException | |
| ReflectionException |
Definition at line 291 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testPasswordManagerVerifiesPassword | ( | ) |
| ilUserException | |
| ReflectionException |
Definition at line 216 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl().
Here is the call graph for this function:
|
protected |
Definition at line 41 of file ilObjUserPasswordTest.php.
Referenced by getTestDirectory(), and setTestDirectory().
|
protected |
Definition at line 42 of file ilObjUserPasswordTest.php.
Referenced by getTestDirectoryUrl(), and setTestDirectoryUrl().
|
private |
Definition at line 39 of file ilObjUserPasswordTest.php.
|
private |
Definition at line 38 of file ilObjUserPasswordTest.php.