#include "net/cert/merkle_tree_leaf.h"
#include <string.h>
#include <string>
#include "base/strings/string_number_conversions.h"
#include "net/cert/x509_certificate.h"
#include "net/test/cert_test_util.h"
#include "net/test/ct_test_util.h"
#include "net/test/test_data_directory.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net::ct {
namespace {
MATCHER_P(HexEq, hexStr, "") { … }
class MerkleTreeLeafTest : public ::testing::Test { … };
TEST_F(MerkleTreeLeafTest, CreatesForX509Cert) { … }
TEST_F(MerkleTreeLeafTest, CreatesForPrecert) { … }
TEST_F(MerkleTreeLeafTest, DoesNotCreateForEmbeddedSCTButNotPrecert) { … }
TEST_F(MerkleTreeLeafTest, HashForX509Cert) { … }
TEST_F(MerkleTreeLeafTest, HashForPrecert) { … }
}
}