blob: 38d55e9b7ec2b1403e4e79398430995c097a94ec [file] [log] [blame]
// Copyright 2018 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MODEMFWD_MOCK_JOURNAL_H_
#define MODEMFWD_MOCK_JOURNAL_H_
#include <string>
#include <base/macros.h>
#include <gmock/gmock.h>
#include "modemfwd/journal.h"
namespace modemfwd {
class MockJournal : public Journal {
public:
MockJournal() {}
~MockJournal() override = default;
MOCK_METHOD(void,
MarkStartOfFlashingMainFirmware,
(const std::string&, const std::string&),
(override));
MOCK_METHOD(void,
MarkEndOfFlashingMainFirmware,
(const std::string&, const std::string&),
(override));
MOCK_METHOD(void,
MarkStartOfFlashingCarrierFirmware,
(const std::string&, const std::string&),
(override));
MOCK_METHOD(void,
MarkEndOfFlashingCarrierFirmware,
(const std::string&, const std::string&),
(override));
};
} // namespace modemfwd
#endif // MODEMFWD_MOCK_JOURNAL_H_