blob: a827b056a68ec3026279e78eebcff8d546066c48 [file] [log] [blame]
// Copyright 2016 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 IMAGELOADER_MOCK_VERITY_MOUNTER_H_
#define IMAGELOADER_MOCK_VERITY_MOUNTER_H_
#include "imageloader/verity_mounter.h"
#include <string>
#include "imageloader/gmock/gmock.h"
namespace imageloader {
class MockVerityMounter : public VerityMounter {
public:
MockVerityMounter() = default;
MOCK_METHOD(bool,
Mount,
(const base::ScopedFD&,
const base::FilePath&,
const std::string&),
(override));
private:
DISALLOW_COPY_AND_ASSIGN(MockVerityMounter);
};
} // namespace imageloader
#endif // IMAGELOADER_MOCK_VERITY_MOUNTER_H_