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

Side by Side Diff: testing/embedder_test.cpp

Issue 1431593007: Merge to XFA: Fix all relative includes to public. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: IWYU, AKA fix build Created 5 years, 1 month 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
« no previous file with comments | « testing/embedder_test.h ('k') | testing/test_support.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015 PDFium Authors. All rights reserved. 1 // Copyright (c) 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 "embedder_test.h" 5 #include "embedder_test.h"
6 6
7 #include <limits.h> 7 #include <limits.h>
8 8
9 #include <list> 9 #include <list>
10 #include <string> 10 #include <string>
11 #include <utility> 11 #include <utility>
12 #include <vector> 12 #include <vector>
13 13
14 #include "../public/fpdf_text.h" 14 #include "public/fpdf_dataavail.h"
15 #include "../public/fpdfview.h" 15 #include "public/fpdf_text.h"
16 #include "public/fpdfview.h"
16 #include "test_support.h" 17 #include "test_support.h"
17 #include "testing/gmock/include/gmock/gmock.h" 18 #include "testing/gmock/include/gmock/gmock.h"
18 19
19 #ifdef PDF_ENABLE_V8 20 #ifdef PDF_ENABLE_V8
20 #include "v8/include/v8.h" 21 #include "v8/include/v8.h"
21 #include "v8/include/v8-platform.h" 22 #include "v8/include/v8-platform.h"
22 #endif // PDF_ENABLE_V8 23 #endif // PDF_ENABLE_V8
23 24
24 namespace { 25 namespace {
25 const char* g_exe_path_ = nullptr; 26 const char* g_exe_path_ = nullptr;
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 } 266 }
266 267
267 // Can't use gtest-provided main since we need to stash the path to the 268 // Can't use gtest-provided main since we need to stash the path to the
268 // executable in order to find the external V8 binary data files. 269 // executable in order to find the external V8 binary data files.
269 int main(int argc, char** argv) { 270 int main(int argc, char** argv) {
270 g_exe_path_ = argv[0]; 271 g_exe_path_ = argv[0];
271 testing::InitGoogleTest(&argc, argv); 272 testing::InitGoogleTest(&argc, argv);
272 testing::InitGoogleMock(&argc, argv); 273 testing::InitGoogleMock(&argc, argv);
273 return RUN_ALL_TESTS(); 274 return RUN_ALL_TESTS();
274 } 275 }
OLDNEW
« no previous file with comments | « testing/embedder_test.h ('k') | testing/test_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698