#include "services/device/geolocation/wifi_data_provider_common.h"
#include <memory>
#include "base/functional/callback_helpers.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/task_environment.h"
#include "services/device/geolocation/wifi_data_provider_handle.h"
#include "services/device/public/mojom/geolocation_internals.mojom.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
AnyNumber;
AtLeast;
DoAll;
Invoke;
InvokeWithoutArgs;
Return;
SetArgPointee;
WithArgs;
namespace device {
class MockWlanApi : public WifiDataProviderCommon::WlanApiInterface { … };
class MockPollingPolicy : public WifiPollingPolicy { … };
class WifiDataProviderCommonWithMock : public WifiDataProviderCommon { … };
class GeolocationWifiDataProviderCommonTest : public testing::Test { … };
TEST_F(GeolocationWifiDataProviderCommonTest, CreateDestroy) { … }
TEST_F(GeolocationWifiDataProviderCommonTest, NoWifi) { … }
TEST_F(GeolocationWifiDataProviderCommonTest, IntermittentWifi) { … }
TEST_F(GeolocationWifiDataProviderCommonTest, DoAnEmptyScan) { … }
TEST_F(GeolocationWifiDataProviderCommonTest, DoScanWithResults) { … }
TEST_F(GeolocationWifiDataProviderCommonTest, DelayedByPolicy) { … }
}