PHP Class GuzzleHttp\Tests\CookieJar\SetCookieTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: nystudio107/instantanalytics

Méthodes publiques

Méthode Description
cookieParserDataProvider ( ) : array Provides the parsed information from a cookie
cookieValidateProvider ( )
pathMatchProvider ( )
testAddsExpiresBasedOnMaxAge ( )
testConvertsDateTimeMaxAgeToUnixTimestamp ( )
testConvertsToString ( )
testDeterminesIfExpired ( )
testDoesNotMatchIp ( )
testHoldsValues ( )
testInitializesDefaultValues ( )
testMatchesDomain ( )
testMatchesPath ( $cookiePath, $requestPath, $isMatch )
testParseCookie ( $cookie, $parsed )
testValidatesCookies ( $name, $value, $domain, $result )

Method Details

cookieParserDataProvider() public méthode

Provides the parsed information from a cookie
public cookieParserDataProvider ( ) : array
Résultat array

cookieValidateProvider() public méthode

pathMatchProvider() public méthode

public pathMatchProvider ( )

testAddsExpiresBasedOnMaxAge() public méthode

testConvertsDateTimeMaxAgeToUnixTimestamp() public méthode

testConvertsToString() public méthode

testDeterminesIfExpired() public méthode

testDoesNotMatchIp() public méthode

public testDoesNotMatchIp ( )

testHoldsValues() public méthode

public testHoldsValues ( )

testInitializesDefaultValues() public méthode

testMatchesDomain() public méthode

public testMatchesDomain ( )

testMatchesPath() public méthode

public testMatchesPath ( $cookiePath, $requestPath, $isMatch )

testParseCookie() public méthode

public testParseCookie ( $cookie, $parsed )

testValidatesCookies() public méthode

public testValidatesCookies ( $name, $value, $domain, $result )