| 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/files/file_path.h" | 6 #include "base/files/file_path.h" |
| 7 #include "base/files/file_util.h" | 7 #include "base/files/file_util.h" |
| 8 #include "base/files/scoped_temp_dir.h" | 8 #include "base/files/scoped_temp_dir.h" |
| 9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
| 10 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" |
| (...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 799 EXPECT_TRUE(RunFileSystemExtensionApiTest( | 799 EXPECT_TRUE(RunFileSystemExtensionApiTest( |
| 800 "file_browser/filesystem_operations_test", | 800 "file_browser/filesystem_operations_test", |
| 801 FILE_PATH_LITERAL("manifest.json"), | 801 FILE_PATH_LITERAL("manifest.json"), |
| 802 "", | 802 "", |
| 803 FLAGS_NONE)) << message_; | 803 FLAGS_NONE)) << message_; |
| 804 } | 804 } |
| 805 | 805 |
| 806 // | 806 // |
| 807 // DriveFileSystemExtensionApiTests. | 807 // DriveFileSystemExtensionApiTests. |
| 808 // | 808 // |
| 809 IN_PROC_BROWSER_TEST_F(DriveFileSystemExtensionApiTest, FileSystemOperations) { | 809 #if defined(LEAK_SANITIZER) |
| 810 #define MAYBE_FileSystemOperations DISABLED_FileSystemOperations |
| 811 #else |
| 812 #define MAYBE_FileSystemOperations FileSystemOperations |
| 813 #endif |
| 814 IN_PROC_BROWSER_TEST_F(DriveFileSystemExtensionApiTest, |
| 815 MAYBE_FileSystemOperations) { |
| 810 EXPECT_TRUE(RunFileSystemExtensionApiTest( | 816 EXPECT_TRUE(RunFileSystemExtensionApiTest( |
| 811 "file_browser/filesystem_operations_test", | 817 "file_browser/filesystem_operations_test", |
| 812 FILE_PATH_LITERAL("manifest.json"), | 818 FILE_PATH_LITERAL("manifest.json"), |
| 813 "", | 819 "", |
| 814 FLAGS_NONE)) << message_; | 820 FLAGS_NONE)) << message_; |
| 815 } | 821 } |
| 816 | 822 |
| 817 IN_PROC_BROWSER_TEST_F(DriveFileSystemExtensionApiTest, FileWatch) { | 823 IN_PROC_BROWSER_TEST_F(DriveFileSystemExtensionApiTest, FileWatch) { |
| 818 EXPECT_TRUE(RunFileSystemExtensionApiTest( | 824 EXPECT_TRUE(RunFileSystemExtensionApiTest( |
| 819 "file_browser/file_watcher_test", | 825 "file_browser/file_watcher_test", |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 875 AppFileHandlerMulti) { | 881 AppFileHandlerMulti) { |
| 876 EXPECT_TRUE( | 882 EXPECT_TRUE( |
| 877 RunFileSystemExtensionApiTest("file_browser/app_file_handler_multi", | 883 RunFileSystemExtensionApiTest("file_browser/app_file_handler_multi", |
| 878 FILE_PATH_LITERAL("manifest.json"), | 884 FILE_PATH_LITERAL("manifest.json"), |
| 879 "", | 885 "", |
| 880 FLAGS_NONE)) | 886 FLAGS_NONE)) |
| 881 << message_; | 887 << message_; |
| 882 } | 888 } |
| 883 } // namespace | 889 } // namespace |
| 884 } // namespace file_manager | 890 } // namespace file_manager |
| OLD | NEW |