PHP Class lithium\tests\cases\action\ResponseTest

Inheritance: extends lithium\test\Unit
Afficher le fichier Open project: unionofrad/lithium

Méthodes publiques

Свойство Type Description
$response

Méthodes publiques

Méthode Description
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 ( )

Method Details

match() public static méthode

public static match ( $url )

setUp() public méthode

public setUp ( )

testBrowserRedirection() public méthode

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() public méthode

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

testLocationHeader() public méthode

Tests location headers.
public testLocationHeader ( )

testResponseCaching() public méthode

public testResponseCaching ( )

testResponseRenderJson() public méthode

testResponseRenderString() public méthode

testResponseRenderWithCookies() public méthode

testResponseToString() public méthode

testStatusCodes() public méthode

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

testTypeManipulation() public méthode

Property Details

$response public_oe property

public $response