| 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 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pVp9)) { |
| 228 RunColorFormatTest("yuv444p.webm", "ENDED"); |
| 229 } |
| 230 |
| 227 #if defined(USE_PROPRIETARY_CODECS) | 231 #if defined(USE_PROPRIETARY_CODECS) |
| 228 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pH264)) { | 232 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pH264)) { |
| 229 RunColorFormatTest("yuv420p.mp4", "ENDED"); | 233 RunColorFormatTest("yuv420p.mp4", "ENDED"); |
| 230 } | 234 } |
| 231 | 235 |
| 232 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuvj420pH264)) { | 236 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuvj420pH264)) { |
| 233 RunColorFormatTest("yuvj420p.mp4", "ENDED"); | 237 RunColorFormatTest("yuvj420p.mp4", "ENDED"); |
| 234 } | 238 } |
| 235 | 239 |
| 236 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv422pH264)) { | 240 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv422pH264)) { |
| 237 RunColorFormatTest("yuv422p.mp4", "ENDED"); | 241 RunColorFormatTest("yuv422p.mp4", "ENDED"); |
| 238 } | 242 } |
| 239 | 243 |
| 240 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pH264)) { | 244 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pH264)) { |
| 241 RunColorFormatTest("yuv444p.mp4", "ENDED"); | 245 RunColorFormatTest("yuv444p.mp4", "ENDED"); |
| 242 } | 246 } |
| 243 | 247 |
| 244 #if defined(OS_CHROMEOS) | 248 #if defined(OS_CHROMEOS) |
| 245 IN_PROC_BROWSER_TEST_F(MediaTest, Yuv420pMpeg4) { | 249 IN_PROC_BROWSER_TEST_F(MediaTest, Yuv420pMpeg4) { |
| 246 RunColorFormatTest("yuv420p.avi", "ENDED"); | 250 RunColorFormatTest("yuv420p.avi", "ENDED"); |
| 247 } | 251 } |
| 248 #endif // defined(OS_CHROMEOS) | 252 #endif // defined(OS_CHROMEOS) |
| 249 #endif // defined(USE_PROPRIETARY_CODECS) | 253 #endif // defined(USE_PROPRIETARY_CODECS) |
| 250 | 254 |
| 251 } // namespace content | 255 } // namespace content |
| OLD | NEW |