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

Unified Diff: content/browser/fileapi/blob_layout_browsertest.cc

Issue 10941011: Rewrite layout_browsertests to use content_shell --dump-render-tree to execute layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 8 years, 3 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
Index: content/browser/fileapi/blob_layout_browsertest.cc
diff --git a/content/browser/fileapi/blob_layout_browsertest.cc b/content/browser/fileapi/blob_layout_browsertest.cc
index 27bf0a53d6f66991f90e03da9509ef2ffcd933f6..3ccabddd878b9fe765e1b20c6b17d86b99382dc4 100644
--- a/content/browser/fileapi/blob_layout_browsertest.cc
+++ b/content/browser/fileapi/blob_layout_browsertest.cc
@@ -11,29 +11,8 @@ class BlobLayoutTest : public InProcessBrowserLayoutTest {
FilePath(),
FilePath(FILE_PATH_LITERAL("fast/files")).NormalizePathSeparators()) {
}
-
- virtual void SetUpInProcessBrowserTestFixture() OVERRIDE {
- InProcessBrowserLayoutTest::SetUpInProcessBrowserTestFixture();
- AddResourceForLayoutTest(
- FilePath(FILE_PATH_LITERAL("fast/js")).NormalizePathSeparators(),
- FilePath(FILE_PATH_LITERAL("resources")));
- }
-
- void RunLayoutTests(const char* file_names[]) {
- for (size_t i = 0; file_names[i]; i++)
- RunLayoutTest(file_names[i]);
- }
};
-namespace {
-
-static const char* kSliceTests[] = {
- "blob-slice-test.html",
- NULL
-};
-
-}
-
IN_PROC_BROWSER_TEST_F(BlobLayoutTest, SliceTests) {
- RunLayoutTests(kSliceTests);
+ RunLayoutTest("blob-slice-test.html");
}

Powered by Google App Engine
This is Rietveld 408576698