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

Side by Side Diff: chrome/browser/extensions/api/tab_capture/tab_capture_apitest.cc

Issue 1456863003: Disable failing tests on Mac 10.10 Release (ATI) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc ('k') | 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/basictypes.h" 5 #include "base/basictypes.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/thread_task_runner_handle.h"
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 167
168 // Tests that there is a maximum limitation to the number of simultaneous 168 // Tests that there is a maximum limitation to the number of simultaneous
169 // off-screen tabs. 169 // off-screen tabs.
170 IN_PROC_BROWSER_TEST_F(TabCaptureApiTest, MaxOffscreenTabs) { 170 IN_PROC_BROWSER_TEST_F(TabCaptureApiTest, MaxOffscreenTabs) {
171 AddExtensionToCommandLineWhitelist(); 171 AddExtensionToCommandLineWhitelist();
172 ASSERT_TRUE(RunExtensionSubtest("tab_capture", "max_offscreen_tabs.html")) 172 ASSERT_TRUE(RunExtensionSubtest("tab_capture", "max_offscreen_tabs.html"))
173 << message_; 173 << message_;
174 } 174 }
175 175
176 // Tests that tab capture video frames can be received in a VIDEO element. 176 // Tests that tab capture video frames can be received in a VIDEO element.
177 IN_PROC_BROWSER_TEST_F(TabCaptureApiPixelTest, EndToEndWithoutRemoting) { 177 // Disabled in MacOS: https://crbug.com/557929
178 #if defined(OS_MACOSX)
179 #define MAYBE_EndToEndWithoutRemoting DISABLED_EndToEndWithoutRemoting
180 #else
181 #define MAYBE_EndToEndWithoutRemoting EndToEndWithoutRemoting
182 #endif
183 IN_PROC_BROWSER_TEST_F(TabCaptureApiPixelTest, MAYBE_EndToEndWithoutRemoting) {
178 if (IsTooIntensiveForThisPlatform()) { 184 if (IsTooIntensiveForThisPlatform()) {
179 LOG(WARNING) << "Skipping this CPU-intensive test on this platform/build."; 185 LOG(WARNING) << "Skipping this CPU-intensive test on this platform/build.";
180 return; 186 return;
181 } 187 }
182 AddExtensionToCommandLineWhitelist(); 188 AddExtensionToCommandLineWhitelist();
183 ASSERT_TRUE(RunExtensionSubtest( 189 ASSERT_TRUE(RunExtensionSubtest(
184 "tab_capture", "end_to_end.html?method=local&colorDeviation=10")) 190 "tab_capture", "end_to_end.html?method=local&colorDeviation=10"))
185 << message_; 191 << message_;
186 } 192 }
187 193
188 // Tests that video frames are captured, transported via WebRTC, and finally 194 // Tests that video frames are captured, transported via WebRTC, and finally
189 // received in a VIDEO element. More allowance is provided for color deviation 195 // received in a VIDEO element. More allowance is provided for color deviation
190 // because of the additional layers of video processing performed within 196 // because of the additional layers of video processing performed within
191 // WebRTC. 197 // WebRTC.
192 IN_PROC_BROWSER_TEST_F(TabCaptureApiPixelTest, EndToEndThroughWebRTC) { 198 // Disabled in MacOS: https://crbug.com/557929
199 #if defined(OS_MACOSX)
200 #define MAYBE_EndToEndThroughWebRTC DISABLED_EndToEndThroughWebRTC
201 #else
202 #define MAYBE_EndToEndThroughWebRTC EndToEndThroughWebRTC
203 #endif
204 IN_PROC_BROWSER_TEST_F(TabCaptureApiPixelTest, MAYBE_EndToEndThroughWebRTC) {
193 if (IsTooIntensiveForThisPlatform()) { 205 if (IsTooIntensiveForThisPlatform()) {
194 LOG(WARNING) << "Skipping this CPU-intensive test on this platform/build."; 206 LOG(WARNING) << "Skipping this CPU-intensive test on this platform/build.";
195 return; 207 return;
196 } 208 }
197 AddExtensionToCommandLineWhitelist(); 209 AddExtensionToCommandLineWhitelist();
198 ASSERT_TRUE(RunExtensionSubtest( 210 ASSERT_TRUE(RunExtensionSubtest(
199 "tab_capture", "end_to_end.html?method=webrtc&colorDeviation=50")) 211 "tab_capture", "end_to_end.html?method=webrtc&colorDeviation=50"))
200 << message_; 212 << message_;
201 } 213 }
202 214
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 return; 469 return;
458 } 470 }
459 content::RunMessageLoop(); 471 content::RunMessageLoop();
460 } 472 }
461 browser()->tab_strip_model()->RemoveObserver(&observer); 473 browser()->tab_strip_model()->RemoveObserver(&observer);
462 } 474 }
463 475
464 } // namespace 476 } // namespace
465 477
466 } // namespace extensions 478 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698