OLD | NEW |
1 // Copyright 2015 PDFium Authors. All rights reserved. | 1 // Copyright 2016 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "testing/embedder_test.h" | 5 #include "testing/embedder_test.h" |
6 #include "testing/gtest/include/gtest/gtest.h" | 6 #include "testing/gtest/include/gtest/gtest.h" |
7 | 7 |
8 class XFAParserImpEmbeddertest : public EmbedderTest {}; | 8 class CXFASimpleParserEmbeddertest : public EmbedderTest {}; |
9 | 9 |
10 TEST_F(XFAParserImpEmbeddertest, Bug_216) { | 10 TEST_F(CXFASimpleParserEmbeddertest, Bug_216) { |
11 EXPECT_TRUE(OpenDocument("bug_216.pdf")); | 11 EXPECT_TRUE(OpenDocument("bug_216.pdf")); |
12 FPDF_PAGE page = LoadPage(0); | 12 FPDF_PAGE page = LoadPage(0); |
13 EXPECT_NE(nullptr, page); | 13 EXPECT_NE(nullptr, page); |
14 UnloadPage(page); | 14 UnloadPage(page); |
15 } | 15 } |
OLD | NEW |