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

Unified Diff: content/browser/media/media_browsertest.cc

Issue 16413005: Stop running media layout tests as browser tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/media/audio_browsertest.cc ('k') | content/content_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media/media_browsertest.cc
diff --git a/content/browser/media/media_browsertest.cc b/content/browser/media/media_browsertest.cc
index 5ee796e560f3437c74025c53360c02eb18bfc644..9b42b92b8a894413071df83a6b67666a319e7307 100644
--- a/content/browser/media/media_browsertest.cc
+++ b/content/browser/media/media_browsertest.cc
@@ -10,7 +10,6 @@
#include "content/public/test/browser_test_utils.h"
#include "content/shell/shell.h"
#include "content/test/content_browser_test_utils.h"
-#include "content/test/layout_browsertest.h"
// TODO(wolenetz): Fix Media.YUV* tests on MSVS 2012 x64. crbug.com/180074
#if defined(OS_WIN) && defined(ARCH_CPU_X86_64) && _MSC_VER == 1700
@@ -192,30 +191,6 @@ IN_PROC_BROWSER_TEST_F(MediaTest, Navigate) {
INSTANTIATE_TEST_CASE_P(File, MediaTest, ::testing::Values(false));
INSTANTIATE_TEST_CASE_P(Http, MediaTest, ::testing::Values(true));
-class MediaLayoutTest : public InProcessBrowserLayoutTest {
- protected:
- MediaLayoutTest() : InProcessBrowserLayoutTest(
- base::FilePath(), base::FilePath().AppendASCII("media")) {
- }
- virtual ~MediaLayoutTest() {}
-};
-
-// Each browser test can only correspond to a single layout test, otherwise the
-// 45 second timeout per test is not long enough for N tests on debug/asan/etc
-// builds.
-
-IN_PROC_BROWSER_TEST_F(MediaLayoutTest, VideoAutoplayTest) {
- RunLayoutTest("video-autoplay.html");
-}
-
-IN_PROC_BROWSER_TEST_F(MediaLayoutTest, VideoLoopTest) {
- RunLayoutTest("video-loop.html");
-}
-
-IN_PROC_BROWSER_TEST_F(MediaLayoutTest, VideoNoAutoplayTest) {
- RunLayoutTest("video-no-autoplay.html");
-}
-
IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pTheora)) {
RunColorFormatTest("yuv420p.ogv", "ENDED");
}
« no previous file with comments | « content/browser/media/audio_browsertest.cc ('k') | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698