• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "testing/embedder_test.h"
6 #include "testing/gtest/include/gtest/gtest.h"
7 
8 class CXFASimpleParserEmbeddertest : public EmbedderTest {};
9 
TEST_F(CXFASimpleParserEmbeddertest,Bug_216)10 TEST_F(CXFASimpleParserEmbeddertest, Bug_216) {
11   EXPECT_TRUE(OpenDocument("bug_216.pdf"));
12   FPDF_PAGE page = LoadPage(0);
13   EXPECT_NE(nullptr, page);
14   UnloadPage(page);
15 }
16 
TEST_F(CXFASimpleParserEmbeddertest,Bug_709793)17 TEST_F(CXFASimpleParserEmbeddertest, Bug_709793) {
18   EXPECT_TRUE(OpenDocument("bug_709793.pdf"));
19   FPDF_PAGE page = LoadPage(0);
20   EXPECT_NE(nullptr, page);
21   UnloadPage(page);
22 }
23