|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Inheritance diagram for ilObjUserPasswordTest:
Collaboration diagram for ilObjUserPasswordTest:Data Fields | |
| const | PASSWORD = 'password' |
| const | ENCODED_PASSWORD = 'encoded' |
Protected Member Functions | |
| setUp () | |
| Setup. More... | |
Protected Member Functions inherited from ilUserBaseTest | |
| assertException ($exception_class) | |
Protected Attributes | |
| $testDirectory | |
| $testDirectoryUrl | |
Definition at line 20 of file ilObjUserPasswordTest.php.
| ilObjUserPasswordTest::getTestDirectory | ( | ) |
Definition at line 37 of file ilObjUserPasswordTest.php.
References $testDirectory.
| ilObjUserPasswordTest::getTestDirectoryUrl | ( | ) |
Definition at line 53 of file ilObjUserPasswordTest.php.
References $testDirectoryUrl.
Referenced by testExceptionIsRaisedIfAnUnsupportedEncoderIsRequestedFromFactory(), testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutEncoderInformation(), testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutFactory(), testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutValidFactory(), testFactoryCanBeCreated(), testFactoryRaisesAnExceptionIfAnUnsupportedEncoderIsRequestedAndNoDefaultEncoderWasSpecifiedInFallbackMode(), testFactoryRaisesAnExceptionIfAnUnsupportedEncoderIsRequestedAndTheDefaultEncoderDoesNotMatchOneOfTheSupportedEncodersInFallbackMode(), testFactoryRaisesAnExceptionIfAnUnsupportedEncoderWasInjected(), testGettersOfFactoryShouldReturnWhatWasSetBySetters(), testInstanceCanBeCreated(), testPasswordManagerEncodesRawPasswordWithoutSalt(), testPasswordManagerEncodesRawPasswordWithSalt(), testPasswordManagerMigratesPasswordOnVerificationWithVariantEncoders(), testPasswordManagerNeverMigratesPasswordOnFailedVerificationWithVariantEncoders(), testPasswordManagerReencodesPasswordIfReencodingIsNecessary(), and testPasswordManagerVerifiesPassword().
Here is the caller graph for this function:| ilObjUserPasswordTest::setTestDirectory | ( | vfs\vfsStreamDirectory | $testDirectory | ) |
| 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 | ) |
| string | $testDirectoryUrl |
Definition at line 61 of file ilObjUserPasswordTest.php.
References $testDirectoryUrl.
Referenced by setUp().
Here is the caller graph for this function:
|
protected |
Setup.
Definition at line 69 of file ilObjUserPasswordTest.php.
References setTestDirectory(), and setTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testExceptionIsRaisedIfAnUnsupportedEncoderIsRequestedFromFactory | ( | ) |
| ilPasswordException | |
| ilUserException |
Definition at line 433 of file ilObjUserPasswordTest.php.
References $factory, ilUserBaseTest\assertException(), and getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutEncoderInformation | ( | ) |
| ilUserException |
Definition at line 81 of file ilObjUserPasswordTest.php.
References ilUserBaseTest\assertException(), and getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutFactory | ( | ) |
| ilUserException |
Definition at line 90 of file ilObjUserPasswordTest.php.
References ilUserBaseTest\assertException(), and getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutValidFactory | ( | ) |
| ilUserException |
Definition at line 102 of file ilObjUserPasswordTest.php.
References Vendor\Package\$e, ilUserBaseTest\assertException(), getTestDirectoryUrl(), and ILIAS\GlobalScreen\Provider\id().
Here is the call graph for this function:| ilObjUserPasswordTest::testFactoryCanBeCreated | ( | ) |
| ilPasswordException |
Definition at line 376 of file ilObjUserPasswordTest.php.
References $factory, and getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testFactoryRaisesAnExceptionIfAnUnsupportedEncoderIsRequestedAndNoDefaultEncoderWasSpecifiedInFallbackMode | ( | ) |
| ilPasswordException | |
| ilUserException |
Definition at line 447 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 460 of file ilObjUserPasswordTest.php.
References $factory, ilUserBaseTest\assertException(), and getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testFactoryRaisesAnExceptionIfAnUnsupportedEncoderWasInjected | ( | ) |
| ilPasswordException | |
| ilUserException |
Definition at line 420 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 493 of file ilObjUserPasswordTest.php.
References $factory.
| ilObjUserPasswordTest::testFactoryReturnsTheDefaultEncoderIfAnUnsupportedEncoderIsRequestedAndASupportedDefaultEncoderWasSpecifiedInFallbackMode | ( | ) |
| ReflectionException | |
| ilPasswordException | |
| ilUserException |
Definition at line 475 of file ilObjUserPasswordTest.php.
References $factory.
| ilObjUserPasswordTest::testGettersOfFactoryShouldReturnWhatWasSetBySetters | ( | ) |
| ReflectionException | |
| ilPasswordException | |
| ilUserException |
Definition at line 389 of file ilObjUserPasswordTest.php.
References $factory, and getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testInstanceCanBeCreated | ( | ) |
| ilUserException | |
| ReflectionException |
Definition at line 125 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testPasswordManagerEncodesRawPasswordWithoutSalt | ( | ) |
| ilUserException | |
| ReflectionException |
Definition at line 192 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl(), and IL_PASSWD_CRYPTED.
Here is the call graph for this function:| ilObjUserPasswordTest::testPasswordManagerEncodesRawPasswordWithSalt | ( | ) |
| ilUserException | |
| ReflectionException |
Definition at line 155 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl(), and IL_PASSWD_CRYPTED.
Here is the call graph for this function:| ilObjUserPasswordTest::testPasswordManagerMigratesPasswordOnVerificationWithVariantEncoders | ( | ) |
| ilUserException | |
| ReflectionException |
Definition at line 264 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testPasswordManagerNeverMigratesPasswordOnFailedVerificationWithVariantEncoders | ( | ) |
| ilUserException | |
| ReflectionException |
Definition at line 342 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testPasswordManagerReencodesPasswordIfReencodingIsNecessary | ( | ) |
| ilUserException | |
| ReflectionException |
Definition at line 303 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl().
Here is the call graph for this function:| ilObjUserPasswordTest::testPasswordManagerVerifiesPassword | ( | ) |
| ilUserException | |
| ReflectionException |
Definition at line 228 of file ilObjUserPasswordTest.php.
References getTestDirectoryUrl().
Here is the call graph for this function:
|
protected |
Definition at line 29 of file ilObjUserPasswordTest.php.
Referenced by getTestDirectory(), and setTestDirectory().
|
protected |
Definition at line 32 of file ilObjUserPasswordTest.php.
Referenced by getTestDirectoryUrl(), and setTestDirectoryUrl().
| const ilObjUserPasswordTest::ENCODED_PASSWORD = 'encoded' |
Definition at line 26 of file ilObjUserPasswordTest.php.
| const ilObjUserPasswordTest::PASSWORD = 'password' |
Definition at line 23 of file ilObjUserPasswordTest.php.