OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "content/browser/media/media_browsertest.h" | 5 #include "content/browser/media/media_browsertest.h" |
6 | 6 |
7 #include "base/strings/stringprintf.h" | 7 #include "base/strings/stringprintf.h" |
8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
9 #include "content/public/browser/web_contents.h" | 9 #include "content/public/browser/web_contents.h" |
10 #include "content/public/common/url_constants.h" | 10 #include "content/public/common/url_constants.h" |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 } | 217 } |
218 | 218 |
219 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pTheora)) { | 219 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pTheora)) { |
220 RunColorFormatTest("yuv444p.ogv", "ENDED"); | 220 RunColorFormatTest("yuv444p.ogv", "ENDED"); |
221 } | 221 } |
222 | 222 |
223 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pVp8)) { | 223 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pVp8)) { |
224 RunColorFormatTest("yuv420p.webm", "ENDED"); | 224 RunColorFormatTest("yuv420p.webm", "ENDED"); |
225 } | 225 } |
226 | 226 |
227 // TODO(johannkoenig): Reenable after landing libvpx roll | 227 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pVp9)) { |
228 // http://www.crbug.com/392309 | |
229 IN_PROC_BROWSER_TEST_F(MediaTest, DISABLED_Yuv444pVp9) { | |
230 RunColorFormatTest("yuv444p.webm", "ENDED"); | 228 RunColorFormatTest("yuv444p.webm", "ENDED"); |
231 } | 229 } |
232 | 230 |
233 #if defined(USE_PROPRIETARY_CODECS) | 231 #if defined(USE_PROPRIETARY_CODECS) |
234 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pH264)) { | 232 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pH264)) { |
235 RunColorFormatTest("yuv420p.mp4", "ENDED"); | 233 RunColorFormatTest("yuv420p.mp4", "ENDED"); |
236 } | 234 } |
237 | 235 |
238 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuvj420pH264)) { | 236 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuvj420pH264)) { |
239 RunColorFormatTest("yuvj420p.mp4", "ENDED"); | 237 RunColorFormatTest("yuvj420p.mp4", "ENDED"); |
240 } | 238 } |
241 | 239 |
242 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv422pH264)) { | 240 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv422pH264)) { |
243 RunColorFormatTest("yuv422p.mp4", "ENDED"); | 241 RunColorFormatTest("yuv422p.mp4", "ENDED"); |
244 } | 242 } |
245 | 243 |
246 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pH264)) { | 244 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pH264)) { |
247 RunColorFormatTest("yuv444p.mp4", "ENDED"); | 245 RunColorFormatTest("yuv444p.mp4", "ENDED"); |
248 } | 246 } |
249 | 247 |
250 #if defined(OS_CHROMEOS) | 248 #if defined(OS_CHROMEOS) |
251 IN_PROC_BROWSER_TEST_F(MediaTest, Yuv420pMpeg4) { | 249 IN_PROC_BROWSER_TEST_F(MediaTest, Yuv420pMpeg4) { |
252 RunColorFormatTest("yuv420p.avi", "ENDED"); | 250 RunColorFormatTest("yuv420p.avi", "ENDED"); |
253 } | 251 } |
254 #endif // defined(OS_CHROMEOS) | 252 #endif // defined(OS_CHROMEOS) |
255 #endif // defined(USE_PROPRIETARY_CODECS) | 253 #endif // defined(USE_PROPRIETARY_CODECS) |
256 | 254 |
257 } // namespace content | 255 } // namespace content |
OLD | NEW |