blob: 0d9f1fd36d39d3214a988884ad848733c74f4ac2 [file] [log] [blame]
Jay Srinivasan08fce042012-06-07 16:31:01 -07001// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_MOCK_SYSTEM_STATE_H__
6#define CHROMEOS_PLATFORM_UPDATE_ENGINE_MOCK_SYSTEM_STATE_H__
7
8#include <gmock/gmock.h>
9
10#include "update_engine/utils.h"
11
12namespace chromeos_update_engine {
13
14// Mock the SystemStateInterface so that we could lie that
15// OOBE is completed even when there's no such marker file, etc.
16class MockSystemState : public SystemState {
17 public:
18 MOCK_METHOD0(IsOOBEComplete, bool());
19};
20
21} // namespeace chromeos_update_engine
22
23#endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_MOCK_SYSTEM_STATE_H__