PHP Класс lithium\tests\cases\action\ResponseTest

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

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

Свойство Тип Описание
$response

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

Метод Описание
match ( $url )
setUp ( )
testBrowserRedirection ( ) Tests that, when a location is assigned without a status code being set, that the status code will be automatically set to 302 when the response is rendered.
testDownloadMagicHeader ( ) Tests custom header add-ons, like 'download'.
testLocationHeader ( ) Tests location headers.
testResponseCaching ( )
testResponseRenderJson ( )
testResponseRenderString ( )
testResponseRenderWithCookies ( )
testResponseToString ( )
testStatusCodes ( ) Tests various methods of specifying HTTP status codes.
testTypeManipulation ( )

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

match() публичный статический Метод

public static match ( $url )

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

public setUp ( )

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

Tests that, when a location is assigned without a status code being set, that the status code will be automatically set to 302 when the response is rendered.

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

Tests custom header add-ons, like 'download'.

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

Tests location headers.
public testLocationHeader ( )

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

public testResponseCaching ( )

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

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

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

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

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

Tests various methods of specifying HTTP status codes.
public testStatusCodes ( )

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

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

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

public $response