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

Side by Side Diff: testing/embedder_test.cpp

Issue 1136703003: Merge to XFA: Create top-level public/ header directory. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 7 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
« no previous file with comments | « testing/embedder_test.h ('k') | no next file » | 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 #include <stdio.h> 8 #include <stdio.h>
9 #include <stdlib.h> 9 #include <stdlib.h>
10 #include <string.h> 10 #include <string.h>
11 11
12 #include <list> 12 #include <list>
13 #include <string> 13 #include <string>
14 #include <utility> 14 #include <utility>
15 #include <vector> 15 #include <vector>
16 16
17 #include "../fpdfsdk/include/fpdftext.h"
18 #include "../fpdfsdk/include/fpdfview.h"
19 #include "../core/include/fxcrt/fx_system.h" 17 #include "../core/include/fxcrt/fx_system.h"
18 #include "../public/fpdf_text.h"
19 #include "../public/fpdfview.h"
20 #include "testing/gmock/include/gmock/gmock.h" 20 #include "testing/gmock/include/gmock/gmock.h"
21 #include "v8/include/v8.h" 21 #include "v8/include/v8.h"
22 #include "v8/include/libplatform/libplatform.h" 22 #include "v8/include/libplatform/libplatform.h"
23 23
24 #ifdef _WIN32 24 #ifdef _WIN32
25 #define snprintf _snprintf 25 #define snprintf _snprintf
26 #define PATH_SEPARATOR '\\' 26 #define PATH_SEPARATOR '\\'
27 #else 27 #else
28 #define PATH_SEPARATOR '/' 28 #define PATH_SEPARATOR '/'
29 #endif 29 #endif
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 } 350 }
351 351
352 // Can't use gtest-provided main since we need to stash the path to the 352 // Can't use gtest-provided main since we need to stash the path to the
353 // executable in order to find the external V8 binary data files. 353 // executable in order to find the external V8 binary data files.
354 int main(int argc, char** argv) { 354 int main(int argc, char** argv) {
355 g_exe_path_ = argv[0]; 355 g_exe_path_ = argv[0];
356 testing::InitGoogleTest(&argc, argv); 356 testing::InitGoogleTest(&argc, argv);
357 testing::InitGoogleMock(&argc, argv); 357 testing::InitGoogleMock(&argc, argv);
358 return RUN_ALL_TESTS(); 358 return RUN_ALL_TESTS();
359 } 359 }
OLDNEW
« no previous file with comments | « testing/embedder_test.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698