summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2009-11-10 19:16:27 +0000
committerzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2009-11-10 19:16:27 +0000
commit64c38ef491be511363831396859778f6722d425b (patch)
tree8307da677eb7ce4986a99737173cfc5af614d72f
parent7cb14c882002212c760af0bd29443987ced04c5f (diff)
downloadgooglemock-64c38ef491be511363831396859778f6722d425b.tar.gz
Makes gmock-all.cc catch errors in fuse_gmock.py.
git-svn-id: http://googlemock.googlecode.com/svn/trunk@226 8415998a-534a-0410-bf83-d39667b30386
-rw-r--r--src/gmock-all.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gmock-all.cc b/src/gmock-all.cc
index a14c397..c9223fc 100644
--- a/src/gmock-all.cc
+++ b/src/gmock-all.cc
@@ -35,6 +35,11 @@
// purpose is to allow a user to build Google Mock by compiling this
// file alone.
+// This line ensures that gmock.h can be compiled on its own, even
+// when it's fused.
+#include <gmock/gmock.h>
+
+// The following lines pull in the real gmock *.cc files.
#include "src/gmock-cardinalities.cc"
#include "src/gmock-internal-utils.cc"
#include "src/gmock-matchers.cc"