1 // Copyright 2014 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.
5 #ifndef CHROMEOS_DBUS_MOCK_LORGNETTE_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_LORGNETTE_MANAGER_CLIENT_H_
8 #include "lorgnette_manager_client.h"
10 #include <gmock/gmock.h>
14 class MockLorgnetteManagerClient
: public LorgnetteManagerClient
{
16 MockLorgnetteManagerClient();
17 ~MockLorgnetteManagerClient() override
;
19 MOCK_METHOD1(ListScanners
, void(const ListScannersCallback
& callback
));
20 MOCK_METHOD4(ScanImageToFile
, void(std::string device_name
,
21 const ScanProperties
& properties
,
22 const ScanImageToFileCallback
& callback
,
24 MOCK_METHOD3(ScanImageToString
,
25 void(std::string device_name
,
26 const ScanProperties
& properties
,
27 const ScanImageToStringCallback
& callback
));
28 MOCK_METHOD1(Init
, void(dbus::Bus
* bus
));
31 } // namespace chromeos
33 #endif // CHROMEOS_DBUS_MOCK_LORGNETTE_MANAGER_CLIENT_H_