| OLD | NEW |
| 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/bind.h" | 5 #include "base/bind.h" |
| 6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
| 7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/test/thread_test_helper.h" | 9 #include "base/test/thread_test_helper.h" |
| 10 #include "content/browser/web_contents/web_contents_impl.h" | 10 #include "content/browser/web_contents/web_contents_impl.h" |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB))); | 78 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB))); |
| 79 ASSERT_TRUE(helper->Run()); | 79 ASSERT_TRUE(helper->Run()); |
| 80 } | 80 } |
| 81 }; | 81 }; |
| 82 | 82 |
| 83 // This class runs WebKit filesystem layout tests. | 83 // This class runs WebKit filesystem layout tests. |
| 84 class FileSystemLayoutTest : public InProcessBrowserLayoutTest { | 84 class FileSystemLayoutTest : public InProcessBrowserLayoutTest { |
| 85 public: | 85 public: |
| 86 FileSystemLayoutTest() : | 86 FileSystemLayoutTest() : |
| 87 InProcessBrowserLayoutTest( | 87 InProcessBrowserLayoutTest( |
| 88 FilePath(), | 88 base::FilePath(), |
| 89 FilePath( | 89 base::FilePath( |
| 90 FILE_PATH_LITERAL("fast/filesystem_temp") | 90 FILE_PATH_LITERAL("fast/filesystem_temp") |
| 91 ).NormalizePathSeparators()) { | 91 ).NormalizePathSeparators()) { |
| 92 } | 92 } |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 IN_PROC_BROWSER_TEST_F(FileSystemBrowserTest, RequestTest) { | 95 IN_PROC_BROWSER_TEST_F(FileSystemBrowserTest, RequestTest) { |
| 96 SimpleTest(GetTestUrl("fileapi", "request_test.html")); | 96 SimpleTest(GetTestUrl("fileapi", "request_test.html")); |
| 97 } | 97 } |
| 98 | 98 |
| 99 IN_PROC_BROWSER_TEST_F(FileSystemBrowserTest, CreateTest) { | 99 IN_PROC_BROWSER_TEST_F(FileSystemBrowserTest, CreateTest) { |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 | 351 |
| 352 IN_PROC_BROWSER_TEST_F(FileSystemLayoutTest, WorkersSimpleTemporarySync) { | 352 IN_PROC_BROWSER_TEST_F(FileSystemLayoutTest, WorkersSimpleTemporarySync) { |
| 353 RunLayoutTest("workers/simple-temporary-sync.html"); | 353 RunLayoutTest("workers/simple-temporary-sync.html"); |
| 354 } | 354 } |
| 355 | 355 |
| 356 IN_PROC_BROWSER_TEST_F(FileSystemLayoutTest, WorkersSyncOperations) { | 356 IN_PROC_BROWSER_TEST_F(FileSystemLayoutTest, WorkersSyncOperations) { |
| 357 RunLayoutTest("workers/sync-operations.html"); | 357 RunLayoutTest("workers/sync-operations.html"); |
| 358 } | 358 } |
| 359 | 359 |
| 360 } // namespace content | 360 } // namespace content |
| OLD | NEW |