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

Side by Side Diff: webrtc/p2p/base/turnport_unittest.cc

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc Created 3 years, 5 months 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 | « webrtc/p2p/base/turnport.cc ('k') | webrtc/p2p/base/turnserver.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 /* 1 /*
2 * Copyright 2012 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2012 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 #if defined(WEBRTC_POSIX) 10 #if defined(WEBRTC_POSIX)
11 #include <dirent.h> 11 #include <dirent.h>
12 #endif 12 #endif
13 13
14 #include <memory> 14 #include <memory>
15 15
16 #include "webrtc/p2p/base/basicpacketsocketfactory.h" 16 #include "webrtc/p2p/base/basicpacketsocketfactory.h"
17 #include "webrtc/p2p/base/p2pconstants.h" 17 #include "webrtc/p2p/base/p2pconstants.h"
18 #include "webrtc/p2p/base/portallocator.h" 18 #include "webrtc/p2p/base/portallocator.h"
19 #include "webrtc/p2p/base/tcpport.h" 19 #include "webrtc/p2p/base/tcpport.h"
20 #include "webrtc/p2p/base/testturnserver.h" 20 #include "webrtc/p2p/base/testturnserver.h"
21 #include "webrtc/p2p/base/turnport.h" 21 #include "webrtc/p2p/base/turnport.h"
22 #include "webrtc/p2p/base/udpport.h" 22 #include "webrtc/p2p/base/udpport.h"
23 #include "webrtc/base/asynctcpsocket.h" 23 #include "webrtc/rtc_base/asynctcpsocket.h"
24 #include "webrtc/base/buffer.h" 24 #include "webrtc/rtc_base/buffer.h"
25 #include "webrtc/base/checks.h" 25 #include "webrtc/rtc_base/checks.h"
26 #include "webrtc/base/dscp.h" 26 #include "webrtc/rtc_base/dscp.h"
27 #include "webrtc/base/fakeclock.h" 27 #include "webrtc/rtc_base/fakeclock.h"
28 #include "webrtc/base/firewallsocketserver.h" 28 #include "webrtc/rtc_base/firewallsocketserver.h"
29 #include "webrtc/base/gunit.h" 29 #include "webrtc/rtc_base/gunit.h"
30 #include "webrtc/base/helpers.h" 30 #include "webrtc/rtc_base/helpers.h"
31 #include "webrtc/base/logging.h" 31 #include "webrtc/rtc_base/logging.h"
32 #include "webrtc/base/socketadapters.h" 32 #include "webrtc/rtc_base/socketadapters.h"
33 #include "webrtc/base/socketaddress.h" 33 #include "webrtc/rtc_base/socketaddress.h"
34 #include "webrtc/base/ssladapter.h" 34 #include "webrtc/rtc_base/ssladapter.h"
35 #include "webrtc/base/thread.h" 35 #include "webrtc/rtc_base/thread.h"
36 #include "webrtc/base/virtualsocketserver.h" 36 #include "webrtc/rtc_base/virtualsocketserver.h"
37 37
38 using rtc::SocketAddress; 38 using rtc::SocketAddress;
39 39
40 static const SocketAddress kLocalAddr1("11.11.11.11", 0); 40 static const SocketAddress kLocalAddr1("11.11.11.11", 0);
41 static const SocketAddress kLocalAddr2("22.22.22.22", 0); 41 static const SocketAddress kLocalAddr2("22.22.22.22", 0);
42 static const SocketAddress kLocalIPv6Addr( 42 static const SocketAddress kLocalIPv6Addr(
43 "2401:fa00:4:1000:be30:5bff:fee5:c3", 0); 43 "2401:fa00:4:1000:be30:5bff:fee5:c3", 0);
44 static const SocketAddress kLocalIPv6Addr2( 44 static const SocketAddress kLocalIPv6Addr2(
45 "2401:fa00:4:2000:be30:5bff:fee5:d4", 0); 45 "2401:fa00:4:2000:be30:5bff:fee5:d4", 0);
46 static const SocketAddress kTurnUdpIntAddr("99.99.99.3", 46 static const SocketAddress kTurnUdpIntAddr("99.99.99.3",
(...skipping 1240 matching lines...) Expand 10 before | Expand all | Expand 10 after
1287 EXPECT_TRUE(turn_port_->Candidates().empty()); 1287 EXPECT_TRUE(turn_port_->Candidates().empty());
1288 turn_port_.reset(); 1288 turn_port_.reset();
1289 rtc::Thread::Current()->Post(RTC_FROM_HERE, this, MSG_TESTFINISH); 1289 rtc::Thread::Current()->Post(RTC_FROM_HERE, this, MSG_TESTFINISH);
1290 // Waiting for above message to be processed. 1290 // Waiting for above message to be processed.
1291 ASSERT_TRUE_SIMULATED_WAIT(test_finish_, 1, fake_clock_); 1291 ASSERT_TRUE_SIMULATED_WAIT(test_finish_, 1, fake_clock_);
1292 EXPECT_EQ(last_fd_count, GetFDCount()); 1292 EXPECT_EQ(last_fd_count, GetFDCount());
1293 } 1293 }
1294 #endif 1294 #endif
1295 1295
1296 } // namespace cricket 1296 } // namespace cricket
OLDNEW
« no previous file with comments | « webrtc/p2p/base/turnport.cc ('k') | webrtc/p2p/base/turnserver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698