chromium/net/http/http_cookie_indices_unittest.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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) {}

}  // namespace
}  // namespace net