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

Inheritance: extends Neos\Flow\Tests\UnitTestCase
Afficher le fichier Open project: neos/flow-development-collection

Méthodes publiques

Méthode 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 méthode

constructorParsesAFullBlownUriStringCorrectly() public méthode

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

constructorParsesArgumentsWithSpecialCharactersCorrectly() public méthode

constructorParsesHostCorrectly() public méthode

public constructorParsesHostCorrectly ( $uriString, $expectedHost )

hostTestUris() public méthode

URIs for testing host parsing
public hostTestUris ( )

settingInvalidHostThrowsException() public méthode

settingSchemeAndHostOnUriDoesNotConfuseToString() public méthode

Checks round trips for various URIs

settingValidHostPassesRegexCheck() public méthode

public settingValidHostPassesRegexCheck ( $uriString, $plainHost )

stringRepresentationIsCorrect() public méthode

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

toStringOmitsStandardPorts() public méthode

unparsableUriStringThrowsException() public méthode

uriStrings() public méthode

Uri strings
public uriStrings ( )

urisCanBeConvertedForthAndBackWithoutLoss() public méthode

Checks round trips for various URIs