aboutsummaryrefslogtreecommitdiffstats
path: root/src
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 /src
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 'src')
-rw-r--r--src/gmock-spec-builders.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gmock-spec-builders.cc b/src/gmock-spec-builders.cc
index 9fcb61ea..abaae3ad 100644
--- a/src/gmock-spec-builders.cc
+++ b/src/gmock-spec-builders.cc
@@ -639,7 +639,7 @@ internal::CallReaction Mock::GetReactionOnUninterestingCalls(
GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex) {
internal::MutexLock l(&internal::g_gmock_mutex);
return (g_uninteresting_call_reaction.count(mock_obj) == 0) ?
- internal::kWarn : g_uninteresting_call_reaction[mock_obj];
+ internal::kDefault : g_uninteresting_call_reaction[mock_obj];
}
// Tells Google Mock to ignore mock_obj when checking for leaked mock