ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
it_creates_from_response ($setCookieStrings, array $expectedSetCookies) | |
it_creates_from_set_cookie_strings ($setCookieStrings, array $expectedSetCookies) | |
it_knows_which_set_cookies_are_available ($setCookieStrings, array $expectedSetCookies) | |
it_gets_set_cookie_by_name ($setCookieStrings, $setCookieName, SetCookie $expectedSetCookie=null) | |
it_renders_added_and_removed_set_cookies_header () | |
it_gets_and_updates_set_cookie_value_on_request () | |
provideSetCookieStringsAndExpectedSetCookiesData () | |
provideGetsSetCookieByNameData () | |
Data Fields | |
const | INTERFACE_PSR_HTTP_MESSAGE_RESPONSE = 'Psr\Http\Message\ResponseInterface' |
Definition at line 5 of file SetCookiesTest.php.
Dflydev\FigCookies\SetCookiesTest::it_creates_from_response | ( | $setCookieStrings, | |
array | $expectedSetCookies | ||
) |
string[] | $setCookieStrings |
SetCookie[] | $expectedSetCookies |
Definition at line 16 of file SetCookiesTest.php.
References $response, Dflydev\FigCookies\SetCookies\fromResponse(), and Dflydev\FigCookies\SetCookies\SET_COOKIE_HEADER.
Dflydev\FigCookies\SetCookiesTest::it_creates_from_set_cookie_strings | ( | $setCookieStrings, | |
array | $expectedSetCookies | ||
) |
string[] | $setCookieStrings |
SetCookie[] | $expectedSetCookies |
Definition at line 33 of file SetCookiesTest.php.
References Dflydev\FigCookies\SetCookies\fromSetCookieStrings().
Dflydev\FigCookies\SetCookiesTest::it_gets_and_updates_set_cookie_value_on_request | ( | ) |
Definition at line 94 of file SetCookiesTest.php.
References $response, Dflydev\FigCookies\SetCookies\fromResponse(), Dflydev\FigCookies\SetCookies\SET_COOKIE_HEADER, and Dflydev\FigCookies\withAddedHeader().
Dflydev\FigCookies\SetCookiesTest::it_gets_set_cookie_by_name | ( | $setCookieStrings, | |
$setCookieName, | |||
SetCookie | $expectedSetCookie = null |
||
) |
Definition at line 62 of file SetCookiesTest.php.
References Dflydev\FigCookies\SetCookies\fromSetCookieStrings().
Dflydev\FigCookies\SetCookiesTest::it_knows_which_set_cookies_are_available | ( | $setCookieStrings, | |
array | $expectedSetCookies | ||
) |
string[] | $setCookieStrings |
SetCookie[] | $expectedSetCookies |
Definition at line 47 of file SetCookiesTest.php.
References Dflydev\FigCookies\SetCookies\fromSetCookieStrings().
Dflydev\FigCookies\SetCookiesTest::it_renders_added_and_removed_set_cookies_header | ( | ) |
Definition at line 72 of file SetCookiesTest.php.
References $response, Dflydev\FigCookies\SetCookie\create(), Dflydev\FigCookies\SetCookies\fromSetCookieStrings(), and Dflydev\FigCookies\SetCookies\SET_COOKIE_HEADER.
Dflydev\FigCookies\SetCookiesTest::provideGetsSetCookieByNameData | ( | ) |
Definition at line 182 of file SetCookiesTest.php.
References Dflydev\FigCookies\SetCookie\create().
Dflydev\FigCookies\SetCookiesTest::provideSetCookieStringsAndExpectedSetCookiesData | ( | ) |
Definition at line 137 of file SetCookiesTest.php.
References Dflydev\FigCookies\SetCookie\create().
const Dflydev\FigCookies\SetCookiesTest::INTERFACE_PSR_HTTP_MESSAGE_RESPONSE = 'Psr\Http\Message\ResponseInterface' |
Definition at line 7 of file SetCookiesTest.php.