-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4be941b
commit efa4a2b
Showing
6 changed files
with
694 additions
and
120 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#pragma once | ||
#include <gmock/gmock.h> | ||
|
||
#include "reboot_interfaces.h" | ||
#include "selectableevent.h" | ||
#include "system/system.pb.h" | ||
|
||
namespace rebootbackend { | ||
|
||
class MockDbusInterface : public DbusInterface { | ||
public: | ||
MOCK_METHOD(DbusInterface::DbusResponse, Reboot, (const std::string &), | ||
(override)); | ||
MOCK_METHOD(DbusInterface::DbusResponse, RebootStatus, (const std::string &), | ||
(override)); | ||
}; | ||
|
||
} // namespace rebootbackend |
Oops, something went wrong.