aboutsummaryrefslogtreecommitdiffstats
path: root/include/gmock
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
commitc896504e4175f08cd229ea151861558ba9380f50 (patch)
treec78f2e310a74687fb6ca7d0ea214c30979895146 /include/gmock
parent20d1a235bcfba95d1f436c9335bd46e9d62b64a2 (diff)
downloadgoogletest-c896504e4175f08cd229ea151861558ba9380f50.tar.gz
googletest-c896504e4175f08cd229ea151861558ba9380f50.tar.bz2
googletest-c896504e4175f08cd229ea151861558ba9380f50.zip
Improves the tests for nice, naggy, and strict mocks.
Diffstat (limited to 'include/gmock')
-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 4c2dca98..312fbe87 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