| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2009 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2009 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 | 12 |
| 13 #include "webrtc/api/array_view.h" |
| 13 #include "webrtc/media/base/fakemediaengine.h" | 14 #include "webrtc/media/base/fakemediaengine.h" |
| 14 #include "webrtc/media/base/fakertp.h" | 15 #include "webrtc/media/base/fakertp.h" |
| 15 #include "webrtc/media/base/mediachannel.h" | 16 #include "webrtc/media/base/mediachannel.h" |
| 16 #include "webrtc/media/base/testutils.h" | 17 #include "webrtc/media/base/testutils.h" |
| 17 #include "webrtc/p2p/base/fakecandidatepair.h" | 18 #include "webrtc/p2p/base/fakecandidatepair.h" |
| 18 #include "webrtc/p2p/base/fakedtlstransport.h" | 19 #include "webrtc/p2p/base/fakedtlstransport.h" |
| 19 #include "webrtc/p2p/base/fakepackettransport.h" | 20 #include "webrtc/p2p/base/fakepackettransport.h" |
| 20 #include "webrtc/pc/channel.h" | 21 #include "webrtc/pc/channel.h" |
| 21 #include "webrtc/rtc_base/array_view.h" | |
| 22 #include "webrtc/rtc_base/buffer.h" | 22 #include "webrtc/rtc_base/buffer.h" |
| 23 #include "webrtc/rtc_base/checks.h" | 23 #include "webrtc/rtc_base/checks.h" |
| 24 #include "webrtc/rtc_base/fakeclock.h" | 24 #include "webrtc/rtc_base/fakeclock.h" |
| 25 #include "webrtc/rtc_base/gunit.h" | 25 #include "webrtc/rtc_base/gunit.h" |
| 26 #include "webrtc/rtc_base/logging.h" | 26 #include "webrtc/rtc_base/logging.h" |
| 27 #include "webrtc/rtc_base/sslstreamadapter.h" | 27 #include "webrtc/rtc_base/sslstreamadapter.h" |
| 28 | 28 |
| 29 using cricket::CA_OFFER; | 29 using cricket::CA_OFFER; |
| 30 using cricket::CA_PRANSWER; | 30 using cricket::CA_PRANSWER; |
| 31 using cricket::CA_ANSWER; | 31 using cricket::CA_ANSWER; |
| (...skipping 3865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3897 ASSERT_TRUE(voice_channel_.Init_w(nullptr, nullptr, &fake_rtp_dtls_transport_, | 3897 ASSERT_TRUE(voice_channel_.Init_w(nullptr, nullptr, &fake_rtp_dtls_transport_, |
| 3898 &fake_rtcp_dtls_transport_)); | 3898 &fake_rtcp_dtls_transport_)); |
| 3899 EXPECT_DEATH(voice_channel_.SetTransports(&fake_rtp_dtls_transport_, | 3899 EXPECT_DEATH(voice_channel_.SetTransports(&fake_rtp_dtls_transport_, |
| 3900 &fake_rtp_dtls_transport_), | 3900 &fake_rtp_dtls_transport_), |
| 3901 ""); | 3901 ""); |
| 3902 } | 3902 } |
| 3903 | 3903 |
| 3904 #endif // RTC_DCHECK_IS_ON && GTEST_HAS_DEATH_TEST && !defined(WEBRTC_ANDROID) | 3904 #endif // RTC_DCHECK_IS_ON && GTEST_HAS_DEATH_TEST && !defined(WEBRTC_ANDROID) |
| 3905 | 3905 |
| 3906 // TODO(pthatcher): TestSetReceiver? | 3906 // TODO(pthatcher): TestSetReceiver? |
| OLD | NEW |