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

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/file_manager_browsertest.cc

Issue 13779002: chromeos: Add a subdirectory "file_manager" to chrome/browser/chromeos/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 // Browser test for basic Chrome OS file manager functionality: 5 // Browser test for basic Chrome OS file manager functionality:
6 // - The file list is updated when a file is added externally to the Downloads 6 // - The file list is updated when a file is added externally to the Downloads
7 // folder. 7 // folder.
8 // - Selecting a file and copy-pasting it with the keyboard copies the file. 8 // - Selecting a file and copy-pasting it with the keyboard copies the file.
9 // - Selecting a file and pressing delete deletes it. 9 // - Selecting a file and pressing delete deletes it.
10 10
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 ResultCatcher catcher; 344 ResultCatcher catcher;
345 StartTest("keyboard delete"); 345 StartTest("keyboard delete");
346 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 346 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
347 347
348 TestFilePathWatcher watcher(delete_path, 348 TestFilePathWatcher watcher(delete_path,
349 base::Bind(FileNotPresent)); 349 base::Bind(FileNotPresent));
350 ASSERT_TRUE(watcher.RunMessageLoopUntilConditionSatisfied()); 350 ASSERT_TRUE(watcher.RunMessageLoopUntilConditionSatisfied());
351 } 351 }
352 352
353 } // namespace 353 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698