PHP 클래스 Ouzo\Tests\ControllerTestCase

상속: extends DbTransactionalTestCase
파일 보기 프로젝트 열기: letsdrink/ouzo 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$frontController Ouzo\FrontController
$injectorConfig Ouzo\Injection\InjectorConfig

공개 메소드들

메소드 설명
__construct ( $name = null, array $data = [], $dataName = '' )
assertAssignsModel ( $variable, $modelObject )
assertAssignsValue ( $variable, $value )
assertDownloadsFile ( $file )
assertHasCookie ( $cookieAttributes )
assertRedirectsTo ( $path )
assertRenderedContent ( )
assertRenderedJsonAttributeEquals ( $attribute, $equals )
assertRenders ( $viewName )
assertResponseHeader ( $expected )
delete ( $url )
get ( $url, $data = null )
getActualContent ( )
getAssigned ( $name )
getRenderedJsonAsArray ( )
getResponseHeaders ( )
patch ( $url )
post ( $url, $data )
put ( $url, $data )

보호된 메소드들

메소드 설명
frontControllerBindings ( InjectorConfig $config )
requestContext ( )

비공개 메소드들

메소드 설명
_appendParamsToUrl ( $url, $data )
_initFrontController ( )
_parseUrlParams ( $url )
_prefixSystem ( )
_removePrefix ( $string )
_urlHasParams ( $url )

메소드 상세

__construct() 공개 메소드

public __construct ( $name = null, array $data = [], $dataName = '' )
$data array

assertAssignsModel() 공개 메소드

public assertAssignsModel ( $variable, $modelObject )

assertAssignsValue() 공개 메소드

public assertAssignsValue ( $variable, $value )

assertDownloadsFile() 공개 메소드

public assertDownloadsFile ( $file )

assertHasCookie() 공개 메소드

public assertHasCookie ( $cookieAttributes )

assertRedirectsTo() 공개 메소드

public assertRedirectsTo ( $path )

assertRenderedContent() 공개 메소드

assertRenderedJsonAttributeEquals() 공개 메소드

public assertRenderedJsonAttributeEquals ( $attribute, $equals )

assertRenders() 공개 메소드

public assertRenders ( $viewName )

assertResponseHeader() 공개 메소드

public assertResponseHeader ( $expected )

delete() 공개 메소드

public delete ( $url )

frontControllerBindings() 보호된 메소드

protected frontControllerBindings ( InjectorConfig $config )
$config Ouzo\Injection\InjectorConfig

get() 공개 메소드

public get ( $url, $data = null )

getActualContent() 공개 메소드

public getActualContent ( )

getAssigned() 공개 메소드

public getAssigned ( $name )

getRenderedJsonAsArray() 공개 메소드

getResponseHeaders() 공개 메소드

public getResponseHeaders ( )

patch() 공개 메소드

public patch ( $url )

post() 공개 메소드

public post ( $url, $data )

put() 공개 메소드

public put ( $url, $data )

requestContext() 보호된 메소드

protected requestContext ( )

프로퍼티 상세

$frontController 보호되어 있는 프로퍼티

protected FrontController,Ouzo $frontController
리턴 Ouzo\FrontController

$injectorConfig 보호되어 있는 프로퍼티

protected InjectorConfig,Ouzo\Injection $injectorConfig
리턴 Ouzo\Injection\InjectorConfig