• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2016 The PDFium Authors
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,Bug216)10 TEST_F(CXFASimpleParserEmbedderTest, Bug216) {
11   ASSERT_TRUE(OpenDocument("bug_216.pdf"));
12   ScopedEmbedderTestPage page = LoadScopedPage(0);
13   EXPECT_TRUE(page);
14 }
15 
TEST_F(CXFASimpleParserEmbedderTest,Bug709793)16 TEST_F(CXFASimpleParserEmbedderTest, Bug709793) {
17   ASSERT_TRUE(OpenDocument("bug_709793.pdf"));
18   ScopedEmbedderTestPage page = LoadScopedPage(0);
19   EXPECT_TRUE(page);
20 }
21