diff options
Diffstat (limited to 'mock_iptables.h')
-rw-r--r-- | mock_iptables.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/mock_iptables.h b/mock_iptables.h index cb14801..54aaa25 100644 --- a/mock_iptables.h +++ b/mock_iptables.h @@ -37,15 +37,9 @@ class MockIpTables : public IpTables { DeleteAcceptRule, bool(const std::string&, ProtocolEnum, uint16_t, const std::string&)); - MOCK_METHOD3(ApplyMasquerade, bool(const std::string&, - const std::string&, - bool)); - - MOCK_METHOD3(ApplyMarkForUserTraffic, bool(const std::string&, - const std::string&, - bool)); - - MOCK_METHOD2(ApplyRuleForUserTraffic, bool(IPVersionEnum, bool)); + MOCK_METHOD2(ApplyMasquerade, bool(const std::string&, bool)); + MOCK_METHOD2(ApplyMarkForUserTraffic, bool(const std::string&, bool)); + MOCK_METHOD1(ApplyRuleForUserTraffic, bool(bool)); private: DISALLOW_COPY_AND_ASSIGN(MockIpTables); |