chromium/net/base/network_anonymization_key_unittest.cc

// Copyright 2022 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/base/network_anonymization_key.h"

#include <optional>

#include "base/test/gtest_util.h"
#include "base/test/scoped_feature_list.h"
#include "base/unguessable_token.h"
#include "base/values.h"
#include "net/base/features.h"
#include "net/base/schemeful_site.h"
#include "network_anonymization_key.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
#include "url/url_util.h"

namespace net {

class NetworkAnonymizationKeyTest : public testing::Test {};

TEST_F(NetworkAnonymizationKeyTest, CreateFromNetworkIsolationKey) {}

TEST_F(NetworkAnonymizationKeyTest, CreateSameSite) {}

TEST_F(NetworkAnonymizationKeyTest, CreateCrossSite) {}

TEST_F(NetworkAnonymizationKeyTest, CreateFromFrameSite) {}

TEST_F(NetworkAnonymizationKeyTest, IsEmpty) {}

TEST_F(NetworkAnonymizationKeyTest, CreateTransient) {}

TEST_F(NetworkAnonymizationKeyTest, IsTransient) {}

TEST_F(NetworkAnonymizationKeyTest, IsFullyPopulated) {}

TEST_F(NetworkAnonymizationKeyTest, Getters) {}

TEST_F(NetworkAnonymizationKeyTest, ToDebugString) {}

TEST_F(NetworkAnonymizationKeyTest, Equality) {}

TEST_F(NetworkAnonymizationKeyTest, ValueRoundTripCrossSite) {}

TEST_F(NetworkAnonymizationKeyTest, ValueRoundTripSameSite) {}

TEST_F(NetworkAnonymizationKeyTest, TransientValueRoundTrip) {}

TEST_F(NetworkAnonymizationKeyTest, EmptyValueRoundTrip) {}

TEST(NetworkAnonymizationKeyFeatureShiftTest,
     ValueRoundTripKeySchemeMissmatch) {}

}  // namespace net