| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/file_path.h" | 5 #include "base/file_path.h" |
| 6 #include "base/string_util.h" | 6 #include "base/string_util.h" |
| 7 #include "base/test/test_timeouts.h" | 7 #include "base/test/test_timeouts.h" |
| 8 #include "base/threading/platform_thread.h" | 8 #include "base/threading/platform_thread.h" |
| 9 #include "chrome/app/chrome_command_ids.h" | 9 #include "chrome/app/chrome_command_ids.h" |
| 10 #include "chrome/test/automation/automation_proxy.h" | 10 #include "chrome/test/automation/automation_proxy.h" |
| 11 #include "chrome/test/automation/browser_proxy.h" | 11 #include "chrome/test/automation/browser_proxy.h" |
| 12 #include "chrome/test/automation/tab_proxy.h" | 12 #include "chrome/test/automation/tab_proxy.h" |
| 13 #include "chrome/test/base/layout_test_http_server.h" |
| 13 #include "chrome/test/base/ui_test_utils.h" | 14 #include "chrome/test/base/ui_test_utils.h" |
| 14 #include "chrome/test/layout_test_http_server.h" | |
| 15 #include "chrome/test/ui/ui_layout_test.h" | 15 #include "chrome/test/ui/ui_layout_test.h" |
| 16 #include "content/browser/worker_host/worker_service.h" | 16 #include "content/browser/worker_host/worker_service.h" |
| 17 #include "content/common/url_constants.h" | 17 #include "content/common/url_constants.h" |
| 18 #include "net/test/test_server.h" | 18 #include "net/test/test_server.h" |
| 19 | 19 |
| 20 namespace { | 20 namespace { |
| 21 | 21 |
| 22 const char kTestCompleteCookie[] = "status"; | 22 const char kTestCompleteCookie[] = "status"; |
| 23 const char kTestCompleteSuccess[] = "OK"; | 23 const char kTestCompleteSuccess[] = "OK"; |
| 24 const FilePath::CharType* kTestDir = | 24 const FilePath::CharType* kTestDir = |
| (...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 834 RunWorkerFileSystemLayoutTest("file-writer-truncate-extend.html"); | 834 RunWorkerFileSystemLayoutTest("file-writer-truncate-extend.html"); |
| 835 } | 835 } |
| 836 | 836 |
| 837 TEST_F(WorkerFileSystemTest, FileWriterSyncTruncateExtend) { | 837 TEST_F(WorkerFileSystemTest, FileWriterSyncTruncateExtend) { |
| 838 RunWorkerFileSystemLayoutTest("file-writer-sync-truncate-extend.html"); | 838 RunWorkerFileSystemLayoutTest("file-writer-sync-truncate-extend.html"); |
| 839 } | 839 } |
| 840 | 840 |
| 841 TEST_F(WorkerFileSystemTest, FileWriterSyncWriteOverlapped) { | 841 TEST_F(WorkerFileSystemTest, FileWriterSyncWriteOverlapped) { |
| 842 RunWorkerFileSystemLayoutTest("file-writer-sync-write-overlapped.html"); | 842 RunWorkerFileSystemLayoutTest("file-writer-sync-write-overlapped.html"); |
| 843 } | 843 } |
| OLD | NEW |