diff options
Diffstat (limited to 'include/gmock/gmock-spec-builders.h')
-rw-r--r-- | include/gmock/gmock-spec-builders.h | 14 |
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) { |