ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Data Fields | |
const | PASSWORD = 'password' |
const | ENCODED_PASSWORD = 'encoded' |
Protected Member Functions | |
setUp () | |
Sets up the fixture, for example, open a network connection. More... | |
Protected Member Functions inherited from ilUserBaseTest | |
assertException ($exception_class) | |
Definition at line 17 of file ilObjUserPasswordTest.php.
|
protected |
Sets up the fixture, for example, open a network connection.
This method is called before a test is executed.
Definition at line 33 of file ilObjUserPasswordTest.php.
References defined.
ilObjUserPasswordTest::testExceptionIsRaisedIfAnUnsupportedEncoderIsRequestedFromFactory | ( | ) |
Definition at line 338 of file ilObjUserPasswordTest.php.
References array, and ilUserBaseTest\assertException().
ilObjUserPasswordTest::testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutEncoderInformation | ( | ) |
Definition at line 46 of file ilObjUserPasswordTest.php.
References ilUserBaseTest\assertException().
ilObjUserPasswordTest::testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutFactory | ( | ) |
Definition at line 55 of file ilObjUserPasswordTest.php.
References array, and ilUserBaseTest\assertException().
ilObjUserPasswordTest::testExceptionIsRaisedIfPasswordManagerIsCreatedWithoutValidFactory | ( | ) |
PHPUnit_Framework_Error
Definition at line 68 of file ilObjUserPasswordTest.php.
References array, and ilUserBaseTest\assertException().
ilObjUserPasswordTest::testFactoryCanBeCreated | ( | ) |
Definition at line 298 of file ilObjUserPasswordTest.php.
ilObjUserPasswordTest::testFactoryRaisesAnExceptionIfAnUnsupportedEncoderIsRequestedAndNoDefaultEncoderWasSpecifiedInFallbackMode | ( | ) |
Definition at line 348 of file ilObjUserPasswordTest.php.
References ilUserBaseTest\assertException().
ilObjUserPasswordTest::testFactoryRaisesAnExceptionIfAnUnsupportedEncoderIsRequestedAndTheDefaultEncoderDoesNotMatchOneOfTheSupportedEncodersInFallbackMode | ( | ) |
Definition at line 358 of file ilObjUserPasswordTest.php.
References array, and ilUserBaseTest\assertException().
ilObjUserPasswordTest::testFactoryRaisesAnExceptionIfAnUnsupportedEncoderWasInjected | ( | ) |
Definition at line 328 of file ilObjUserPasswordTest.php.
References array, and ilUserBaseTest\assertException().
ilObjUserPasswordTest::testFactoryReturnsCorrectEncoderIfAMatchingEncoderWasFound | ( | ) |
Definition at line 381 of file ilObjUserPasswordTest.php.
References array.
ilObjUserPasswordTest::testFactoryReturnsTheDefaultEncoderIfAnUnsupportedEncoderIsRequestedAndASupportedDefaultEncoderWasSpecifiedInFallbackMode | ( | ) |
Definition at line 368 of file ilObjUserPasswordTest.php.
References array.
ilObjUserPasswordTest::testGettersOfFactoryShouldReturnWhatWasSetBySetters | ( | ) |
Definition at line 307 of file ilObjUserPasswordTest.php.
References array.
ilObjUserPasswordTest::testInstanceCanBeCreated | ( | ) |
Definition at line 89 of file ilObjUserPasswordTest.php.
References array.
ilObjUserPasswordTest::testPasswordManagerEncodesRawPasswordWithoutSalt | ( | ) |
Definition at line 148 of file ilObjUserPasswordTest.php.
References array, and IL_PASSWD_CRYPTED.
ilObjUserPasswordTest::testPasswordManagerEncodesRawPasswordWithSalt | ( | ) |
Definition at line 118 of file ilObjUserPasswordTest.php.
References array, and IL_PASSWD_CRYPTED.
ilObjUserPasswordTest::testPasswordManagerMigratesPasswordOnVerificationWithVariantEncoders | ( | ) |
Definition at line 208 of file ilObjUserPasswordTest.php.
References array.
ilObjUserPasswordTest::testPasswordManagerNeverMigratesPasswordOnFailedVerificationWithVariantEncoders | ( | ) |
Definition at line 268 of file ilObjUserPasswordTest.php.
References array.
ilObjUserPasswordTest::testPasswordManagerReencodesPasswordIfReencodingIsNecessary | ( | ) |
Definition at line 238 of file ilObjUserPasswordTest.php.
References array.
ilObjUserPasswordTest::testPasswordManagerVerifiesPassword | ( | ) |
Definition at line 178 of file ilObjUserPasswordTest.php.
References array.
const ilObjUserPasswordTest::ENCODED_PASSWORD = 'encoded' |
Definition at line 27 of file ilObjUserPasswordTest.php.
const ilObjUserPasswordTest::PASSWORD = 'password' |
Definition at line 22 of file ilObjUserPasswordTest.php.