| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2010 The Chromium 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 LOGIN_MANAGER_MOCK_CHILD_JOB_H_ |
| 6 #define LOGIN_MANAGER_MOCK_CHILD_JOB_H_ |
| 7 |
| 8 #include "login_manager/child_job.h" |
| 9 |
| 10 #include <gmock/gmock.h> |
| 11 |
| 12 namespace login_manager { |
| 13 class MockChildJob : public ChildJob { |
| 14 public: |
| 15 MockChildJob() { } |
| 16 ~MockChildJob() { } |
| 17 MOCK_METHOD0(ShouldRun, bool()); |
| 18 MOCK_METHOD0(Toggle, void()); |
| 19 MOCK_METHOD0(Run, void()); |
| 20 }; |
| 21 } // namespace login_manager |
| 22 |
| 23 #endif // LOGIN_MANAGER_MOCK_CHILD_JOB_H_ |
| OLD | NEW |