OLD | NEW |
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/file_util.h" | 6 #include "base/file_util.h" |
7 #include "base/strings/stringprintf.h" | 7 #include "base/strings/stringprintf.h" |
8 #include "base/threading/platform_thread.h" | 8 #include "base/threading/platform_thread.h" |
9 #include "base/values.h" | 9 #include "base/values.h" |
10 #include "content/browser/media/webrtc_internals.h" | 10 #include "content/browser/media/webrtc_internals.h" |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 // the bandwidth for audio and video | 208 // the bandwidth for audio and video |
209 IN_PROC_BROWSER_TEST_P(WebRtcBrowserTest, NegotiateOfferWithBLine) { | 209 IN_PROC_BROWSER_TEST_P(WebRtcBrowserTest, NegotiateOfferWithBLine) { |
210 MakeTypicalPeerConnectionCall("negotiateOfferWithBLine();"); | 210 MakeTypicalPeerConnectionCall("negotiateOfferWithBLine();"); |
211 } | 211 } |
212 | 212 |
213 // This test will make a complete PeerConnection-based call using legacy SDP | 213 // This test will make a complete PeerConnection-based call using legacy SDP |
214 // settings: GIce, external SDES, and no BUNDLE. | 214 // settings: GIce, external SDES, and no BUNDLE. |
215 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(ARCH_CPU_ARM_FAMILY) | 215 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(ARCH_CPU_ARM_FAMILY) |
216 // Timing out on ARM linux, see http://crbug.com/240373 | 216 // Timing out on ARM linux, see http://crbug.com/240373 |
217 #define MAYBE_CanSetupLegacyCall DISABLED_CanSetupLegacyCall | 217 #define MAYBE_CanSetupLegacyCall DISABLED_CanSetupLegacyCall |
| 218 #elif defined(THREAD_SANITIZER) |
| 219 // Flaky on TSAN v2: http://crbug.com/373637 |
| 220 #define MAYBE_CanSetupLegacyCall DISABLED_CanSetupLegacyCall |
218 #else | 221 #else |
219 #define MAYBE_CanSetupLegacyCall CanSetupLegacyCall | 222 #define MAYBE_CanSetupLegacyCall CanSetupLegacyCall |
220 #endif | 223 #endif |
221 | 224 |
222 IN_PROC_BROWSER_TEST_P(WebRtcBrowserTest, MAYBE_CanSetupLegacyCall) { | 225 IN_PROC_BROWSER_TEST_P(WebRtcBrowserTest, MAYBE_CanSetupLegacyCall) { |
223 MakeTypicalPeerConnectionCall("callWithLegacySdp();"); | 226 MakeTypicalPeerConnectionCall("callWithLegacySdp();"); |
224 } | 227 } |
225 | 228 |
226 // This test will make a PeerConnection-based call and test an unreliable text | 229 // This test will make a PeerConnection-based call and test an unreliable text |
227 // dataChannel. | 230 // dataChannel. |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 | 446 |
444 EXPECT_TRUE(base::PathExists(dump_file)); | 447 EXPECT_TRUE(base::PathExists(dump_file)); |
445 int64 file_size = 0; | 448 int64 file_size = 0; |
446 EXPECT_TRUE(base::GetFileSize(dump_file, &file_size)); | 449 EXPECT_TRUE(base::GetFileSize(dump_file, &file_size)); |
447 EXPECT_EQ(0, file_size); | 450 EXPECT_EQ(0, file_size); |
448 | 451 |
449 base::DeleteFile(dump_file, false); | 452 base::DeleteFile(dump_file, false); |
450 } | 453 } |
451 | 454 |
452 } // namespace content | 455 } // namespace content |
OLD | NEW |