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

Unified Diff: testing/embedder_test.cpp

Issue 955513009: Pull in gmock for standalone pdfium builds. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Still can't alphebetize gtest vs. gmock. Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pdfium.gyp ('k') | testing/embedder_test_mock_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/embedder_test.cpp
diff --git a/testing/embedder_test.cpp b/testing/embedder_test.cpp
index fc6b4dbc80cf862ad89cb47a62f231a3f324d3c1..e8d5a09f65b31d7d108c52fbd9af986c80c52f72 100644
--- a/testing/embedder_test.cpp
+++ b/testing/embedder_test.cpp
@@ -17,6 +17,7 @@
#include "../fpdfsdk/include/fpdftext.h"
#include "../fpdfsdk/include/fpdfview.h"
#include "../core/include/fxcrt/fx_system.h"
+#include "testing/gmock/include/gmock/gmock.h"
#include "v8/include/v8.h"
#ifdef _WIN32
@@ -340,5 +341,6 @@ int EmbedderTest::AlertTrampoline(IPDF_JSPLATFORM* platform,
int main(int argc, char** argv) {
g_exe_path_ = argv[0];
testing::InitGoogleTest(&argc, argv);
+ testing::InitGoogleMock(&argc, argv);
return RUN_ALL_TESTS();
}
« no previous file with comments | « pdfium.gyp ('k') | testing/embedder_test_mock_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698