PHP Class Neos\Flow\Tests\Unit\Http\UriTest

Inheritance: extends Neos\Flow\Tests\UnitTestCase
Show file Open project: neos/flow-development-collection

Public Methods

Method Description
constructingWithNotAStringThrowsException ( )
constructorParsesAFullBlownUriStringCorrectly ( ) Checks if a complete URI with all parts is transformed into an object correctly.
constructorParsesArgumentsWithSpecialCharactersCorrectly ( )
constructorParsesHostCorrectly ( $uriString, $expectedHost )
hostTestUris ( ) URIs for testing host parsing
settingInvalidHostThrowsException ( )
settingSchemeAndHostOnUriDoesNotConfuseToString ( ) Checks round trips for various URIs
settingValidHostPassesRegexCheck ( $uriString, $plainHost )
stringRepresentationIsCorrect ( ) Checks if a complete URI with all parts is transformed into an object correctly.
toStringOmitsStandardPorts ( )
unparsableUriStringThrowsException ( )
uriStrings ( ) Uri strings
urisCanBeConvertedForthAndBackWithoutLoss ( $uriString ) Checks round trips for various URIs

Method Details

constructingWithNotAStringThrowsException() public method

constructorParsesAFullBlownUriStringCorrectly() public method

Checks if a complete URI with all parts is transformed into an object correctly.

constructorParsesArgumentsWithSpecialCharactersCorrectly() public method

constructorParsesHostCorrectly() public method

public constructorParsesHostCorrectly ( $uriString, $expectedHost )

hostTestUris() public method

URIs for testing host parsing
public hostTestUris ( )

settingInvalidHostThrowsException() public method

settingSchemeAndHostOnUriDoesNotConfuseToString() public method

Checks round trips for various URIs

settingValidHostPassesRegexCheck() public method

public settingValidHostPassesRegexCheck ( $uriString, $plainHost )

stringRepresentationIsCorrect() public method

Checks if a complete URI with all parts is transformed into an object correctly.

toStringOmitsStandardPorts() public method

unparsableUriStringThrowsException() public method

uriStrings() public method

Uri strings
public uriStrings ( )

urisCanBeConvertedForthAndBackWithoutLoss() public method

Checks round trips for various URIs