PHP 클래스 RestTestCase

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

보호된 프로퍼티들

프로퍼티 타입 설명
$capture_error_responses boolean Flag as to whether error responses should be captured or the exception thrown.
$client
$doc
$expected_response_code
$namespaces
$response
$schema

공개 메소드들

메소드 설명
setUp ( )

보호된 메소드들

메소드 설명
assertResponseCode ( $code )
assertUrlEquals ( $expected, $actual )
assertXPathCount ( $count, $path )
assertXPathEquals ( $expected, $path )
assertXPathFound ( $path )
assertXPathRegExp ( $pattern, $path )
assertXmlEquals ( $xml )
delete ( $url, $headers = null )
get ( $url, $headers = null )
post ( $url, $body, $headers = null )
put ( $url, $body, $headers = null )
request ( $method, $url, $body = null, $headers = null )
setExpectedHttpError ( $code )
xPathEval ( $path )
xPathQuery ( $path )

비공개 메소드들

메소드 설명
getXPath ( )

메소드 상세

assertResponseCode() 보호된 메소드

protected assertResponseCode ( $code )

assertUrlEquals() 보호된 메소드

protected assertUrlEquals ( $expected, $actual )

assertXPathCount() 보호된 메소드

protected assertXPathCount ( $count, $path )

assertXPathEquals() 보호된 메소드

protected assertXPathEquals ( $expected, $path )

assertXPathFound() 보호된 메소드

protected assertXPathFound ( $path )

assertXPathRegExp() 보호된 메소드

protected assertXPathRegExp ( $pattern, $path )

assertXmlEquals() 보호된 메소드

protected assertXmlEquals ( $xml )

delete() 보호된 메소드

protected delete ( $url, $headers = null )

get() 보호된 메소드

protected get ( $url, $headers = null )

post() 보호된 메소드

protected post ( $url, $body, $headers = null )

put() 보호된 메소드

protected put ( $url, $body, $headers = null )

request() 보호된 메소드

protected request ( $method, $url, $body = null, $headers = null )

setExpectedHttpError() 보호된 메소드

protected setExpectedHttpError ( $code )

setUp() 공개 메소드

public setUp ( )

xPathEval() 보호된 메소드

protected xPathEval ( $path )

xPathQuery() 보호된 메소드

protected xPathQuery ( $path )

프로퍼티 상세

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

Flag as to whether error responses should be captured or the exception thrown.
protected bool $capture_error_responses
리턴 boolean

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

protected $client

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

protected $doc

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

protected $expected_response_code

$namespaces 보호되어 있는 정적으로 프로퍼티

protected static $namespaces

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

protected $response

$schema 보호되어 있는 정적으로 프로퍼티

protected static $schema