blob: 5a01000aa15de47d71667968b10a762d41ff3d5d [file] [log] [blame]
// Copyright 2020 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 DLCSERVICE_MOCK_SYSTEM_PROPERTIES_H_
#define DLCSERVICE_MOCK_SYSTEM_PROPERTIES_H_
#include <gmock/gmock.h>
#include "dlcservice/system_properties.h"
namespace dlcservice {
class MockSystemProperties : public SystemProperties {
public:
MockSystemProperties() = default;
MOCK_METHOD(bool, IsOfficialBuild, (), (override));
private:
MockSystemProperties(const MockSystemProperties&) = delete;
MockSystemProperties& operator=(const MockSystemProperties&) = delete;
};
} // namespace dlcservice
#endif // DLCSERVICE_MOCK_SYSTEM_PROPERTIES_H_