blob: 5f3860b9cd67ca6382c5ad93dc8ee70c2eae29dd [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_WIMAX_SERVICE_H_
#define SHILL_MOCK_WIMAX_SERVICE_H_
#include <gmock/gmock.h>
#include "shill/wimax_service.h"
namespace shill {
class MockWiMaxService : public WiMaxService {
public:
MockWiMaxService(ControlInterface *control,
EventDispatcher *dispatcher,
Metrics *metrics,
Manager *manager);
virtual ~MockWiMaxService();
MOCK_CONST_METHOD0(GetNetworkObjectPath, RpcIdentifier());
MOCK_METHOD1(Start, bool(WiMaxNetworkProxyInterface *proxy));
MOCK_METHOD0(Stop, void());
MOCK_CONST_METHOD0(IsStarted, bool());
MOCK_METHOD1(SetState, void(ConnectState state));
MOCK_METHOD0(ClearPassphrase, void());
private:
DISALLOW_COPY_AND_ASSIGN(MockWiMaxService);
};
} // namespace shill
#endif // SHILL_MOCK_WIMAX_SERVICE_H_