Skip to content

Commit

Permalink
remove function from test class
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs committed Feb 2, 2022
1 parent caf8d1c commit 2297bc8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/messaging/tests/TestReliableMessageProtocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 2297bc8

Please sign in to comment.