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

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

Issue 11821035: Revert 175828 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 PlayAudio("bear_mulaw.wav", GetParam()); 130 PlayAudio("bear_mulaw.wav", GetParam());
131 } 131 }
132 132
133 IN_PROC_BROWSER_TEST_P(MediaTest, VideoBearFlac) { 133 IN_PROC_BROWSER_TEST_P(MediaTest, VideoBearFlac) {
134 PlayAudio("bear.flac", GetParam()); 134 PlayAudio("bear.flac", GetParam());
135 } 135 }
136 #endif 136 #endif
137 #endif 137 #endif
138 138
139 IN_PROC_BROWSER_TEST_P(MediaTest, VideoBearWavPcm) { 139 IN_PROC_BROWSER_TEST_P(MediaTest, VideoBearWavPcm) {
140 // Temporarily skip running HTTP version of the
141 // test since it times out frequently on the ASAN bots.
142 // Remove this condition once http://crbug.com/169031
143 // has been fixed.
144 if (GetParam())
145 return;
146 PlayAudio("bear_pcm.wav", GetParam()); 140 PlayAudio("bear_pcm.wav", GetParam());
147 } 141 }
148 142
149 IN_PROC_BROWSER_TEST_P(MediaTest, VideoBearWavPcm3kHz) { 143 IN_PROC_BROWSER_TEST_P(MediaTest, VideoBearWavPcm3kHz) {
150 PlayAudio("bear_3kHz.wav", GetParam()); 144 PlayAudio("bear_3kHz.wav", GetParam());
151 } 145 }
152 146
153 IN_PROC_BROWSER_TEST_P(MediaTest, VideoBearWavPcm192kHz) { 147 IN_PROC_BROWSER_TEST_P(MediaTest, VideoBearWavPcm192kHz) {
154 PlayAudio("bear_192kHz.wav", GetParam()); 148 PlayAudio("bear_192kHz.wav", GetParam());
155 } 149 }
(...skipping 23 matching lines...) Expand all
179 173
180 IN_PROC_BROWSER_TEST_F(MediaLayoutTest, VideoLoopTest) { 174 IN_PROC_BROWSER_TEST_F(MediaLayoutTest, VideoLoopTest) {
181 RunLayoutTest("video-loop.html"); 175 RunLayoutTest("video-loop.html");
182 } 176 }
183 177
184 IN_PROC_BROWSER_TEST_F(MediaLayoutTest, VideoNoAutoplayTest) { 178 IN_PROC_BROWSER_TEST_F(MediaLayoutTest, VideoNoAutoplayTest) {
185 RunLayoutTest("video-no-autoplay.html"); 179 RunLayoutTest("video-no-autoplay.html");
186 } 180 }
187 181
188 } // namespace content 182 } // 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