summaryrefslogtreecommitdiffstats
path: root/tools/test
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-12-12 13:28:08 -0800
committerPatrick Venture <venture@google.com>2018-12-13 08:50:57 -0800
commitfec15df45e297fe8a3343d69ae4b1c43f0e90d1c (patch)
treec8ccb2ea54ea920f816ae4415bc87adcc0786df2 /tools/test
parent6efe68caab8a461b4864634f2f268bc314fd43d3 (diff)
downloadphosphor-ipmi-flash-fec15df45e297fe8a3343d69ae4b1c43f0e90d1c.tar.gz
phosphor-ipmi-flash-fec15df45e297fe8a3343d69ae4b1c43f0e90d1c.zip
test: move mocks into root test folder
Move the mocks from tools/test to test as the tools/test isn't being picked up by the make check call. Change-Id: I2e38fde95f443094a727295c8c4561b1eff844a9 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'tools/test')
-rw-r--r--tools/test/blob_interface_mock.hpp8
-rw-r--r--tools/test/data_interface_mock.hpp14
-rw-r--r--tools/test/ipmi_interface_mock.hpp8
3 files changed, 0 insertions, 30 deletions
diff --git a/tools/test/blob_interface_mock.hpp b/tools/test/blob_interface_mock.hpp
deleted file mode 100644
index 1e57771..0000000
--- a/tools/test/blob_interface_mock.hpp
+++ /dev/null
@@ -1,8 +0,0 @@
-#include "blob_interface.hpp"
-
-class BlobInterfaceMock : public BlobInterface
-{
- public:
- virtual ~BlobInterfaceMock() = default;
- MOCK_METHOD0(getBlobList, std::vector<std::string>());
-};
diff --git a/tools/test/data_interface_mock.hpp b/tools/test/data_interface_mock.hpp
deleted file mode 100644
index d823da5..0000000
--- a/tools/test/data_interface_mock.hpp
+++ /dev/null
@@ -1,14 +0,0 @@
-#pragma once
-
-#include "interface.hpp"
-
-#include <gmock/gmock.h>
-
-class DataInterfaceMock : public DataInterface
-{
-
- public:
- virtual ~DataInterfaceMock() = default;
-
- MOCK_METHOD2(sendContents, bool(const std::string&, std::uint16_t));
-};
diff --git a/tools/test/ipmi_interface_mock.hpp b/tools/test/ipmi_interface_mock.hpp
deleted file mode 100644
index f4ca0cf..0000000
--- a/tools/test/ipmi_interface_mock.hpp
+++ /dev/null
@@ -1,8 +0,0 @@
-#pragma once
-
-class IpmiInterfaceMock : public IpmiInterface
-{
- public:
- virtual ~IpmiInterfaceMock() = default;
- MOCK_METHOD1(sendPacket, int(const std::vector<std::uint8_t>&));
-};
OpenPOWER on IntegriCloud