#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "components/gcm_driver/crypto/encryption_header_parsers.h"
#include <stddef.h>
#include <stdint.h>
#include "base/strings/string_number_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace gcm {
namespace {
const uint64_t kDefaultRecordSize = …;
TEST(EncryptionHeaderParsersTest, ParseValidEncryptionHeaders) { … }
TEST(EncryptionHeaderParsersTest, ParseValidMultiValueEncryptionHeaders) { … }
TEST(EncryptionHeaderParsersTest, ParseInvalidEncryptionHeaders) { … }
TEST(EncryptionHeaderParsersTest, ParseValidCryptoKeyHeaders) { … }
TEST(EncryptionHeaderParsersTest, ParseValidMultiValueCryptoKeyHeaders) { … }
TEST(EncryptionHeaderParsersTest, ParseInvalidCryptoKeyHeaders) { … }
TEST(EncryptionHeaderParsersTest, SixValueHeader) { … }
TEST(EncryptionHeaderParsersTest, InvalidHeadersResetOutput) { … }
}
}