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

Side by Side Diff: testing/embedder_test.cpp

Issue 1425153006: Fix all relative includes to third_party. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase 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_dataavail.h" 14 #include "../public/fpdf_dataavail.h"
15 #include "../public/fpdf_text.h" 15 #include "../public/fpdf_text.h"
16 #include "../public/fpdfview.h" 16 #include "../public/fpdfview.h"
17 #include "test_support.h" 17 #include "test_support.h"
18 #include "testing/gmock/include/gmock/gmock.h" 18 #include "testing/gmock/include/gmock/gmock.h"
19 19
20 #ifdef PDF_ENABLE_V8 20 #ifdef PDF_ENABLE_V8
21 #include "v8/include/libplatform/libplatform.h"
22 #include "v8/include/v8.h" 21 #include "v8/include/v8.h"
22 #include "v8/include/v8-platform.h"
23 #endif // PDF_ENABLE_V8 23 #endif // PDF_ENABLE_V8
24 24
25 namespace { 25 namespace {
26 const char* g_exe_path_ = nullptr; 26 const char* g_exe_path_ = nullptr;
27 } // namespace 27 } // namespace
28 28
29 FPDF_BOOL Is_Data_Avail(FX_FILEAVAIL* pThis, size_t offset, size_t size) { 29 FPDF_BOOL Is_Data_Avail(FX_FILEAVAIL* pThis, size_t offset, size_t size) {
30 return true; 30 return true;
31 } 31 }
32 32
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 } 279 }
280 280
281 // Can't use gtest-provided main since we need to stash the path to the 281 // Can't use gtest-provided main since we need to stash the path to the
282 // executable in order to find the external V8 binary data files. 282 // executable in order to find the external V8 binary data files.
283 int main(int argc, char** argv) { 283 int main(int argc, char** argv) {
284 g_exe_path_ = argv[0]; 284 g_exe_path_ = argv[0];
285 testing::InitGoogleTest(&argc, argv); 285 testing::InitGoogleTest(&argc, argv);
286 testing::InitGoogleMock(&argc, argv); 286 testing::InitGoogleMock(&argc, argv);
287 return RUN_ALL_TESTS(); 287 return RUN_ALL_TESTS();
288 } 288 }
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