PHP 클래스 GuzzleHttp\Tests\Psr7\UriTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: nystudio107/instantanalytics

공개 메소드들

메소드 설명
getInvalidUris ( )
getPortTestCases ( )
getValidUris ( )
testAddAndRemoveQueryValues ( )
testAllowsForRelativeUri ( )
testAuthorityWithUserInfoOrPortButWithoutHost ( ) In RFC 8986 the host is optional and the authority can only consist of the user info and port.
testCanConstructFalseyUriParts ( )
testCanParseFalseyUriParts ( )
testCanTransformAndRetrievePartsIndividually ( )
testDefaultReturnValuesOfGetters ( )
testExtendingClassesInstantiates ( )
testFileSchemeWithEmptyHostReconstruction ( )
testFragmentMustHaveCorrectType ( )
testFromParts ( $input )
testHostInHttpUriDefaultsToLocalhost ( )
testHostInHttpsUriDefaultsToLocalhost ( )
testHostIsNormalizedToLowercase ( )
testHostMustHaveCorrectType ( )
testImmutability ( )
testInvalidUrisThrowException ( $invalidUri )
testIsAbsolute ( )
testIsAbsolutePathReference ( )
testIsDefaultPort ( $scheme, $port, $isDefaultPort )
testIsNetworkPathReference ( )
testIsRelativePathReference ( )
testIsSameDocumentReference ( )
testParseUriPortCannotBeZero ( )
testParsesProvidedUri ( )
testPathMustHaveCorrectType ( )
testPathStartingWithTwoSlashes ( )
testPathStartingWithTwoSlashesAndNoAuthorityIsInvalid ( )
testPortCanBeRemoved ( )
testPortIsNullIfStandardPortForScheme ( )
testPortIsReturnedIfSchemeUnknown ( )
testPortMustBeValid ( )
testPortPassedAsStringIsCastedToInt ( )
testQueryMustHaveCorrectType ( )
testRelativePathAndAuhorityIsInvalid ( )
testRelativeUriWithPathBeginngWithColonSegmentIsInvalid ( )
testRelativeUriWithPathHavingColonSegment ( )
testRemoveNonExistingQueryValue ( )
testSchemeIsNormalizedToLowercase ( )
testSchemeMustHaveCorrectType ( )
testStandardPortIsNullIfSchemeChanges ( )
testUriComponentsGetEncodedProperly ( $input, $path, $query, $fragment, $output )
testValidUrisStayValid ( $input )
testWithFragmentEncodesProperly ( )
testWithPathEncodesProperly ( )
testWithPortCannotBeZero ( )
testWithQueryEncodesProperly ( )
testWithQueryValueHandlesEncoding ( )
testWithQueryValueReplacesSameKeys ( )
testWithoutQueryValueHandlesEncoding ( )
testWithoutQueryValueRemovesAllSameKeys ( )
uriComponentsEncodingProvider ( )

메소드 상세

getInvalidUris() 공개 메소드

public getInvalidUris ( )

getPortTestCases() 공개 메소드

public getPortTestCases ( )

getValidUris() 공개 메소드

public getValidUris ( )

testAddAndRemoveQueryValues() 공개 메소드

testAllowsForRelativeUri() 공개 메소드

testAuthorityWithUserInfoOrPortButWithoutHost() 공개 메소드

In RFC 8986 the host is optional and the authority can only consist of the user info and port.

testCanConstructFalseyUriParts() 공개 메소드

testCanParseFalseyUriParts() 공개 메소드

testCanTransformAndRetrievePartsIndividually() 공개 메소드

testDefaultReturnValuesOfGetters() 공개 메소드

testExtendingClassesInstantiates() 공개 메소드

testFileSchemeWithEmptyHostReconstruction() 공개 메소드

testFragmentMustHaveCorrectType() 공개 메소드

testFromParts() 공개 메소드

public testFromParts ( $input )

testHostInHttpUriDefaultsToLocalhost() 공개 메소드

testHostInHttpsUriDefaultsToLocalhost() 공개 메소드

testHostIsNormalizedToLowercase() 공개 메소드

testHostMustHaveCorrectType() 공개 메소드

testImmutability() 공개 메소드

public testImmutability ( )

testInvalidUrisThrowException() 공개 메소드

public testInvalidUrisThrowException ( $invalidUri )

testIsAbsolute() 공개 메소드

public testIsAbsolute ( )

testIsAbsolutePathReference() 공개 메소드

testIsDefaultPort() 공개 메소드

public testIsDefaultPort ( $scheme, $port, $isDefaultPort )

testIsNetworkPathReference() 공개 메소드

testIsRelativePathReference() 공개 메소드

testIsSameDocumentReference() 공개 메소드

testParseUriPortCannotBeZero() 공개 메소드

testParsesProvidedUri() 공개 메소드

testPathMustHaveCorrectType() 공개 메소드

testPathStartingWithTwoSlashes() 공개 메소드

testPathStartingWithTwoSlashesAndNoAuthorityIsInvalid() 공개 메소드

testPortCanBeRemoved() 공개 메소드

testPortIsNullIfStandardPortForScheme() 공개 메소드

testPortIsReturnedIfSchemeUnknown() 공개 메소드

testPortMustBeValid() 공개 메소드

public testPortMustBeValid ( )

testPortPassedAsStringIsCastedToInt() 공개 메소드

testQueryMustHaveCorrectType() 공개 메소드

testRelativePathAndAuhorityIsInvalid() 공개 메소드

testRelativeUriWithPathBeginngWithColonSegmentIsInvalid() 공개 메소드

testRelativeUriWithPathHavingColonSegment() 공개 메소드

testRemoveNonExistingQueryValue() 공개 메소드

testSchemeIsNormalizedToLowercase() 공개 메소드

testSchemeMustHaveCorrectType() 공개 메소드

testStandardPortIsNullIfSchemeChanges() 공개 메소드

testUriComponentsGetEncodedProperly() 공개 메소드

public testUriComponentsGetEncodedProperly ( $input, $path, $query, $fragment, $output )

testValidUrisStayValid() 공개 메소드

public testValidUrisStayValid ( $input )

testWithFragmentEncodesProperly() 공개 메소드

testWithPathEncodesProperly() 공개 메소드

testWithPortCannotBeZero() 공개 메소드

testWithQueryEncodesProperly() 공개 메소드

testWithQueryValueHandlesEncoding() 공개 메소드

testWithQueryValueReplacesSameKeys() 공개 메소드

testWithoutQueryValueHandlesEncoding() 공개 메소드

testWithoutQueryValueRemovesAllSameKeys() 공개 메소드

uriComponentsEncodingProvider() 공개 메소드