blob: 24297eae0ebc65ca508ba1076d91c275e4acb9f8 [file] [log] [blame]
Darin Petkovf42cc1c2010-09-01 09:03:02 -07001// Copyright (c) 2010 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
Alex Deymo8427b4a2014-11-05 14:00:32 -08005#ifndef UPDATE_ENGINE_MOCK_ACTION_PROCESSOR_H_
6#define UPDATE_ENGINE_MOCK_ACTION_PROCESSOR_H_
Darin Petkovf42cc1c2010-09-01 09:03:02 -07007
8#include <gmock/gmock.h>
9
10#include "update_engine/action.h"
11
12namespace chromeos_update_engine {
13
Alex Deymo8427b4a2014-11-05 14:00:32 -080014class MockActionProcessor : public ActionProcessor {
Darin Petkovf42cc1c2010-09-01 09:03:02 -070015 public:
16 MOCK_METHOD0(StartProcessing, void());
17 MOCK_METHOD1(EnqueueAction, void(AbstractAction* action));
18};
19
20} // namespace chromeos_update_engine
21
Alex Deymo8427b4a2014-11-05 14:00:32 -080022#endif // UPDATE_ENGINE_MOCK_ACTION_PROCESSOR_H_