summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2013-03-01 07:10:07 +0000
committerzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2013-03-01 07:10:07 +0000
commit522cbb1ff92b381ae968e85dd18022072313f0d8 (patch)
treec78f2e310a74687fb6ca7d0ea214c30979895146 /include
parent26c778f8891be98b913e93b952a1667d05b0af8c (diff)
downloadgooglemock-522cbb1ff92b381ae968e85dd18022072313f0d8.tar.gz
Improves the tests for nice, naggy, and strict mocks.
git-svn-id: http://googlemock.googlecode.com/svn/trunk@422 8415998a-534a-0410-bf83-d39667b30386
Diffstat (limited to 'include')
-rw-r--r--include/gmock/gmock-spec-builders.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/gmock/gmock-spec-builders.h b/include/gmock/gmock-spec-builders.h
index 4c2dca9..312fbe8 100644
--- a/include/gmock/gmock-spec-builders.h
+++ b/include/gmock/gmock-spec-builders.h
@@ -361,7 +361,8 @@ class OnCallSpec : public UntypedOnCallSpecBase {
enum CallReaction {
kAllow,
kWarn,
- kFail
+ kFail,
+ kDefault = kWarn // By default, warn about uninteresting calls.
};
} // namespace internal