From 2e7c475e1611ee9bf2ac9d6e63eeef59614bf2ca Mon Sep 17 00:00:00 2001 From: "zhanyong.wan" Date: Fri, 6 Nov 2009 23:43:30 +0000 Subject: [PATCH] Adds a dummy test to gmock-port.test.cc. --- test/gmock-port_test.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/gmock-port_test.cc b/test/gmock-port_test.cc index 9a64ec33..fe844e72 100644 --- a/test/gmock-port_test.cc +++ b/test/gmock-port_test.cc @@ -36,4 +36,8 @@ #include #include -// This file intentionally contains no test at this moment. +// This file intentionally contains no tests at this moment. + +// Putting a dummy test here makes references to symbols in the gtest +// library and avoids 'undefined symbol' linker errors in gmock_main. +TEST(DummyTest, Dummy) {}