aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2009-06-11 20:07:00 +0000
committerzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2009-06-11 20:07:00 +0000
commit4cd148e588c7433d12a143108c15127aa283407a (patch)
tree3a9e718fed1d8b2a60eceb5a58fe0e5f0f836df2 /include
parent07587e9db4145baef2e1cf859bf2b9986326a237 (diff)
downloadgoogletest-4cd148e588c7433d12a143108c15127aa283407a.tar.gz
googletest-4cd148e588c7433d12a143108c15127aa283407a.tar.bz2
googletest-4cd148e588c7433d12a143108c15127aa283407a.zip
Removes the .WithArguments() clause from ON_CALL and EXPECT_CALL.
Diffstat (limited to 'include')
-rw-r--r--include/gmock/gmock-spec-builders.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/gmock/gmock-spec-builders.h b/include/gmock/gmock-spec-builders.h
index b570c00c..a22bcd11 100644
--- a/include/gmock/gmock-spec-builders.h
+++ b/include/gmock/gmock-spec-builders.h
@@ -163,14 +163,6 @@ class DefaultActionSpec {
return *this;
}
- // Implements the .WithArguments() clause as a synonym of .With()
- // for backward compatibility. WithArguments() is deprecated and
- // new code should always use With(), as .With(Args<1, 2>(m)) is
- // clearer than .WithArguments(Args<1, 2>(m)).
- DefaultActionSpec& WithArguments(const Matcher<const ArgumentTuple&>& m) {
- return With(m);
- }
-
// Implements the .WillByDefault() clause.
DefaultActionSpec& WillByDefault(const Action<F>& action) {
ExpectSpecProperty(last_clause_ < kWillByDefault,
@@ -615,12 +607,6 @@ class Expectation : public ExpectationBase {
return *this;
}
- // Implements the .WithArguments() clause as a synonym of .With().
- // This is deprecated and new code should always use With().
- Expectation& WithArguments(const Matcher<const ArgumentTuple&>& m) {
- return With(m);
- }
-
// Implements the .Times() clause.
Expectation& Times(const Cardinality& cardinality) {
if (last_clause_ ==kTimes) {