#include "net/cookies/cookie_partition_key_collection.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/task_environment.h"
#include "net/base/features.h"
#include "net/cookies/test_cookie_access_delegate.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
UnorderedElementsAre;
TEST(CookiePartitionKeyCollectionTest, EmptySet) { … }
TEST(CookiePartitionKeyCollectionTest, SingletonSet) { … }
TEST(CookiePartitionKeyCollectionTest, MultipleElements) { … }
TEST(CookiePartitionKeyCollectionTest, ContainsAll) { … }
TEST(CookiePartitionKeyCollectionTest, FromOptional) { … }
TEST(CookiePartitionKeyCollectionTest, Contains) { … }
TEST(CookiePartitionKeyCollectionTest, Equals) { … }
class AncestorChainBitCookiePartitionKeyCollectionTest
: public testing::TestWithParam<bool> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(AncestorChainBitCookiePartitionKeyCollectionTest,
ConsidersAncestorChainBit) { … }
}