PHP Class Symfony\Bundle\FrameworkBundle\Tests\Controller\RedirectControllerTest

Author: Marcin Sikon ([email protected])
Inheritance: extends Symfony\Bundle\FrameworkBundle\Tests\TestCase
Datei anzeigen Open project: symfony/symfony

Public Methods

Method Description
assertRedirectUrl ( Response $returnResponse, $expectedUrl )
pathQueryParamsProvider ( )
provider ( )
testEmptyPath ( )
testEmptyRoute ( )
testFullURL ( )
testPathQueryParams ( $expectedUrl, $path, $queryString )
testRoute ( $permanent, $ignoreAttributes, $expectedCode, $expectedAttributes )
testUrlRedirect ( $scheme, $httpPort, $httpsPort, $requestScheme, $requestPort, $expectedPort )
testUrlRedirectDefaultPortParameters ( )
urlRedirectProvider ( )

Private Methods

Method Description
createRedirectController ( $httpPort = null, $httpsPort = null )
createRequestObject ( $scheme, $host, $port, $baseUrl, $queryString = '' )

Method Details

assertRedirectUrl() public method

public assertRedirectUrl ( Response $returnResponse, $expectedUrl )
$returnResponse Symfony\Component\HttpFoundation\Response

pathQueryParamsProvider() public method

provider() public method

public provider ( )

testEmptyPath() public method

public testEmptyPath ( )

testEmptyRoute() public method

public testEmptyRoute ( )

testFullURL() public method

public testFullURL ( )

testPathQueryParams() public method

public testPathQueryParams ( $expectedUrl, $path, $queryString )

testRoute() public method

public testRoute ( $permanent, $ignoreAttributes, $expectedCode, $expectedAttributes )

testUrlRedirect() public method

public testUrlRedirect ( $scheme, $httpPort, $httpsPort, $requestScheme, $requestPort, $expectedPort )

testUrlRedirectDefaultPortParameters() public method

urlRedirectProvider() public method

public urlRedirectProvider ( )