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