summaryrefslogtreecommitdiffstats
path: root/tools/test/progress_mock.hpp
blob: 80c0af17c8f4ed3c892fc83aa27b7059bf0641b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include "progress.hpp"

#include <cstdint>

#include <gmock/gmock.h>

namespace host_tool
{

class ProgressMock : public ProgressInterface
{
  public:
    MOCK_METHOD1(updateProgress, void(std::int64_t));
    MOCK_METHOD1(start, void(std::int64_t));
};

} // namespace host_tool
OpenPOWER on IntegriCloud