#include "net/http/http_cookie_indices.h"
#include "net/cookies/cookie_util.h"
#include "net/http/http_response_headers.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
namespace {
ParsedRequestCookies;
ElementsAre;
Optional;
constexpr std::string_view kCookieIndicesHeader = …;
TEST(CookieIndicesTest, Absent) { … }
TEST(CookieIndicesTest, PresentButEmpty) { … }
TEST(CookieIndicesTest, OneCookie) { … }
TEST(CookieIndicesTest, SeveralCookies) { … }
TEST(CookieIndicesTest, NonRfc6265Cookie) { … }
TEST(CookieIndicesTest, NotAList) { … }
TEST(CookieIndicesTest, InnerList) { … }
TEST(CookieIndicesTest, Token) { … }
TEST(CookieIndicesTest, StringWithUnrecognizedParam) { … }
TEST(CookieIndicesTest, HashIgnoresCookieOrder) { … }
TEST(CookieIndicesTest, HashCaseSensitive) { … }
TEST(CookieIndicesTest, HashNotJustConcatenated) { … }
TEST(CookieIndicesTest, HashDisregardsOtherCookies) { … }
TEST(CookieIndicesTest, HashDistinguishesEmptyAndAbsentCookies) { … }
TEST(CookieIndicesTest, IgnoresOrderOfDuplicateCookies) { … }
}
}