| 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 |
| (...skipping 2177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2188 }; | 2188 }; |
| 2189 | 2189 |
| 2190 class VideoChannelDoubleThreadTest : public ChannelTest<VideoTraits> { | 2190 class VideoChannelDoubleThreadTest : public ChannelTest<VideoTraits> { |
| 2191 public: | 2191 public: |
| 2192 typedef ChannelTest<VideoTraits> Base; | 2192 typedef ChannelTest<VideoTraits> Base; |
| 2193 VideoChannelDoubleThreadTest() | 2193 VideoChannelDoubleThreadTest() |
| 2194 : Base(false, kH264Packet, kRtcpReport, NetworkIsWorker::No) {} | 2194 : Base(false, kH264Packet, kRtcpReport, NetworkIsWorker::No) {} |
| 2195 }; | 2195 }; |
| 2196 | 2196 |
| 2197 // VoiceChannelSingleThreadTest | 2197 // VoiceChannelSingleThreadTest |
| 2198 TEST_F(VoiceChannelSingleThreadTest, TestInit) { | 2198 // Flaky on iOS Simualtor: bugs.webrtc.org/7247 |
| 2199 #if defined(WEBRTC_IOS) |
| 2200 #define MAYBE_TestInit DISABLED_TestInit |
| 2201 #else |
| 2202 #define MAYBE_TestInit TestInit |
| 2203 #endif |
| 2204 TEST_F(VoiceChannelSingleThreadTest, MAYBE_TestInit) { |
| 2199 Base::TestInit(); | 2205 Base::TestInit(); |
| 2200 EXPECT_FALSE(media_channel1_->IsStreamMuted(0)); | 2206 EXPECT_FALSE(media_channel1_->IsStreamMuted(0)); |
| 2201 EXPECT_TRUE(media_channel1_->dtmf_info_queue().empty()); | 2207 EXPECT_TRUE(media_channel1_->dtmf_info_queue().empty()); |
| 2202 } | 2208 } |
| 2203 | 2209 |
| 2204 TEST_F(VoiceChannelSingleThreadTest, TestDeinit) { | 2210 TEST_F(VoiceChannelSingleThreadTest, TestDeinit) { |
| 2205 Base::TestDeinit(); | 2211 Base::TestDeinit(); |
| 2206 } | 2212 } |
| 2207 | 2213 |
| 2208 TEST_F(VoiceChannelSingleThreadTest, TestSetContents) { | 2214 TEST_F(VoiceChannelSingleThreadTest, TestSetContents) { |
| (...skipping 1570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3779 ASSERT_TRUE(voice_channel_.Init_w(nullptr, nullptr, &fake_rtp_dtls_transport_, | 3785 ASSERT_TRUE(voice_channel_.Init_w(nullptr, nullptr, &fake_rtp_dtls_transport_, |
| 3780 &fake_rtcp_dtls_transport_)); | 3786 &fake_rtcp_dtls_transport_)); |
| 3781 EXPECT_DEATH(voice_channel_.SetTransports(&fake_rtp_dtls_transport_, | 3787 EXPECT_DEATH(voice_channel_.SetTransports(&fake_rtp_dtls_transport_, |
| 3782 &fake_rtp_dtls_transport_), | 3788 &fake_rtp_dtls_transport_), |
| 3783 ""); | 3789 ""); |
| 3784 } | 3790 } |
| 3785 | 3791 |
| 3786 #endif // RTC_DCHECK_IS_ON && GTEST_HAS_DEATH_TEST && !defined(WEBRTC_ANDROID) | 3792 #endif // RTC_DCHECK_IS_ON && GTEST_HAS_DEATH_TEST && !defined(WEBRTC_ANDROID) |
| 3787 | 3793 |
| 3788 // TODO(pthatcher): TestSetReceiver? | 3794 // TODO(pthatcher): TestSetReceiver? |
| OLD | NEW |