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

Side by Side Diff: webrtc/voice_engine/test/auto_test/standard/rtp_rtcp_test.cc

Issue 1547343002: Remove DISABLED_ON_ macros. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: MAYBE_ yo Created 4 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 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
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 // We need to sleep a bit here for the name to propagate. For instance, 95 // We need to sleep a bit here for the name to propagate. For instance,
96 // 200 milliseconds is not enough, so we'll go with one second here. 96 // 200 milliseconds is not enough, so we'll go with one second here.
97 Sleep(1000); 97 Sleep(1000);
98 98
99 char char_buffer[256]; 99 char char_buffer[256];
100 voe_rtp_rtcp_->GetRemoteRTCP_CNAME(channel_, char_buffer); 100 voe_rtp_rtcp_->GetRemoteRTCP_CNAME(channel_, char_buffer);
101 EXPECT_STREQ(RTCP_CNAME, char_buffer); 101 EXPECT_STREQ(RTCP_CNAME, char_buffer);
102 } 102 }
103 103
104 // Flakily hangs on Linux. code.google.com/p/webrtc/issues/detail?id=2178. 104 TEST_F(RtpRtcpTest, SSRCPropagatesCorrectly) {
105 TEST_F(RtpRtcpTest, DISABLED_ON_LINUX(SSRCPropagatesCorrectly)) {
106 unsigned int local_ssrc = 1234; 105 unsigned int local_ssrc = 1234;
107 EXPECT_EQ(0, voe_base_->StopSend(channel_)); 106 EXPECT_EQ(0, voe_base_->StopSend(channel_));
108 EXPECT_EQ(0, voe_rtp_rtcp_->SetLocalSSRC(channel_, local_ssrc)); 107 EXPECT_EQ(0, voe_rtp_rtcp_->SetLocalSSRC(channel_, local_ssrc));
109 EXPECT_EQ(0, voe_base_->StartSend(channel_)); 108 EXPECT_EQ(0, voe_base_->StartSend(channel_));
110 109
111 Sleep(1000); 110 Sleep(1000);
112 111
113 unsigned int ssrc; 112 unsigned int ssrc;
114 EXPECT_EQ(0, voe_rtp_rtcp_->GetLocalSSRC(channel_, ssrc)); 113 EXPECT_EQ(0, voe_rtp_rtcp_->GetLocalSSRC(channel_, ssrc));
115 EXPECT_EQ(local_ssrc, ssrc); 114 EXPECT_EQ(local_ssrc, ssrc);
116 115
117 EXPECT_EQ(0, voe_rtp_rtcp_->GetRemoteSSRC(channel_, ssrc)); 116 EXPECT_EQ(0, voe_rtp_rtcp_->GetRemoteSSRC(channel_, ssrc));
118 EXPECT_EQ(local_ssrc, ssrc); 117 EXPECT_EQ(local_ssrc, ssrc);
119 } 118 }
OLDNEW
« no previous file with comments | « webrtc/voice_engine/test/auto_test/fixtures/before_initialization_fixture.h ('k') | webrtc/voice_engine/voe_codec_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698