summaryrefslogtreecommitdiffstats
path: root/cleanup/test/filesystem_mock.hpp
blob: 76a45c1974d269a6b1cfb28a7755ca59bee702f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include "fs.hpp"

#include <string>

#include <gmock/gmock.h>

namespace ipmi_flash
{

class FileSystemMock : public FileSystemInterface
{
  public:
    MOCK_CONST_METHOD1(remove, void(const std::string&));
};
} // namespace ipmi_flash
OpenPOWER on IntegriCloud