Skip to content

Commit efa4a2b

Browse files
rkavitha-hclBibhuprasad Singh
authored and
Bibhuprasad Singh
committed
gNOI Cold Reboot - Integrated tests
1 parent 4be941b commit efa4a2b

File tree

6 files changed

+694
-120
lines changed

6 files changed

+694
-120
lines changed

src/sonic-framework/rebootbackend/redis_utils.cpp

-80
This file was deleted.

src/sonic-framework/rebootbackend/redis_utils.h

-40
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#pragma once
2+
#include <gmock/gmock.h>
3+
4+
#include "reboot_interfaces.h"
5+
#include "selectableevent.h"
6+
#include "system/system.pb.h"
7+
8+
namespace rebootbackend {
9+
10+
class MockDbusInterface : public DbusInterface {
11+
public:
12+
MOCK_METHOD(DbusInterface::DbusResponse, Reboot, (const std::string &),
13+
(override));
14+
MOCK_METHOD(DbusInterface::DbusResponse, RebootStatus, (const std::string &),
15+
(override));
16+
};
17+
18+
} // namespace rebootbackend

0 commit comments

Comments
 (0)