#include "components/privacy_sandbox/privacy_sandbox_attestations/privacy_sandbox_attestations_parser.h"
#include <string>
#include "base/containers/enum_set.h"
#include "base/containers/flat_map.h"
#include "base/test/with_feature_override.h"
#include "components/privacy_sandbox/privacy_sandbox_attestations/proto/privacy_sandbox_attestations.pb.h"
#include "net/base/schemeful_site.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/features.h"
#include "url/gurl.h"
namespace privacy_sandbox {
class PrivacySandboxAttestationsParserTest : public testing::Test { … };
TEST_F(PrivacySandboxAttestationsParserTest, EmptyProto) { … }
TEST_F(PrivacySandboxAttestationsParserTest, InvalidProto) { … }
TEST_F(PrivacySandboxAttestationsParserTest, OneSitePerAPIProto) { … }
TEST_F(PrivacySandboxAttestationsParserTest, MultipleAPIsPerSiteProto) { … }
TEST_F(PrivacySandboxAttestationsParserTest, AllAPIsProto) { … }
TEST_F(PrivacySandboxAttestationsParserTest, RepeatedSiteProto) { … }
TEST_F(PrivacySandboxAttestationsParserTest, InvalidAllAPIsProto) { … }
class FencedFramesLocalUnpartitionedDataAccessAttestationTest
: public base::test::WithFeatureOverride,
public PrivacySandboxAttestationsParserTest { … };
TEST_P(FencedFramesLocalUnpartitionedDataAccessAttestationTest,
LocalUnpartitionedDataAccessAttestationEnum) { … }
TEST_P(FencedFramesLocalUnpartitionedDataAccessAttestationTest, AllAPIs) { … }
TEST_P(FencedFramesLocalUnpartitionedDataAccessAttestationTest,
AllAPIsWithLocalUnpartitionedDataAccess) { … }
INSTANTIATE_FEATURE_OVERRIDE_TEST_SUITE(…);
}