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

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

Issue 677593002: [fsp] Fix flaky browser test for aborting a write operation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/file_system_provider/write_file/test.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 kFlagLoadAsComponent)) 107 kFlagLoadAsComponent))
108 << message_; 108 << message_;
109 } 109 }
110 110
111 IN_PROC_BROWSER_TEST_F(FileSystemProviderApiTest, Truncate) { 111 IN_PROC_BROWSER_TEST_F(FileSystemProviderApiTest, Truncate) {
112 ASSERT_TRUE(RunPlatformAppTestWithFlags("file_system_provider/truncate", 112 ASSERT_TRUE(RunPlatformAppTestWithFlags("file_system_provider/truncate",
113 kFlagLoadAsComponent)) 113 kFlagLoadAsComponent))
114 << message_; 114 << message_;
115 } 115 }
116 116
117 // http://crbug.com/426549 117 IN_PROC_BROWSER_TEST_F(FileSystemProviderApiTest, WriteFile) {
118 #if defined(OS_CHROMEOS)
119 #define MAYBE_WriteFile DISABLED_WriteFile
120 #else
121 #define MAYBE_WriteFile WriteFile
122 #endif
123 IN_PROC_BROWSER_TEST_F(FileSystemProviderApiTest, MAYBE_WriteFile) {
124 ASSERT_TRUE(RunPlatformAppTestWithFlags("file_system_provider/write_file", 118 ASSERT_TRUE(RunPlatformAppTestWithFlags("file_system_provider/write_file",
125 kFlagLoadAsComponent)) 119 kFlagLoadAsComponent))
126 << message_; 120 << message_;
127 } 121 }
128 122
129 IN_PROC_BROWSER_TEST_F(FileSystemProviderApiTest, Extension) { 123 IN_PROC_BROWSER_TEST_F(FileSystemProviderApiTest, Extension) {
130 ASSERT_TRUE(RunComponentExtensionTest("file_system_provider/extension")) 124 ASSERT_TRUE(RunComponentExtensionTest("file_system_provider/extension"))
131 << message_; 125 << message_;
132 } 126 }
133 127
134 IN_PROC_BROWSER_TEST_F(FileSystemProviderApiTest, Thumbnail) { 128 IN_PROC_BROWSER_TEST_F(FileSystemProviderApiTest, Thumbnail) {
135 ASSERT_TRUE(RunPlatformAppTestWithFlags("file_system_provider/thumbnail", 129 ASSERT_TRUE(RunPlatformAppTestWithFlags("file_system_provider/thumbnail",
136 kFlagLoadAsComponent)) 130 kFlagLoadAsComponent))
137 << message_; 131 << message_;
138 } 132 }
139 133
140 // TODO(mtomasz): Add a test for Notify() once it's wired to 134 // TODO(mtomasz): Add a test for Notify() once it's wired to
141 // chrome.fileManagerPrivate. 135 // chrome.fileManagerPrivate.
142 136
143 } // namespace extensions 137 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/file_system_provider/write_file/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698