chromium/third_party/pdfium/fpdfsdk/fpdf_save_embeddertest.cpp

// Copyright 2016 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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  // PDF_ENABLE_XFA

TEST_F(FPDFSaveEmbedderTest, Bug342) {}

TEST_F(FPDFSaveEmbedderTest, Bug905142) {}

// Should not trigger a DCHECK() failure in CFX_FileBufferArchive.
// Fails because the PDF is malformed.
TEST_F(FPDFSaveEmbedderTest, Bug1328389) {}