PHP Класс Tools\Test\TestCase\Model\Behavior\PasswordableBehaviorTest

Наследование: extends Tools\TestSuite\TestCase
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$Users TestApp\Model\Table\ToolsUsersTable
$fixtures array

Открытые методы

Метод Описание
setUp ( ) : void SetUp method
tearDown ( )
testBlowfish ( ) : void PasswordableBehaviorTest::testBlowfish()
testDifferentFieldNames ( ) : void Test aliases for field names
testNeedsPasswordRehash ( ) : void Tests needsPasswordRehash()
testNeedsPasswordRehashWithNotSupportedHasher ( ) : void Tests needsPasswordRehash()
testNotSame ( ) : void Assert that allowSame false does not allow storing the same password as previously entered
testNotSameWithoutCurrentField ( ) : void Assert that allowSame false does not allow storing the same password as previously entered
testPatchWithFieldList ( ) : void
testPatchWithoutFieldList ( ) : void
testRequireFalse ( ) : void Assert that on edit it does not wrongly pass validation (require => false)
testSaveWithValidateFalse ( ) : void Test that validate false also works.
testSettings ( ) : void PasswordableBehaviorTest::testSettings()
testValidate ( ) : void Make sure validation is triggered correctly
testValidateCurrent ( ) : void Needs faking of pwd check.
testValidateCustomRule ( ) : void PasswordableBehaviorTest::testValidateCustomRule()
testValidateEmptyWithCurrentPassword ( ) : void PasswordableBehaviorTest::testValidateEmptyWithCurrentPassword()
testValidateNoConfirm ( ) : void Test that confirm false does not require confirmation
testValidateNotRequired ( ) : void Validation and update process gets skipped if no values are entered
testValidateRequired ( ) : void Trigger validation and update process if no values are entered but are required

Описание методов

setUp() публичный Метод

SetUp method
public setUp ( ) : void
Результат void

tearDown() публичный Метод

public tearDown ( )

testBlowfish() публичный Метод

PasswordableBehaviorTest::testBlowfish()
public testBlowfish ( ) : void
Результат void

testDifferentFieldNames() публичный Метод

Test aliases for field names
public testDifferentFieldNames ( ) : void
Результат void

testNeedsPasswordRehash() публичный Метод

Tests needsPasswordRehash()
public testNeedsPasswordRehash ( ) : void
Результат void

testNeedsPasswordRehashWithNotSupportedHasher() публичный Метод

Tests needsPasswordRehash()
public testNeedsPasswordRehashWithNotSupportedHasher ( ) : void
Результат void

testNotSame() публичный Метод

Assert that allowSame false does not allow storing the same password as previously entered
public testNotSame ( ) : void
Результат void

testNotSameWithoutCurrentField() публичный Метод

Assert that allowSame false does not allow storing the same password as previously entered
public testNotSameWithoutCurrentField ( ) : void
Результат void

testPatchWithFieldList() публичный Метод

public testPatchWithFieldList ( ) : void
Результат void

testPatchWithoutFieldList() публичный Метод

public testPatchWithoutFieldList ( ) : void
Результат void

testRequireFalse() публичный Метод

Assert that on edit it does not wrongly pass validation (require => false)
public testRequireFalse ( ) : void
Результат void

testSaveWithValidateFalse() публичный Метод

Test that validate false also works.
public testSaveWithValidateFalse ( ) : void
Результат void

testSettings() публичный Метод

PasswordableBehaviorTest::testSettings()
public testSettings ( ) : void
Результат void

testValidate() публичный Метод

Make sure validation is triggered correctly
public testValidate ( ) : void
Результат void

testValidateCurrent() публичный Метод

..
public testValidateCurrent ( ) : void
Результат void

testValidateCustomRule() публичный Метод

PasswordableBehaviorTest::testValidateCustomRule()
public testValidateCustomRule ( ) : void
Результат void

testValidateEmptyWithCurrentPassword() публичный Метод

PasswordableBehaviorTest::testValidateEmptyWithCurrentPassword()
public testValidateEmptyWithCurrentPassword ( ) : void
Результат void

testValidateNoConfirm() публичный Метод

Test that confirm false does not require confirmation
public testValidateNoConfirm ( ) : void
Результат void

testValidateNotRequired() публичный Метод

Validation and update process gets skipped if no values are entered
public testValidateNotRequired ( ) : void
Результат void

testValidateRequired() публичный Метод

Trigger validation and update process if no values are entered but are required
public testValidateRequired ( ) : void
Результат void

Описание свойств

$Users публичное свойство

public ToolsUsersTable,TestApp\Model\Table $Users
Результат TestApp\Model\Table\ToolsUsersTable

$fixtures публичное свойство

public array $fixtures
Результат array