Documentation

UriUtilTest extends UtilTestAbstract
in package

FinalYes

Table of Contents

Constants

CACERT  = __DIR__ . '/cacert.pem'

Methods

parseUrlProvider()  : array<int, array{0: string, 1: array|null}>
testParseUrl()  : void
testUriAddAndRemoveQueryValues()  : void
testUriIsAbsolute()  : void
testUriIsAbsolutePathReference()  : void
testUriIsDefaultPort()  : void
testUriIsNetworkPathReference()  : void
testUriIsRelativePathReference()  : void
testUriRemoveNonExistingQueryValue()  : void
testUriWithoutQueryValueHandlesEncoding()  : void
testUriWithoutQueryValueRemovesAllSameKeys()  : void
testUriWithQueryValueHandlesEncoding()  : void
testUriWithQueryValueReplacesSameKeys()  : void
setUp()  : void

Constants

Methods

parseUrlProvider()

public static parseUrlProvider() : array<int, array{0: string, 1: array|null}>
Return values
array<int, array{0: string, 1: array|null}>

testParseUrl()

public testParseUrl(string $url, array<string, scalar>|null $expected) : void
Parameters
$url : string
$expected : array<string, scalar>|null
Attributes
#[DataProvider]
'parseUrlProvider'

testUriAddAndRemoveQueryValues()

public testUriAddAndRemoveQueryValues() : void

testUriIsAbsolute()

public testUriIsAbsolute() : void

testUriIsAbsolutePathReference()

public testUriIsAbsolutePathReference() : void

testUriIsDefaultPort()

public testUriIsDefaultPort() : void

testUriIsNetworkPathReference()

public testUriIsNetworkPathReference() : void

testUriIsRelativePathReference()

public testUriIsRelativePathReference() : void

testUriRemoveNonExistingQueryValue()

public testUriRemoveNonExistingQueryValue() : void

testUriWithoutQueryValueHandlesEncoding()

public testUriWithoutQueryValueHandlesEncoding() : void

testUriWithoutQueryValueRemovesAllSameKeys()

public testUriWithoutQueryValueRemovesAllSameKeys() : void

testUriWithQueryValueHandlesEncoding()

public testUriWithQueryValueHandlesEncoding() : void

testUriWithQueryValueReplacesSameKeys()

public testUriWithQueryValueReplacesSameKeys() : void

        
On this page

Search results