blob: 6a2adf787e264f83e32a71d853d1f02f7c6522c7 [file] [log] [blame]
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SHILL_MOCK_MODEM_SIMPLE_PROXY_H_
#define SHILL_MOCK_MODEM_SIMPLE_PROXY_H_
#include <base/basictypes.h>
#include <gmock/gmock.h>
#include "shill/modem_simple_proxy_interface.h"
namespace shill {
class MockModemSimpleProxy : public ModemSimpleProxyInterface {
public:
MockModemSimpleProxy();
virtual ~MockModemSimpleProxy();
MOCK_METHOD3(GetModemStatus, void(Error *error,
const DBusPropertyMapCallback &callback,
int timeout));
MOCK_METHOD4(Connect, void(const DBusPropertiesMap &properties,
Error *error, const ResultCallback &callback,
int timeout));
private:
DISALLOW_COPY_AND_ASSIGN(MockModemSimpleProxy);
};
} // namespace shill
#endif // SHILL_MOCK_MODEM_SIMPLE_PROXY_H_