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

Side by Side Diff: content/browser/media_browsertest.cc

Issue 10827384: Mark Tulip as flaky on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Keep flac test disabled :-/ Created 8 years, 4 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/basictypes.h" 5 #include "base/basictypes.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "base/string16.h" 7 #include "base/string16.h"
8 #include "base/stringprintf.h" 8 #include "base/stringprintf.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 IN_PROC_BROWSER_TEST_P(MediaTest, VideoBearWavGsmms) { 132 IN_PROC_BROWSER_TEST_P(MediaTest, VideoBearWavGsmms) {
133 PlayAudio("bear_gsm_ms.wav", GetParam()); 133 PlayAudio("bear_gsm_ms.wav", GetParam());
134 } 134 }
135 135
136 IN_PROC_BROWSER_TEST_P(MediaTest, VideoBearWavMulaw) { 136 IN_PROC_BROWSER_TEST_P(MediaTest, VideoBearWavMulaw) {
137 PlayAudio("bear_mulaw.wav", GetParam()); 137 PlayAudio("bear_mulaw.wav", GetParam());
138 } 138 }
139 139
140 // TODO(dalecurtis): Fails seek test. http://crbug.com/141020 140 // TODO(dalecurtis): Fails seek test. http://crbug.com/141020
141 // IN_PROC_BROWSER_TEST_P(MediaTest, VideoBearFlac) { 141 IN_PROC_BROWSER_TEST_P(MediaTest, DISABLED_VideoBearFlac) {
142 // PlayAudio("bear.flac", GetParam()); 142 PlayAudio("bear.flac", GetParam());
143 // } 143 }
144 #endif 144 #endif
145 #endif 145 #endif
146 146
147 IN_PROC_BROWSER_TEST_P(MediaTest, VideoBearWavPcm) { 147 IN_PROC_BROWSER_TEST_P(MediaTest, VideoBearWavPcm) {
148 PlayAudio("bear_pcm.wav", GetParam()); 148 PlayAudio("bear_pcm.wav", GetParam());
149 } 149 }
150 150
151 // Flaky. http://crbug.com/143151 151 #if defined(OS_MACOSX)
152 // TODO(dalecurtis): Flaky on Mac 10.6. http://crbug.com/142896
152 IN_PROC_BROWSER_TEST_P(MediaTest, FLAKY_VideoTulipWebm) { 153 IN_PROC_BROWSER_TEST_P(MediaTest, FLAKY_VideoTulipWebm) {
153 PlayVideo("tulip2.webm", GetParam()); 154 PlayVideo("tulip2.webm", GetParam());
154 } 155 }
156 #else
157 IN_PROC_BROWSER_TEST_P(MediaTest, VideoTulipWebm) {
158 PlayVideo("tulip2.webm", GetParam());
159 }
160 #endif
155 161
156 INSTANTIATE_TEST_CASE_P(File, MediaTest, ::testing::Values(false)); 162 INSTANTIATE_TEST_CASE_P(File, MediaTest, ::testing::Values(false));
157 INSTANTIATE_TEST_CASE_P(Http, MediaTest, ::testing::Values(true)); 163 INSTANTIATE_TEST_CASE_P(Http, MediaTest, ::testing::Values(true));
158 164
159 class MediaLayoutTest : public InProcessBrowserLayoutTest { 165 class MediaLayoutTest : public InProcessBrowserLayoutTest {
160 protected: 166 protected:
161 MediaLayoutTest() : InProcessBrowserLayoutTest( 167 MediaLayoutTest() : InProcessBrowserLayoutTest(
162 FilePath(), FilePath().AppendASCII("media")) { 168 FilePath(), FilePath().AppendASCII("media")) {
163 } 169 }
164 virtual ~MediaLayoutTest() {} 170 virtual ~MediaLayoutTest() {}
(...skipping 30 matching lines...) Expand all
195 RunLayoutTest("video-autoplay.html"); 201 RunLayoutTest("video-autoplay.html");
196 } 202 }
197 203
198 IN_PROC_BROWSER_TEST_F(MediaLayoutTest, VideoLoopTest) { 204 IN_PROC_BROWSER_TEST_F(MediaLayoutTest, VideoLoopTest) {
199 RunLayoutTest("video-loop.html"); 205 RunLayoutTest("video-loop.html");
200 } 206 }
201 207
202 IN_PROC_BROWSER_TEST_F(MediaLayoutTest, VideoNoAutoplayTest) { 208 IN_PROC_BROWSER_TEST_F(MediaLayoutTest, VideoNoAutoplayTest) {
203 RunLayoutTest("video-no-autoplay.html"); 209 RunLayoutTest("video-no-autoplay.html");
204 } 210 }
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