PHP Class Ergo\Tests\Http\UrlTest

See also: http://github.com/pda/phool
Author: Paul Annesley ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: 99designs/ergo

Public Methods

Method Description
testBasicHttpsUsage ( )
testBriefHttpUrlUsage ( )
testCustomPort ( )
testExceptionsThrown ( )
testGetForRelativePathWithNoLeadingSlash ( )
testGetForRelativePathWithOnlyQueryString ( )
testGetForRelativePathWithOnlySlash ( )
testGetForRelativePathWithTrailingSlash ( )
testGetUrlForFragment ( )
testGetUrlForMergedParameters ( )
testGetUrlForMergedParametersWithEmptyQuery ( )
testGetUrlForParameters ( )
testGetUrlForRelativePath ( )
testGetUrlForScheme ( )
testGettingUrlForASimplePath ( )
testGettingUrlForPathTrimsQueryString ( )
testHasMethods ( )
testIsDefaultPort ( )
testSerializeToString ( )
testVerboseHttpUrlUsage ( )
testWithoutPath ( )

Private Methods

Method Description
_assertExpectedValues ( $url, $custom = [] ) ----------------------------------------

Method Details

testBasicHttpsUsage() public method

public testBasicHttpsUsage ( )

testBriefHttpUrlUsage() public method

testCustomPort() public method

public testCustomPort ( )

testExceptionsThrown() public method

testGetForRelativePathWithNoLeadingSlash() public method

testGetForRelativePathWithOnlyQueryString() public method

testGetForRelativePathWithOnlySlash() public method

testGetForRelativePathWithTrailingSlash() public method

testGetUrlForFragment() public method

testGetUrlForMergedParameters() public method

testGetUrlForMergedParametersWithEmptyQuery() public method

testGetUrlForParameters() public method

testGetUrlForRelativePath() public method

testGetUrlForScheme() public method

public testGetUrlForScheme ( )

testGettingUrlForASimplePath() public method

testGettingUrlForPathTrimsQueryString() public method

testHasMethods() public method

public testHasMethods ( )

testIsDefaultPort() public method

public testIsDefaultPort ( )

testSerializeToString() public method

testVerboseHttpUrlUsage() public method

testWithoutPath() public method

public testWithoutPath ( )