PHP 클래스 Tools\Test\TestCase\Model\Behavior\PasswordableBehaviorTest

상속: extends Tools\TestSuite\TestCase
파일 보기 프로젝트 열기: dereuromark/cakephp-tools

공개 프로퍼티들

프로퍼티 타입 설명
$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()

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

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()

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