aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2009-11-06 23:43:30 +0000
committerzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2009-11-06 23:43:30 +0000
commit2e7c475e1611ee9bf2ac9d6e63eeef59614bf2ca (patch)
treecb09974e56716c558539d75836e3e3b07392294e /test
parent6c54a5e1f91e033fa937be5d647ce43dee597ad8 (diff)
downloadgoogletest-2e7c475e1611ee9bf2ac9d6e63eeef59614bf2ca.tar.gz
googletest-2e7c475e1611ee9bf2ac9d6e63eeef59614bf2ca.tar.bz2
googletest-2e7c475e1611ee9bf2ac9d6e63eeef59614bf2ca.zip
Adds a dummy test to gmock-port.test.cc.
Diffstat (limited to 'test')
-rw-r--r--test/gmock-port_test.cc6
1 files changed, 5 insertions, 1 deletions
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 <gmock/internal/gmock-port.h>
#include <gtest/gtest.h>
-// 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) {}