| 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/common/url_constants.h" | 10 #include "chrome/common/url_constants.h" |
| (...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 767 } | 767 } |
| 768 | 768 |
| 769 TEST_F(WorkerFileSystemTest, SyncOperations) { | 769 TEST_F(WorkerFileSystemTest, SyncOperations) { |
| 770 RunWorkerFileSystemLayoutTest("sync-operations.html"); | 770 RunWorkerFileSystemLayoutTest("sync-operations.html"); |
| 771 } | 771 } |
| 772 | 772 |
| 773 TEST_F(WorkerFileSystemTest, FileEntryToURISync) { | 773 TEST_F(WorkerFileSystemTest, FileEntryToURISync) { |
| 774 RunWorkerFileSystemLayoutTest("file-entry-to-uri-sync.html"); | 774 RunWorkerFileSystemLayoutTest("file-entry-to-uri-sync.html"); |
| 775 } | 775 } |
| 776 | 776 |
| 777 #if defined(OS_WIN) |
| 777 // http://crbug.com/77442 | 778 // http://crbug.com/77442 |
| 778 TEST_F(WorkerFileSystemTest, FLAKY_ResolveURLHttpTests) { | 779 #define ResolveURLHttpTests FLAKY_ResolveURLHttpTests |
| 780 #endif |
| 781 TEST_F(WorkerFileSystemTest, ResolveURLHttpTests) { |
| 779 static const char* kLayoutTests[] = { | 782 static const char* kLayoutTests[] = { |
| 780 "resolve-url.html", | 783 "resolve-url.html", |
| 781 "resolve-url-sync.html" | 784 "resolve-url-sync.html" |
| 782 }; | 785 }; |
| 783 RunWorkerFileSystemLayoutHttpTests(kLayoutTests, arraysize(kLayoutTests)); | 786 RunWorkerFileSystemLayoutHttpTests(kLayoutTests, arraysize(kLayoutTests)); |
| 784 } | 787 } |
| 785 | 788 |
| 786 #if defined(OS_LINUX) | 789 #if defined(OS_LINUX) |
| 787 // These tests fail on Linux due to an assert in WebKit's RNG. | 790 // These tests fail on Linux due to an assert in WebKit's RNG. |
| 788 // See http://webkit.org/b/55728. | 791 // See http://webkit.org/b/55728. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 804 RunWorkerFileSystemLayoutTest("file-writer-truncate-extend.html"); | 807 RunWorkerFileSystemLayoutTest("file-writer-truncate-extend.html"); |
| 805 } | 808 } |
| 806 | 809 |
| 807 TEST_F(WorkerFileSystemTest, FileWriterSyncTruncateExtend) { | 810 TEST_F(WorkerFileSystemTest, FileWriterSyncTruncateExtend) { |
| 808 RunWorkerFileSystemLayoutTest("file-writer-sync-truncate-extend.html"); | 811 RunWorkerFileSystemLayoutTest("file-writer-sync-truncate-extend.html"); |
| 809 } | 812 } |
| 810 | 813 |
| 811 TEST_F(WorkerFileSystemTest, FileWriterSyncWriteOverlapped) { | 814 TEST_F(WorkerFileSystemTest, FileWriterSyncWriteOverlapped) { |
| 812 RunWorkerFileSystemLayoutTest("file-writer-sync-write-overlapped.html"); | 815 RunWorkerFileSystemLayoutTest("file-writer-sync-write-overlapped.html"); |
| 813 } | 816 } |
| OLD | NEW |