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/process/process_handle.h" | 7 #include "base/process/process_handle.h" |
8 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
9 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
10 #include "base/threading/platform_thread.h" | 10 #include "base/threading/platform_thread.h" |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 CanSetupVideoCallWith1To1AspectRatio | 127 CanSetupVideoCallWith1To1AspectRatio |
128 #endif | 128 #endif |
129 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, | 129 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, |
130 MAYBE_CanSetupVideoCallWith1To1AspectRatio) { | 130 MAYBE_CanSetupVideoCallWith1To1AspectRatio) { |
131 const std::string javascript = | 131 const std::string javascript = |
132 "callAndExpectResolution({video: {mandatory: {minWidth: 320," | 132 "callAndExpectResolution({video: {mandatory: {minWidth: 320," |
133 " maxWidth: 320, minHeight: 320, maxHeight: 320}}}, 320, 320);"; | 133 " maxWidth: 320, minHeight: 320, maxHeight: 320}}}, 320, 320);"; |
134 MakeTypicalPeerConnectionCall(javascript); | 134 MakeTypicalPeerConnectionCall(javascript); |
135 } | 135 } |
136 | 136 |
| 137 #if defined(OS_ANDROID) && defined(ARCH_CPU_ARM64) |
| 138 // Failing on ARM64 Android bot: http://crbug.com/408179 |
| 139 #define MAYBE_CanSetupVideoCallWith16To9AspectRatio \ |
| 140 DISABLED_CanSetupVideoCallWith16To9AspectRatio |
137 // Flaky on TSAN v2. http://crbug.com/408006 | 141 // Flaky on TSAN v2. http://crbug.com/408006 |
138 #if defined(THREAD_SANITIZER) | 142 #elif defined(THREAD_SANITIZER) |
139 #define MAYBE_CanSetupVideoCallWith16To9AspectRatio \ | 143 #define MAYBE_CanSetupVideoCallWith16To9AspectRatio \ |
140 DISABLED_CanSetupVideoCallWith16To9AspectRatio | 144 DISABLED_CanSetupVideoCallWith16To9AspectRatio |
141 #else | 145 #else |
142 #define MAYBE_CanSetupVideoCallWith16To9AspectRatio \ | 146 #define MAYBE_CanSetupVideoCallWith16To9AspectRatio \ |
143 CanSetupVideoCallWith16To9AspectRatio | 147 CanSetupVideoCallWith16To9AspectRatio |
144 #endif | 148 #endif |
145 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, | 149 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, |
146 MAYBE_CanSetupVideoCallWith16To9AspectRatio) { | 150 MAYBE_CanSetupVideoCallWith16To9AspectRatio) { |
147 const std::string javascript = | 151 const std::string javascript = |
148 "callAndExpectResolution({video: {mandatory: {minWidth: 640," | 152 "callAndExpectResolution({video: {mandatory: {minWidth: 640," |
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
602 | 606 |
603 base::DeleteFile(unique_dump_file, false); | 607 base::DeleteFile(unique_dump_file, false); |
604 } | 608 } |
605 } | 609 } |
606 | 610 |
607 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, CreateOfferWithOfferOptions) { | 611 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, CreateOfferWithOfferOptions) { |
608 MakeTypicalPeerConnectionCall("testCreateOfferOptions();"); | 612 MakeTypicalPeerConnectionCall("testCreateOfferOptions();"); |
609 } | 613 } |
610 | 614 |
611 } // namespace content | 615 } // namespace content |
OLD | NEW |