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

Side by Side Diff: net/base/network_change_notifier_win_unittest.cc

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef 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 | « net/base/network_change_notifier_win.cc ('k') | net/base/network_config_watcher_mac.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/message_loop/message_loop.h" 6 #include "base/message_loop/message_loop.h"
6 #include "net/base/network_change_notifier.h" 7 #include "net/base/network_change_notifier.h"
7 #include "net/base/network_change_notifier_factory.h" 8 #include "net/base/network_change_notifier_factory.h"
8 #include "net/base/network_change_notifier_win.h" 9 #include "net/base/network_change_notifier_win.h"
9 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
10 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
11 12
12 using ::testing::AtLeast; 13 using ::testing::AtLeast;
13 using ::testing::Invoke; 14 using ::testing::Invoke;
14 using ::testing::Return; 15 using ::testing::Return;
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 } 252 }
252 253
253 TEST_F(NetworkChangeNotifierWinTest, NetChangeWinFailSignalTwice) { 254 TEST_F(NetworkChangeNotifierWinTest, NetChangeWinFailSignalTwice) {
254 StartWatchingAndSucceed(); 255 StartWatchingAndSucceed();
255 SignalAndFail(); 256 SignalAndFail();
256 RetryAndFail(); 257 RetryAndFail();
257 RetryAndSucceed(); 258 RetryAndSucceed();
258 } 259 }
259 260
260 } // namespace net 261 } // namespace net
OLDNEW
« no previous file with comments | « net/base/network_change_notifier_win.cc ('k') | net/base/network_config_watcher_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698