summaryrefslogtreecommitdiffstats
path: root/chrome/browser/geolocation/wifi_data_provider_unittest_win.cc
blob: e2dd891af6bd55c4498b56a43eedc627dc88df0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Most logic for the platform wifi provider is now factored into
// WifiDataProviderCommon and covered by it's unit tests.

#include "chrome/browser/geolocation/wifi_data_provider_win.h"

#include "testing/gtest/include/gtest/gtest.h"

TEST(GeolocationWin32WifiDataProviderTest, CreateDestroy) {
  // WifiDataProviderCommon requires the client to have a message loop.
  MessageLoop dummy_loop;
  scoped_refptr<Win32WifiDataProvider> instance(new Win32WifiDataProvider);
  instance = NULL;
  SUCCEED();
  // Can't actually call start provider on the Win32WifiDataProvider without
  // it accessing hardware and so risking making the test flaky.
}