Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_apitest.cc

Issue 477583002: [fsp] Add a method to enumerate all mounted file systems. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/extensions/extension_apitest.h" 5 #include "chrome/browser/extensions/extension_apitest.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 8
9 class FileSystemProviderApiTest : public ExtensionApiTest { 9 class FileSystemProviderApiTest : public ExtensionApiTest {
10 public: 10 public:
(...skipping 20 matching lines...) Expand all
31 kFlagLoadAsComponent)) 31 kFlagLoadAsComponent))
32 << message_; 32 << message_;
33 } 33 }
34 34
35 IN_PROC_BROWSER_TEST_F(FileSystemProviderApiTest, Unmount) { 35 IN_PROC_BROWSER_TEST_F(FileSystemProviderApiTest, Unmount) {
36 ASSERT_TRUE(RunPlatformAppTestWithFlags("file_system_provider/unmount", 36 ASSERT_TRUE(RunPlatformAppTestWithFlags("file_system_provider/unmount",
37 kFlagLoadAsComponent)) 37 kFlagLoadAsComponent))
38 << message_; 38 << message_;
39 } 39 }
40 40
41 IN_PROC_BROWSER_TEST_F(FileSystemProviderApiTest, GetAll) {
42 ASSERT_TRUE(RunPlatformAppTestWithFlags("file_system_provider/get_all",
43 kFlagLoadAsComponent))
44 << message_;
45 }
46
41 IN_PROC_BROWSER_TEST_F(FileSystemProviderApiTest, GetMetadata) { 47 IN_PROC_BROWSER_TEST_F(FileSystemProviderApiTest, GetMetadata) {
42 ASSERT_TRUE(RunPlatformAppTestWithFlags("file_system_provider/get_metadata", 48 ASSERT_TRUE(RunPlatformAppTestWithFlags("file_system_provider/get_metadata",
43 kFlagLoadAsComponent)) 49 kFlagLoadAsComponent))
44 << message_; 50 << message_;
45 } 51 }
46 52
47 IN_PROC_BROWSER_TEST_F(FileSystemProviderApiTest, ReadDirectory) { 53 IN_PROC_BROWSER_TEST_F(FileSystemProviderApiTest, ReadDirectory) {
48 ASSERT_TRUE(RunPlatformAppTestWithFlags("file_system_provider/read_directory", 54 ASSERT_TRUE(RunPlatformAppTestWithFlags("file_system_provider/read_directory",
49 kFlagLoadAsComponent)) 55 kFlagLoadAsComponent))
50 << message_; 56 << message_;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 << message_; 116 << message_;
111 } 117 }
112 118
113 IN_PROC_BROWSER_TEST_F(FileSystemProviderApiTest, WriteFile) { 119 IN_PROC_BROWSER_TEST_F(FileSystemProviderApiTest, WriteFile) {
114 ASSERT_TRUE(RunPlatformAppTestWithFlags("file_system_provider/write_file", 120 ASSERT_TRUE(RunPlatformAppTestWithFlags("file_system_provider/write_file",
115 kFlagLoadAsComponent)) 121 kFlagLoadAsComponent))
116 << message_; 122 << message_;
117 } 123 }
118 124
119 } // namespace extensions 125 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698