| Darin Petkov | f42cc1c | 2010-09-01 09:03:02 -0700 | [diff] [blame] | 1 | // 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 |  | 
|  | 5 | #ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_ACTION_PROCESSOR_MOCK_H__ | 
|  | 6 | #define CHROMEOS_PLATFORM_UPDATE_ENGINE_ACTION_PROCESSOR_MOCK_H__ | 
|  | 7 |  | 
|  | 8 | #include <gmock/gmock.h> | 
|  | 9 |  | 
|  | 10 | #include "update_engine/action.h" | 
|  | 11 |  | 
|  | 12 | namespace chromeos_update_engine { | 
|  | 13 |  | 
|  | 14 | class ActionProcessorMock : public ActionProcessor { | 
|  | 15 | public: | 
|  | 16 | MOCK_METHOD0(StartProcessing, void()); | 
|  | 17 | MOCK_METHOD1(EnqueueAction, void(AbstractAction* action)); | 
|  | 18 | }; | 
|  | 19 |  | 
|  | 20 | }  // namespace chromeos_update_engine | 
|  | 21 |  | 
|  | 22 | #endif  // CHROMEOS_PLATFORM_UPDATE_ENGINE_ACTION_PROCESSOR_MOCK_H__ |