#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "net/cert/ct_log_response_parser.h"
#include <memory>
#include <string>
#include <string_view>
#include "base/base64.h"
#include "base/json/json_reader.h"
#include "base/time/time.h"
#include "base/values.h"
#include "net/cert/ct_serialization.h"
#include "net/cert/signed_tree_head.h"
#include "net/test/ct_test_util.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net::ct {
TEST(CTLogResponseParserTest, ParsesValidJsonSTH) { … }
TEST(CTLogResponseParserTest, FailsToParseMissingFields) { … }
TEST(CTLogResponseParserTest, FailsToParseIncorrectLengthRootHash) { … }
TEST(CTLogResponseParserTest, ParsesJsonSTHWithLargeTimestamp) { … }
TEST(CTLogResponseParserTest, ParsesConsistencyProofSuccessfully) { … }
TEST(CTLogResponseParserTest, FailsOnInvalidProofJson) { … }
TEST(CTLogResponseParserTest, ParsesProofJsonWithExtraFields) { … }
}