Skip to content

Commit

Permalink
Create COMLinkMock.h
Browse files Browse the repository at this point in the history
  • Loading branch information
parvathika authored Sep 2, 2024
1 parent 487f8a7 commit a0daddd
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions mocks/thunder /COMLinkMock.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#ifndef RDKSERVICES_TESTS_MOCKS_COMLINKMOCK_H_
#define RDKSERVICES_TESTS_MOCKS_COMLINKMOCK_H_

#include <gmock/gmock.h>

#include "Module.h"

class COMLinkMock : public WPEFramework::PluginHost::IShell::ICOMLink {
public:
virtual ~COMLinkMock() = default;

MOCK_METHOD(void, Register, (WPEFramework::RPC::IRemoteConnection::INotification*), (override));
MOCK_METHOD(void, Unregister, (WPEFramework::RPC::IRemoteConnection::INotification*), (override));
MOCK_METHOD(WPEFramework::RPC::IRemoteConnection*, RemoteConnection, (const uint32_t), (override));
MOCK_METHOD(void*, Instantiate, (const WPEFramework::RPC::Object&, const uint32_t, uint32_t&, const string&, const string&), (override));
};

#endif //RDKSERVICES_TESTS_MOCKS_COMLINKMOCK_H_

0 comments on commit a0daddd

Please sign in to comment.