OLD | NEW |
1 // Copyright 2015 PDFium Authors. All rights reserved. | 1 // Copyright 2015 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 "core/include/fpdfapi/fpdf_parser_decode.h" | 5 #include "core/fpdfapi/fpdf_parser/include/fpdf_parser_decode.h" |
6 | 6 |
7 #include <cstring> | 7 #include <cstring> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "core/include/fxcrt/fx_basic.h" | 10 #include "core/include/fxcrt/fx_basic.h" |
11 #include "testing/embedder_test.h" | 11 #include "testing/embedder_test.h" |
12 #include "testing/fx_string_testhelpers.h" | 12 #include "testing/fx_string_testhelpers.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 #include "testing/test_support.h" | 14 #include "testing/test_support.h" |
15 | 15 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 | 108 |
109 TEST_F(FPDFParserDecodeEmbeddertest, Bug_455199) { | 109 TEST_F(FPDFParserDecodeEmbeddertest, Bug_455199) { |
110 // Tests object numbers with a value > 01000000. | 110 // Tests object numbers with a value > 01000000. |
111 // Should open successfully. | 111 // Should open successfully. |
112 EXPECT_TRUE(OpenDocument("bug_455199.pdf")); | 112 EXPECT_TRUE(OpenDocument("bug_455199.pdf")); |
113 FPDF_PAGE page = LoadPage(0); | 113 FPDF_PAGE page = LoadPage(0); |
114 FPDF_BITMAP bitmap = RenderPage(page); | 114 FPDF_BITMAP bitmap = RenderPage(page); |
115 FPDFBitmap_Destroy(bitmap); | 115 FPDFBitmap_Destroy(bitmap); |
116 UnloadPage(page); | 116 UnloadPage(page); |
117 } | 117 } |
OLD | NEW |