Quick fix for missing methods in EndpointChannel class

All changes tagged with TODO(jfcarroll) should be reviewed, these are likely not correct changes.

PiperOrigin-RevId: 413948514
This commit is contained in:
jfcarroll
2021-12-03 09:06:25 -08:00
committed by Copybara-Service
parent e1cf7a9e9f
commit 31465e1ce3
2 changed files with 23 additions and 0 deletions
@@ -53,6 +53,16 @@ class MockEndpointChannel : public EndpointChannel {
MOCK_METHOD(Exception, Write, (const ByteArray& data), (override));
MOCK_METHOD(void, Close, (), (override));
MOCK_METHOD(void, Close, (DisconnectionReason reason), (override));
// TODO(jfcarroll): This needs to be fixed properly
MOCK_METHOD(proto::connections::ConnectionTechnology, GetTechnology, (),
(const override));
// TODO(jfcarroll): This needs to be fixed properly
MOCK_METHOD(proto::connections::ConnectionBand, GetBand, (),
(const override));
// TODO(jfcarroll): This needs to be fixed properly
MOCK_METHOD(int, GetFrequency, (), (const override));
// TODO(jfcarroll): This needs to be fixed properly
MOCK_METHOD(int, GetTryCount, (), (const override));
MOCK_METHOD(std::string, GetType, (), (const override));
MOCK_METHOD(std::string, GetName, (), (const override));
MOCK_METHOD(Medium, GetMedium, (), (const override));