From 522cbb1ff92b381ae968e85dd18022072313f0d8 Mon Sep 17 00:00:00 2001 From: "zhanyong.wan" Date: Fri, 1 Mar 2013 07:10:07 +0000 Subject: Improves the tests for nice, naggy, and strict mocks. git-svn-id: http://googlemock.googlecode.com/svn/trunk@422 8415998a-534a-0410-bf83-d39667b30386 --- include/gmock/gmock-spec-builders.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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 -- cgit v1.2.1