aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/include/gmock
diff options
context:
space:
mode:
authorGennadiy Civil <gennadiycivil@users.noreply.github.com>2017-08-29 10:18:33 -0400
committerGitHub <noreply@github.com>2017-08-29 10:18:33 -0400
commit96f3745e73d5541419617006e9571b572a098f91 (patch)
treea12946eed86e7d331292fe4ff4f2242a50a14133 /googlemock/include/gmock
parentb43bfcf49166599955ba3713952bc6c0e96b421b (diff)
parentfa5d3b3845aa4cc38eef41c2e7ba0e98bfe15b39 (diff)
downloadgoogletest-96f3745e73d5541419617006e9571b572a098f91.tar.gz
googletest-96f3745e73d5541419617006e9571b572a098f91.tar.bz2
googletest-96f3745e73d5541419617006e9571b572a098f91.zip
Merge pull request #1189 from alyssawilk/flag-default
Adding a flag option to change the default mock type
Diffstat (limited to 'googlemock/include/gmock')
-rw-r--r--googlemock/include/gmock/gmock-spec-builders.h1
-rw-r--r--googlemock/include/gmock/gmock.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/include/gmock/gmock-spec-builders.h b/googlemock/include/gmock/gmock-spec-builders.h
index 39f72129..96802444 100644
--- a/googlemock/include/gmock/gmock-spec-builders.h
+++ b/googlemock/include/gmock/gmock-spec-builders.h
@@ -363,7 +363,6 @@ enum CallReaction {
kAllow,
kWarn,
kFail,
- kDefault = kWarn // By default, warn about uninteresting calls.
};
} // namespace internal
diff --git a/googlemock/include/gmock/gmock.h b/googlemock/include/gmock/gmock.h
index 6735c71b..5764bc85 100644
--- a/googlemock/include/gmock/gmock.h
+++ b/googlemock/include/gmock/gmock.h
@@ -71,6 +71,7 @@ namespace testing {
// Declares Google Mock flags that we want a user to use programmatically.
GMOCK_DECLARE_bool_(catch_leaked_mocks);
GMOCK_DECLARE_string_(verbose);
+GMOCK_DECLARE_int32_(default_mock_behavior);
// Initializes Google Mock. This must be called before running the
// tests. In particular, it parses the command line for the flags