Overview

Namespaces

  • Docta
    • MercadoLibre
      • Exception
      • OAuth2
        • Client
          • Test
  • GuzzleHttp
    • Cookie
    • Exception
    • Handler
    • Promise
      • Test
      • Tests
    • Psr7
    • Test
      • Handler
    • Tests
      • CookieJar
      • Event
      • Exception
      • Handler
      • Promise
      • Psr7
  • League
    • OAuth2
      • Client
        • Grant
          • Exception
        • Provider
          • Exception
        • Test
          • Grant
          • Provider
            • Exception
            • Fake
          • Token
          • Tool
        • Token
        • Tool
  • None
  • Psr
    • Http
      • Message

Classes

  • CookieJarTest
  • FileCookieJarTest
  • SessionCookieJarTest
  • SetCookieTest
  • Overview
  • Namespace
  • Class
  • Download

Class CookieJarTest

PHPUnit\Framework\TestCase
Extended by GuzzleHttp\Tests\CookieJar\CookieJarTest
Namespace: GuzzleHttp\Tests\CookieJar
Covers: GuzzleHttp\Cookie\CookieJar
Located at tests/Cookie/CookieJarTest.php
Methods summary
public
# setUp( )
protected
# getTestCookies( )
public
# testCreatesFromArray( )
public
# testEmptyJarIsCountable( )
public
# testGetsCookiesByName( )
public
# getCookiesDataProvider( )

Provides test data for cookie cookieJar retrieval

Provides test data for cookie cookieJar retrieval

public
# testStoresAndRetrievesCookies( )
public
# testRemovesTemporaryCookies( )
public
# testRemovesSelectively( )
public
# testDoesNotAddIncompleteCookies( )
public
# testDoesNotAddEmptyCookies( )
public
# testDoesAddValidCookies( )
public
# testOverwritesCookiesThatAreOlderOrDiscardable( )
public
# testOverwritesCookiesThatHaveChanged( )
public
# testAddsCookiesFromResponseWithRequest( )
public
# getMatchingCookiesDataProvider( )
public
# testReturnsCookiesMatchingRequests( $url, $cookies )

Dataprovider

getMatchingCookiesDataProvider
public
# testThrowsExceptionWithStrictMode( )

Expectedexception

\RuntimeException

Expectedexceptionmessage

Invalid cookie: Cookie name must not contain invalid characters: ASCII Control characters (0-31;127), space, tab and the following characters: ()<>@,;:\"/?={}
public
# testDeletesCookiesByName( )
public
# testCanConvertToAndLoadFromArray( )
public
# testAddsCookiesWithEmptyPathFromResponse( )
public
# getCookiePathsDataProvider( )
public
# testCookiePathWithEmptySetCookiePath( $uriPath, $cookiePath )

Dataprovider

getCookiePathsDataProvider
MercadoLibre PHP SDK API documentation generated by ApiGen