summaryrefslogtreecommitdiff
path: root/testing/embedder_test.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-02-27 13:03:07 -0800
committerTom Sepez <tsepez@chromium.org>2015-02-27 13:03:07 -0800
commita310e001c5e7182aa32aca02c1cf930e2f0e0e13 (patch)
treeaf023841af9a9d97dd7d1204155172d79dc240d9 /testing/embedder_test.cpp
parent7dba98630d1db1ead3382ecda41a52932783e272 (diff)
downloadpdfium-a310e001c5e7182aa32aca02c1cf930e2f0e0e13.tar.xz
Merge to XFA: Pull in gmock for standalone pdfium builds.
Original Review URL: https://codereview.chromium.org/955513009 TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/965873002
Diffstat (limited to 'testing/embedder_test.cpp')
-rw-r--r--testing/embedder_test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/embedder_test.cpp b/testing/embedder_test.cpp
index b971e6dae1..ffe51192af 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();
}