#include <array>
#include <string>
#include "core/fxcrt/fx_string.h"
#include "public/cpp/fpdf_scopers.h"
#include "public/fpdf_edit.h"
#include "public/fpdf_ppo.h"
#include "public/fpdf_save.h"
#include "public/fpdfview.h"
#include "testing/embedder_test.h"
#include "testing/embedder_test_constants.h"
#include "testing/gmock/include/gmock/gmock-matchers.h"
#include "testing/gtest/include/gtest/gtest.h"
HasSubstr;
Not;
StartsWith;
class FPDFSaveEmbedderTest : public EmbedderTest { … };
TEST_F(FPDFSaveEmbedderTest, SaveSimpleDoc) { … }
TEST_F(FPDFSaveEmbedderTest, SaveSimpleDocWithVersion) { … }
TEST_F(FPDFSaveEmbedderTest, SaveSimpleDocWithBadVersion) { … }
TEST_F(FPDFSaveEmbedderTest, SaveSimpleDocIncremental) { … }
TEST_F(FPDFSaveEmbedderTest, SaveSimpleDocNoIncremental) { … }
TEST_F(FPDFSaveEmbedderTest, SaveSimpleDocRemoveSecurity) { … }
TEST_F(FPDFSaveEmbedderTest, SaveSimpleDocBadFlags) { … }
TEST_F(FPDFSaveEmbedderTest, SaveCopiedDoc) { … }
TEST_F(FPDFSaveEmbedderTest, Bug42271133) { … }
TEST_F(FPDFSaveEmbedderTest, SaveLinearizedDoc) { … }
TEST_F(FPDFSaveEmbedderTest, Bug1409) { … }
#ifdef PDF_ENABLE_XFA
TEST_F(FPDFSaveEmbedderTest, SaveXFADoc) { … }
#endif
TEST_F(FPDFSaveEmbedderTest, Bug342) { … }
TEST_F(FPDFSaveEmbedderTest, Bug905142) { … }
TEST_F(FPDFSaveEmbedderTest, Bug1328389) { … }