| OLD | NEW |
| 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 <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "webrtc/p2p/base/constants.h" | 14 #include "webrtc/p2p/base/p2pconstants.h" |
| 15 #include "webrtc/p2p/base/transportdescription.h" | 15 #include "webrtc/p2p/base/transportdescription.h" |
| 16 #include "webrtc/p2p/base/transportdescriptionfactory.h" | 16 #include "webrtc/p2p/base/transportdescriptionfactory.h" |
| 17 #include "webrtc/base/fakesslidentity.h" | 17 #include "webrtc/base/fakesslidentity.h" |
| 18 #include "webrtc/base/gunit.h" | 18 #include "webrtc/base/gunit.h" |
| 19 #include "webrtc/base/ssladapter.h" | 19 #include "webrtc/base/ssladapter.h" |
| 20 | 20 |
| 21 using rtc::scoped_ptr; | 21 using rtc::scoped_ptr; |
| 22 using cricket::TransportDescriptionFactory; | 22 using cricket::TransportDescriptionFactory; |
| 23 using cricket::TransportDescription; | 23 using cricket::TransportDescription; |
| 24 using cricket::TransportOptions; | 24 using cricket::TransportOptions; |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 // if |TransportDescriptionOptions::ice_restart| is true. | 252 // if |TransportDescriptionOptions::ice_restart| is true. |
| 253 TEST_F(TransportDescriptionFactoryTest, TestIceRestart) { | 253 TEST_F(TransportDescriptionFactoryTest, TestIceRestart) { |
| 254 TestIceRestart(false); | 254 TestIceRestart(false); |
| 255 } | 255 } |
| 256 | 256 |
| 257 // Test that ice ufrag and password is changed in an updated offer and answer | 257 // Test that ice ufrag and password is changed in an updated offer and answer |
| 258 // if |TransportDescriptionOptions::ice_restart| is true and DTLS is enabled. | 258 // if |TransportDescriptionOptions::ice_restart| is true and DTLS is enabled. |
| 259 TEST_F(TransportDescriptionFactoryTest, TestIceRestartWithDtls) { | 259 TEST_F(TransportDescriptionFactoryTest, TestIceRestartWithDtls) { |
| 260 TestIceRestart(true); | 260 TestIceRestart(true); |
| 261 } | 261 } |
| OLD | NEW |