#include <string>
#include <vector>
#include "public/fpdf_attachment.h"
#include "public/fpdfview.h"
#include "testing/embedder_test.h"
#include "testing/fx_string_testhelpers.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/utils/hash.h"
static constexpr char kDateKey[] = …;
static constexpr char kChecksumKey[] = …;
class FPDFAttachmentEmbedderTest : public EmbedderTest { … };
TEST_F(FPDFAttachmentEmbedderTest, ExtractAttachments) { … }
TEST_F(FPDFAttachmentEmbedderTest, NoAttachmentToExtract) { … }
TEST_F(FPDFAttachmentEmbedderTest, InvalidAttachmentData) { … }
TEST_F(FPDFAttachmentEmbedderTest, AddAttachments) { … }
TEST_F(FPDFAttachmentEmbedderTest, AddAttachmentsWithParams) { … }
TEST_F(FPDFAttachmentEmbedderTest, AddAttachmentsToFileWithNoAttachments) { … }
TEST_F(FPDFAttachmentEmbedderTest, DeleteAttachment) { … }
TEST_F(FPDFAttachmentEmbedderTest, GetStringValueForChecksumNotString) { … }
TEST_F(FPDFAttachmentEmbedderTest, GetStringValueForNotString) { … }