Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Side by Side Diff: core/fpdfapi/parser/fpdf_parser_decode_embeddertest.cpp

Issue 2392603004: Move core/fpdfapi/fpdf_parser to core/fpdfapi/parser (Closed)
Patch Set: Rebase to master Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/fpdfapi/fpdf_parser/fpdf_parser_decode.h" 5 #include "core/fpdfapi/parser/fpdf_parser_decode.h"
6 6
7 #include <cstring> 7 #include <cstring>
8 #include <string> 8 #include <string>
9 9
10 #include "core/fxcrt/fx_basic.h" 10 #include "core/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
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 }
OLDNEW
« no previous file with comments | « core/fpdfapi/parser/fpdf_parser_decode.cpp ('k') | core/fpdfapi/parser/fpdf_parser_decode_unittest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698