-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrated tests for cold and warm reboot in rebootbackend
- Loading branch information
1 parent
3f52aef
commit a70389c
Showing
5 changed files
with
940 additions
and
1 deletion.
There are no files selected for viewing
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
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.