PHP Class Phalcon\Test\Unit\Mvc\UrlTest

Author: Andres Gutierrez ([email protected])
Author: Nikolaos Dimopoulos ([email protected])
Inheritance: extends Phalcon\Test\Module\UnitTest
Show file Open project: phalcon/cphalcon

Public Methods

Method Description
testUrlBase ( ) Tests the base url
testUrlForBlogMixedParameters ( ) Tests the url with a year/month/title
testUrlForController ( ) Tests the url with a controller
testUrlForControllerAction ( ) Tests the url with a controller and action
testUrlForDifferentLanguage ( ) Tests the url for a different language
testUrlForExternalSite ( ) Tests the url with external website
testUrlForGet ( ) Test should avoid double slash when joining baseUri to provided uri
testUrlOther ( ) Tests a different url
testUrlWithColons ( ) Test urls that contains colons in schema definition and as parameter

Private Methods

Method Description
setupDI ( ) Sets the environment

Method Details

testUrlBase() public method

Tests the base url
Since: 2014-09-04
Author: Nikolaos Dimopoulos ([email protected])
public testUrlBase ( )

testUrlForBlogMixedParameters() public method

Tests the url with a year/month/title
Since: 2014-09-04
Author: Nikolaos Dimopoulos ([email protected])

testUrlForController() public method

Tests the url with a controller
Since: 2014-09-04
Author: Nikolaos Dimopoulos ([email protected])

testUrlForControllerAction() public method

Tests the url with a controller and action
Since: 2014-09-04
Author: Nikolaos Dimopoulos ([email protected])

testUrlForDifferentLanguage() public method

Tests the url for a different language
Since: 2014-09-04
Author: Nikolaos Dimopoulos ([email protected])

testUrlForExternalSite() public method

Tests the url with external website
Since: 2014-09-04
Author: Nikolaos Dimopoulos ([email protected])

testUrlForGet() public method

Test should avoid double slash when joining baseUri to provided uri
Since: 2015-02-03
Author: Olivier Monaco ([email protected])
public testUrlForGet ( )

testUrlOther() public method

Tests a different url
Since: 2014-09-04
Author: Nikolaos Dimopoulos ([email protected])
public testUrlOther ( )

testUrlWithColons() public method

Test urls that contains colons in schema definition and as parameter
Since: 2016-05-07
Author: Anton Melnik ([email protected])
public testUrlWithColons ( )