Skip to content

Commit

Permalink
adapt to the recent changes in Thunder master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
npoltorapavlo committed Nov 13, 2024
1 parent 8524078 commit 14c8a4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
10 changes: 1 addition & 9 deletions PersistentStore/l0test/ServiceMock.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
#include "../Module.h"
#include <gmock/gmock.h>

class ServiceMock : public WPEFramework::PluginHost::IShell,
public WPEFramework::PluginHost::IShell::ICOMLink {
class ServiceMock : public WPEFramework::PluginHost::IShell {
public:
~ServiceMock() override = default;
MOCK_METHOD(string, Versions, (), (const, override));
Expand Down Expand Up @@ -47,15 +46,8 @@ class ServiceMock : public WPEFramework::PluginHost::IShell,
MOCK_METHOD(WPEFramework::Core::hresult, Resumed, (const bool), (override));
MOCK_METHOD(WPEFramework::Core::hresult, Metadata, (string&), (const, override));
MOCK_METHOD(WPEFramework::Core::hresult, Hibernate, (const uint32_t), (override));
MOCK_METHOD(void, Register, (WPEFramework::RPC::IRemoteConnection::INotification*), (override));
MOCK_METHOD(void, Unregister, (const WPEFramework::RPC::IRemoteConnection::INotification*), (override));
MOCK_METHOD(void, Register, (IShell::ICOMLink::INotification*), (override));
MOCK_METHOD(void, Unregister, (const IShell::ICOMLink::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&), (override));
MOCK_METHOD(WPEFramework::RPC::IStringIterator*, GetLibrarySearchPaths, (const string&), (const, override));
BEGIN_INTERFACE_MAP(ServiceMock)
INTERFACE_ENTRY(IShell)
INTERFACE_ENTRY(IShell::ICOMLink)
END_INTERFACE_MAP
};
10 changes: 1 addition & 9 deletions PersistentStore/l1test/ServiceMock.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
#include "../Module.h"
#include <gmock/gmock.h>

class ServiceMock : public WPEFramework::PluginHost::IShell,
public WPEFramework::PluginHost::IShell::ICOMLink {
class ServiceMock : public WPEFramework::PluginHost::IShell {
public:
~ServiceMock() override = default;
MOCK_METHOD(string, Versions, (), (const, override));
Expand Down Expand Up @@ -47,15 +46,8 @@ class ServiceMock : public WPEFramework::PluginHost::IShell,
MOCK_METHOD(WPEFramework::Core::hresult, Resumed, (const bool), (override));
MOCK_METHOD(WPEFramework::Core::hresult, Metadata, (string&), (const, override));
MOCK_METHOD(WPEFramework::Core::hresult, Hibernate, (const uint32_t), (override));
MOCK_METHOD(void, Register, (WPEFramework::RPC::IRemoteConnection::INotification*), (override));
MOCK_METHOD(void, Unregister, (const WPEFramework::RPC::IRemoteConnection::INotification*), (override));
MOCK_METHOD(void, Register, (IShell::ICOMLink::INotification*), (override));
MOCK_METHOD(void, Unregister, (const IShell::ICOMLink::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&), (override));
MOCK_METHOD(WPEFramework::RPC::IStringIterator*, GetLibrarySearchPaths, (const string&), (const, override));
BEGIN_INTERFACE_MAP(ServiceMock)
INTERFACE_ENTRY(IShell)
INTERFACE_ENTRY(IShell::ICOMLink)
END_INTERFACE_MAP
};

0 comments on commit 14c8a4d

Please sign in to comment.