Index: testing/embedder_test.cpp |
diff --git a/testing/embedder_test.cpp b/testing/embedder_test.cpp |
index b971e6dae1ea376bfdc51c759707dfb8f02566ce..ffe51192afe88bc8a178496c8d0e1075150f0d8f 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 |
@@ -343,5 +344,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(); |
} |