Skip to content

Commit

Permalink
edit servicemock file
Browse files Browse the repository at this point in the history
  • Loading branch information
parvathika committed Dec 10, 2024
1 parent 9687ab4 commit 1954b40
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Tests/mocks/thunder/ServiceMock.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,18 @@ class ServiceMock : public WPEFramework::PluginHost::IShell {
MOCK_METHOD(WPEFramework::Core::hresult, Resumed, (const bool value), (override));
MOCK_METHOD(WPEFramework::Core::hresult, Metadata, (string& info), (const, override));
#else
MOCK_METHOD(bool, AutoStart, (), (const, override));
MOCK_METHOD(string, Version, (), (const, override));
// MOCK_METHOD(bool, AutoStart, (), (const, override));
//MOCK_METHOD(string, Version, (), (const, override));
MOCK_METHOD(uint32_t, Activate, (const reason), (override));
MOCK_METHOD(uint32_t, Deactivate, (const reason), (override));
MOCK_METHOD(uint32_t, Unavailable, (const reason), (override));
MOCK_METHOD(uint8_t, Major, (), (const, override));
MOCK_METHOD(uint8_t, Minor, (), (const, override));
MOCK_METHOD(uint8_t, Patch, (), (const, override));
//MOCK_METHOD(uint8_t, Major, (), (const, override));
//MOCK_METHOD(uint8_t, Minor, (), (const, override));
//MOCK_METHOD(uint8_t, Patch, (), (const, override));
MOCK_METHOD(uint32_t, ConfigLine, (const string& config), (override));
MOCK_METHOD(uint32_t, SystemRootPath, (const string& systemRootPath), (override));
MOCK_METHOD(uint32_t, Hibernate, (const string &processSequence, const uint32_t timeout), (override));
MOCK_METHOD(uint32_t, Wakeup, (const string &processSequence, const uint32_t timeout), (override));
//MOCK_METHOD(uint32_t, Hibernate, (const string &processSequence, const uint32_t timeout), (override));
//MOCK_METHOD(uint32_t, Wakeup, (const string &processSequence, const uint32_t timeout), (override));
#endif
MOCK_METHOD(bool, Resumed, (), (const, override));
MOCK_METHOD(bool, IsSupported, (const uint8_t), (const, override));
Expand Down

0 comments on commit 1954b40

Please sign in to comment.