PHP 클래스 CakeDC\Users\Test\TestCase\Auth\SocialAuthenticateTest

상속: extends Cake\TestSuite\TestCase
파일 보기 프로젝트 열기: cakedc/users

공개 프로퍼티들

프로퍼티 타입 설명
$fixtures array Fixtures

공개 메소드들

메소드 설명
providerGetUser ( ) Provider for getUser test method
providerMapper ( ) Provider for _mapUser test method
providerTwitter ( ) Provider for getUser test method
setUp ( ) Sets up the fixture, for example, opens a network connection.
tearDown ( ) Tears down the fixture, for example, closes a network connection.
testGetUserAuth ( $rawData, $mapper ) Test getUser
testGetUserNotActive ( $rawData, $mapper ) Test getUser
testGetUserNotActiveAccount ( $rawData, $mapper ) Test getUser
testGetUserNotEmailProvided ( $rawData, $mapper ) Test getUser
testGetUserNotEmailProvidedTwitter ( $rawData, $mapper ) Test getUser
testGetUserSessionData ( ) Test getUser
testMapUser ( $data, $mappedData ) Test _mapUser
testMapUserException ( ) Test _mapUser
testSocialLogin ( ) Test _socialLogin

보호된 메소드들

메소드 설명
_getSocialAuthenticateMock ( )
_getSocialAuthenticateMockMethods ( $methods )

메소드 상세

_getSocialAuthenticateMock() 보호된 메소드

_getSocialAuthenticateMockMethods() 보호된 메소드

protected _getSocialAuthenticateMockMethods ( $methods )

providerGetUser() 공개 메소드

Provider for getUser test method
public providerGetUser ( )

providerMapper() 공개 메소드

Provider for _mapUser test method
public providerMapper ( )

providerTwitter() 공개 메소드

Provider for getUser test method
public providerTwitter ( )

setUp() 공개 메소드

This method is called before a test is executed.
public setUp ( )

tearDown() 공개 메소드

This method is called after a test is executed.
public tearDown ( )

testGetUserAuth() 공개 메소드

Test getUser
public testGetUserAuth ( $rawData, $mapper )

testGetUserNotActive() 공개 메소드

Test getUser
public testGetUserNotActive ( $rawData, $mapper )

testGetUserNotActiveAccount() 공개 메소드

Test getUser
public testGetUserNotActiveAccount ( $rawData, $mapper )

testGetUserNotEmailProvided() 공개 메소드

Test getUser
public testGetUserNotEmailProvided ( $rawData, $mapper )

testGetUserNotEmailProvidedTwitter() 공개 메소드

Test getUser
public testGetUserNotEmailProvidedTwitter ( $rawData, $mapper )

testGetUserSessionData() 공개 메소드

Test getUser

testMapUser() 공개 메소드

Test _mapUser
public testMapUser ( $data, $mappedData )

testMapUserException() 공개 메소드

Test _mapUser

testSocialLogin() 공개 메소드

Test _socialLogin
public testSocialLogin ( )

프로퍼티 상세

$fixtures 공개적으로 프로퍼티

Fixtures
public array $fixtures
리턴 array