From 2297bc885605a4c7535759ee34b524c97048f4db Mon Sep 17 00:00:00 2001 From: Mathieu Kardous Date: Wed, 2 Feb 2022 15:13:34 -0500 Subject: [PATCH] remove function from test class --- src/messaging/tests/TestReliableMessageProtocol.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/messaging/tests/TestReliableMessageProtocol.cpp b/src/messaging/tests/TestReliableMessageProtocol.cpp index 4eaa0f6f5c9d77..234d32056ee928 100644 --- a/src/messaging/tests/TestReliableMessageProtocol.cpp +++ b/src/messaging/tests/TestReliableMessageProtocol.cpp @@ -128,14 +128,10 @@ class MockAppDelegate : public ExchangeDelegate class MockSessionEstablishmentExchangeDispatch : public Messaging::ApplicationExchangeDispatch { public: - bool IsReliableTransmissionAllowed() const override { return mRetainMessageOnSend; } - bool MessagePermitted(uint16_t protocol, uint8_t type) override { return true; } bool IsEncryptionRequired() const override { return mRequireEncryption; } - bool mRetainMessageOnSend = true; - bool mRequireEncryption = false; }; @@ -329,8 +325,6 @@ void CheckFailedMessageRetainOnSend(nlTestSuite * inSuite, void * inContext) 64_ms32, // CHIP_CONFIG_MRP_DEFAULT_ACTIVE_RETRY_INTERVAL }); - mockSender.mMessageDispatch.mRetainMessageOnSend = false; - // Let's drop the initial message gLoopback.mSentMessageCount = 0; gLoopback.mNumMessagesToDrop = 1;