#include "net/cert/internal/revocation_checker.h"
#include <string_view>
#include "base/time/time.h"
#include "net/cert/mock_cert_net_fetcher.h"
#include "net/test/cert_builder.h"
#include "net/test/revocation_builder.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/boringssl/src/pki/cert_errors.h"
#include "third_party/boringssl/src/pki/common_cert_errors.h"
#include "third_party/boringssl/src/pki/parse_certificate.h"
#include "third_party/boringssl/src/pki/parsed_certificate.h"
#include "url/gurl.h"
namespace net {
namespace {
_;
ByMove;
Mock;
Return;
StrictMock;
bool AddCertsToList(std::vector<CertBuilder*> builders,
bssl::ParsedCertificateList* out_certs) { … }
TEST(RevocationChecker, NoRevocationMechanism) { … }
TEST(RevocationChecker, ValidCRL) { … }
TEST(RevocationChecker, RevokedCRL) { … }
TEST(RevocationChecker, CRLRequestFails) { … }
TEST(RevocationChecker, CRLNonHttpUrl) { … }
TEST(RevocationChecker, SkipEntireInvalidCRLDistributionPoints) { … }
TEST(RevocationChecker, SkipUnsupportedCRLDistPointWithNonUriFullname) { … }
TEST(RevocationChecker, SkipUnsupportedCRLDistPointWithReasons) { … }
TEST(RevocationChecker, SkipUnsupportedCRLDistPointWithCrlIssuer) { … }
}
}