chromium/content/browser/web_package/signed_exchange_certificate_chain_unittest.cc

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

#include "content/browser/web_package/signed_exchange_certificate_chain.h"

#include <optional>
#include <string_view>

#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/path_service.h"
#include "components/cbor/values.h"
#include "components/cbor/writer.h"
#include "content/browser/web_package/signed_exchange_test_utils.h"
#include "content/public/common/content_paths.h"
#include "net/cert/x509_util.h"
#include "net/test/cert_test_util.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace content {

namespace {

cbor::Value CBORByteString(std::string_view str) {}

scoped_refptr<net::X509Certificate> LoadCertificate(
    const std::string& cert_file) {}

}  // namespace

TEST(SignedExchangeCertificateParseTest, Empty) {}

TEST(SignedExchangeCertificateParseTest, EmptyChain) {}

TEST(SignedExchangeCertificateParseTest, MissingCert) {}

TEST(SignedExchangeCertificateParseTest, OneCert) {}

TEST(SignedExchangeCertificateParseTest, MissingOCSPInFirstCert) {}

TEST(SignedExchangeCertificateParseTest, TwoCerts) {}

TEST(SignedExchangeCertificateParseTest, HavingOCSPInSecondCert) {}

TEST(SignedExchangeCertificateParseTest, ParseGoldenFile) {}

TEST(SignedExchangeCertificateChainTest, IgnoreErrorsSPKIList) {}

}  // namespace content