blob: 6c53d9a86d9ec5ed9d35d9015abc30632102c26a [file] [log] [blame]
// Copyright 2015 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 LIBWEAVE_INCLUDE_WEAVE_PROVIDER_TEST_MOCK_WIFI_H_
#define LIBWEAVE_INCLUDE_WEAVE_PROVIDER_TEST_MOCK_WIFI_H_
#include <weave/provider/network.h>
#include <string>
#include <gmock/gmock.h>
namespace weave {
namespace provider {
namespace test {
class MockWifi : public Wifi {
public:
MOCK_METHOD4(Connect,
void(const std::string&,
const std::string&,
const base::Closure&,
const ErrorCallback&));
MOCK_METHOD1(StartAccessPoint, void(const std::string&));
MOCK_METHOD0(StopAccessPoint, void());
};
} // namespace test
} // namespace provider
} // namespace weave
#endif // LIBWEAVE_INCLUDE_WEAVE_PROVIDER_TEST_MOCK_WIFI_H_