#include "crl.h"
#include <string_view>
#include <gtest/gtest.h>
#include <openssl/pool.h>
#include "cert_errors.h"
#include "parsed_certificate.h"
#include "string_util.h"
#include "test_helpers.h"
BSSL_NAMESPACE_BEGIN
namespace {
constexpr int64_t kAgeOneWeek = …;
std::string GetFilePath(std::string_view file_name) { … }
std::shared_ptr<const ParsedCertificate> ParseCertificate(
std::string_view data) { … }
class CheckCRLTest : public ::testing::TestWithParam<const char *> { … };
constexpr char const *kTestParams[] = …;
struct PrintTestName { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(CheckCRLTest, FromFile) { … }
}
BSSL_NAMESPACE_END