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

Side by Side Diff: content/browser/media/webrtc_browsertest.cc

Issue 145093006: Revert "linux-aura/webrtc: Disable a couple of tests failing on the bots." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 5b4f38be Initial. Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/strings/stringprintf.h" 6 #include "base/strings/stringprintf.h"
7 #include "base/values.h" 7 #include "base/values.h"
8 #include "content/browser/media/webrtc_internals.h" 8 #include "content/browser/media/webrtc_internals.h"
9 #include "content/browser/web_contents/web_contents_impl.h" 9 #include "content/browser/web_contents/web_contents_impl.h"
10 #include "content/public/common/content_switches.h" 10 #include "content/public/common/content_switches.h"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 MAYBE_CanSetupAudioAndVideoCallWithoutMsidAndBundle) { 128 MAYBE_CanSetupAudioAndVideoCallWithoutMsidAndBundle) {
129 MakeTypicalPeerConnectionCall("callWithoutMsidAndBundle();"); 129 MakeTypicalPeerConnectionCall("callWithoutMsidAndBundle();");
130 } 130 }
131 131
132 // This test will modify the SDP offer to an unsupported codec, which should 132 // This test will modify the SDP offer to an unsupported codec, which should
133 // cause SetLocalDescription to fail. 133 // cause SetLocalDescription to fail.
134 #if defined(USE_OZONE) 134 #if defined(USE_OZONE)
135 // Disabled for Ozone, see http://crbug.com/315392#c15 135 // Disabled for Ozone, see http://crbug.com/315392#c15
136 #define MAYBE_NegotiateUnsupportedVideoCodec\ 136 #define MAYBE_NegotiateUnsupportedVideoCodec\
137 DISABLED_NegotiateUnsupportedVideoCodec 137 DISABLED_NegotiateUnsupportedVideoCodec
138 #elif defined(OS_LINUX) && defined(USE_AURA)
139 // http://crbug.com/335916
140 #define MAYBE_NegotiateUnsupportedVideoCodec\
141 DISABLED_NegotiateUnsupportedVideoCodec
142 #else 138 #else
143 #define MAYBE_NegotiateUnsupportedVideoCodec NegotiateUnsupportedVideoCodec 139 #define MAYBE_NegotiateUnsupportedVideoCodec NegotiateUnsupportedVideoCodec
144 #endif 140 #endif
145 141
146 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, 142 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest,
147 MAYBE_NegotiateUnsupportedVideoCodec) { 143 MAYBE_NegotiateUnsupportedVideoCodec) {
148 MakeTypicalPeerConnectionCall("negotiateUnsupportedVideoCodec();"); 144 MakeTypicalPeerConnectionCall("negotiateUnsupportedVideoCodec();");
149 } 145 }
150 146
151 // This test will modify the SDP offer to use no encryption, which should 147 // This test will modify the SDP offer to use no encryption, which should
152 // cause SetLocalDescription to fail. 148 // cause SetLocalDescription to fail.
153 #if defined(USE_OZONE) 149 #if defined(USE_OZONE)
154 // Disabled for Ozone, see http://crbug.com/315392#c15 150 // Disabled for Ozone, see http://crbug.com/315392#c15
155 #define MAYBE_NegotiateNonCryptoCall DISABLED_NegotiateNonCryptoCall 151 #define MAYBE_NegotiateNonCryptoCall DISABLED_NegotiateNonCryptoCall
156 #elif defined(OS_LINUX) && defined(USE_AURA)
157 // http:://crbug.com/335916
158 #define MAYBE_NegotiateNonCryptoCall DISABLED_NegotiateNonCryptoCall
159 #else 152 #else
160 #define MAYBE_NegotiateNonCryptoCall NegotiateNonCryptoCall 153 #define MAYBE_NegotiateNonCryptoCall NegotiateNonCryptoCall
161 #endif 154 #endif
162 155
163 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, MAYBE_NegotiateNonCryptoCall) { 156 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, MAYBE_NegotiateNonCryptoCall) {
164 MakeTypicalPeerConnectionCall("negotiateNonCryptoCall();"); 157 MakeTypicalPeerConnectionCall("negotiateNonCryptoCall();");
165 } 158 }
166 159
167 // This test can negotiate an SDP offer that includes a b=AS:xx to control 160 // This test can negotiate an SDP offer that includes a b=AS:xx to control
168 // the bandwidth for audio and video 161 // the bandwidth for audio and video
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 371
379 EXPECT_TRUE(base::PathExists(dump_file)); 372 EXPECT_TRUE(base::PathExists(dump_file));
380 int64 file_size = 0; 373 int64 file_size = 0;
381 EXPECT_TRUE(base::GetFileSize(dump_file, &file_size)); 374 EXPECT_TRUE(base::GetFileSize(dump_file, &file_size));
382 EXPECT_EQ(0, file_size); 375 EXPECT_EQ(0, file_size);
383 376
384 base::DeleteFile(dump_file, false); 377 base::DeleteFile(dump_file, false);
385 } 378 }
386 379
387 } // namespace content 380 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698