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

Side by Side Diff: webrtc/p2p/base/transportdescriptionfactory_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/transportdescriptionfactory.cc ('k') | webrtc/p2p/base/transportinfo.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 10
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "webrtc/p2p/base/p2pconstants.h" 15 #include "webrtc/p2p/base/p2pconstants.h"
16 #include "webrtc/p2p/base/transportdescription.h" 16 #include "webrtc/p2p/base/transportdescription.h"
17 #include "webrtc/p2p/base/transportdescriptionfactory.h" 17 #include "webrtc/p2p/base/transportdescriptionfactory.h"
18 #include "webrtc/base/fakesslidentity.h" 18 #include "webrtc/rtc_base/fakesslidentity.h"
19 #include "webrtc/base/gunit.h" 19 #include "webrtc/rtc_base/gunit.h"
20 #include "webrtc/base/ssladapter.h" 20 #include "webrtc/rtc_base/ssladapter.h"
21 21
22 using cricket::TransportDescriptionFactory; 22 using cricket::TransportDescriptionFactory;
23 using cricket::TransportDescription; 23 using cricket::TransportDescription;
24 using cricket::TransportOptions; 24 using cricket::TransportOptions;
25 25
26 class TransportDescriptionFactoryTest : public testing::Test { 26 class TransportDescriptionFactoryTest : public testing::Test {
27 public: 27 public:
28 TransportDescriptionFactoryTest() 28 TransportDescriptionFactoryTest()
29 : cert1_(rtc::RTCCertificate::Create(std::unique_ptr<rtc::SSLIdentity>( 29 : cert1_(rtc::RTCCertificate::Create(std::unique_ptr<rtc::SSLIdentity>(
30 new rtc::FakeSSLIdentity("User1")))), 30 new rtc::FakeSSLIdentity("User1")))),
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 // Test that offers and answers have ice-option:trickle. 303 // Test that offers and answers have ice-option:trickle.
304 TEST_F(TransportDescriptionFactoryTest, AddsTrickleIceOption) { 304 TEST_F(TransportDescriptionFactoryTest, AddsTrickleIceOption) {
305 cricket::TransportOptions options; 305 cricket::TransportOptions options;
306 std::unique_ptr<TransportDescription> offer( 306 std::unique_ptr<TransportDescription> offer(
307 f1_.CreateOffer(options, nullptr)); 307 f1_.CreateOffer(options, nullptr));
308 EXPECT_TRUE(offer->HasOption("trickle")); 308 EXPECT_TRUE(offer->HasOption("trickle"));
309 std::unique_ptr<TransportDescription> answer( 309 std::unique_ptr<TransportDescription> answer(
310 f2_.CreateAnswer(offer.get(), options, true, nullptr)); 310 f2_.CreateAnswer(offer.get(), options, true, nullptr));
311 EXPECT_TRUE(answer->HasOption("trickle")); 311 EXPECT_TRUE(answer->HasOption("trickle"));
312 } 312 }
OLDNEW
« no previous file with comments | « webrtc/p2p/base/transportdescriptionfactory.cc ('k') | webrtc/p2p/base/transportinfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698