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 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 IN_PROC_BROWSER_TEST_P(FileManagerBrowserLocalTest, TestFileDisplay) { | 489 IN_PROC_BROWSER_TEST_P(FileManagerBrowserLocalTest, TestFileDisplay) { |
490 DoTestFileDisplay(&volume_); | 490 DoTestFileDisplay(&volume_); |
491 } | 491 } |
492 | 492 |
493 IN_PROC_BROWSER_TEST_P(FileManagerBrowserLocalTest, TestGalleryOpen) { | 493 IN_PROC_BROWSER_TEST_P(FileManagerBrowserLocalTest, TestGalleryOpen) { |
494 ResultCatcher catcher; | 494 ResultCatcher catcher; |
495 ASSERT_NO_FATAL_FAILURE(StartTest("galleryOpenDownloads")); | 495 ASSERT_NO_FATAL_FAILURE(StartTest("galleryOpenDownloads")); |
496 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); | 496 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); |
497 } | 497 } |
498 | 498 |
| 499 IN_PROC_BROWSER_TEST_P(FileManagerBrowserLocalTest, TestKeyboardDelete) { |
| 500 ResultCatcher catcher; |
| 501 ASSERT_NO_FATAL_FAILURE(StartTest("keyboardDeleteDownloads")); |
| 502 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); |
| 503 } |
| 504 |
499 // Disabled temporarily since fails on Linux Chromium OS ASAN Tests (2). | 505 // Disabled temporarily since fails on Linux Chromium OS ASAN Tests (2). |
500 // TODO(mtomasz): crbug.com/243611. | 506 // TODO(mtomasz): crbug.com/243611. |
501 IN_PROC_BROWSER_TEST_P(FileManagerBrowserDriveTest, DISABLED_TestGalleryOpen) { | 507 IN_PROC_BROWSER_TEST_P(FileManagerBrowserDriveTest, DISABLED_TestGalleryOpen) { |
502 ResultCatcher catcher; | 508 ResultCatcher catcher; |
503 ASSERT_NO_FATAL_FAILURE(StartTest("galleryOpenDrive")); | 509 ASSERT_NO_FATAL_FAILURE(StartTest("galleryOpenDrive")); |
504 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); | 510 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); |
505 } | 511 } |
506 | 512 |
507 IN_PROC_BROWSER_TEST_P(FileManagerBrowserLocalTest, TestAudioOpen) { | 513 IN_PROC_BROWSER_TEST_P(FileManagerBrowserLocalTest, TestAudioOpen) { |
508 ResultCatcher catcher; | 514 ResultCatcher catcher; |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
600 } | 606 } |
601 | 607 |
602 IN_PROC_BROWSER_TEST_P(FileManagerBrowserTransferTest, | 608 IN_PROC_BROWSER_TEST_P(FileManagerBrowserTransferTest, |
603 TransferFromOfflineToDrive) { | 609 TransferFromOfflineToDrive) { |
604 ResultCatcher catcher; | 610 ResultCatcher catcher; |
605 ASSERT_NO_FATAL_FAILURE(StartTest("transferFromOfflineToDrive")); | 611 ASSERT_NO_FATAL_FAILURE(StartTest("transferFromOfflineToDrive")); |
606 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); | 612 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); |
607 } | 613 } |
608 | 614 |
609 } // namespace | 615 } // namespace |
OLD | NEW |