OLD | NEW |
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 Loading... |
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 |
OLD | NEW |