Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Side by Side Diff: chromeos/network/geolocation_handler_unittest.cc

Issue 1540803002: Switch to standard integer types in chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromeos/network/geolocation_handler.cc ('k') | chromeos/network/host_resolver_impl_chromeos.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/macros.h"
5 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
6 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
7 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
8 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
9 #include "base/values.h" 10 #include "base/values.h"
10 #include "chromeos/dbus/dbus_thread_manager.h" 11 #include "chromeos/dbus/dbus_thread_manager.h"
11 #include "chromeos/dbus/shill_manager_client.h" 12 #include "chromeos/dbus/shill_manager_client.h"
12 #include "chromeos/network/geolocation_handler.h" 13 #include "chromeos/network/geolocation_handler.h"
13 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
14 #include "third_party/cros_system_api/dbus/service_constants.h" 15 #include "third_party/cros_system_api/dbus/service_constants.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 EXPECT_FALSE(GetWifiAccessPoints()); 104 EXPECT_FALSE(GetWifiAccessPoints());
104 message_loop_.RunUntilIdle(); 105 message_loop_.RunUntilIdle();
105 // Second call should return true since we have an access point. 106 // Second call should return true since we have an access point.
106 EXPECT_TRUE(GetWifiAccessPoints()); 107 EXPECT_TRUE(GetWifiAccessPoints());
107 ASSERT_EQ(3u, wifi_access_points_.size()); 108 ASSERT_EQ(3u, wifi_access_points_.size());
108 EXPECT_EQ("02:00:00:00:00:00", wifi_access_points_[1].mac_address); 109 EXPECT_EQ("02:00:00:00:00:00", wifi_access_points_[1].mac_address);
109 EXPECT_EQ(3, wifi_access_points_[2].channel); 110 EXPECT_EQ(3, wifi_access_points_[2].channel);
110 } 111 }
111 112
112 } // namespace chromeos 113 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/network/geolocation_handler.cc ('k') | chromeos/network/host_resolver_impl_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698