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 724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
735 TestParameter(NOT_IN_GUEST_MODE, "audioOpenDrive"), | 735 TestParameter(NOT_IN_GUEST_MODE, "audioOpenDrive"), |
736 TestParameter(IN_GUEST_MODE, "galleryOpenDownloads"), | 736 TestParameter(IN_GUEST_MODE, "galleryOpenDownloads"), |
737 TestParameter(NOT_IN_GUEST_MODE, "galleryOpenDownloads"), | 737 TestParameter(NOT_IN_GUEST_MODE, "galleryOpenDownloads"), |
738 TestParameter(NOT_IN_GUEST_MODE, "galleryOpenDrive"), | 738 TestParameter(NOT_IN_GUEST_MODE, "galleryOpenDrive"), |
739 TestParameter(IN_GUEST_MODE, "zipOpenDownloads"), | 739 TestParameter(IN_GUEST_MODE, "zipOpenDownloads"), |
740 TestParameter(NOT_IN_GUEST_MODE, "zipOpenDownloads"))); | 740 TestParameter(NOT_IN_GUEST_MODE, "zipOpenDownloads"))); |
741 // http://crbug.com/348008 | 741 // http://crbug.com/348008 |
742 // DISABLED TestParameter(NOT_IN_GUEST_MODE, "zipOpenDrive"))); | 742 // DISABLED TestParameter(NOT_IN_GUEST_MODE, "zipOpenDrive"))); |
743 | 743 |
744 INSTANTIATE_TEST_CASE_P( | 744 INSTANTIATE_TEST_CASE_P( |
| 745 OpenVideoFiles, |
| 746 FileManagerBrowserTest, |
| 747 ::testing::Values(TestParameter(IN_GUEST_MODE, "videoOpenDownloads"), |
| 748 TestParameter(NOT_IN_GUEST_MODE, "videoOpenDownloads"), |
| 749 TestParameter(NOT_IN_GUEST_MODE, "videoOpenDrive"))); |
| 750 |
| 751 INSTANTIATE_TEST_CASE_P( |
745 KeyboardOperations, | 752 KeyboardOperations, |
746 FileManagerBrowserTest, | 753 FileManagerBrowserTest, |
747 ::testing::Values(TestParameter(IN_GUEST_MODE, "keyboardDeleteDownloads"), | 754 ::testing::Values(TestParameter(IN_GUEST_MODE, "keyboardDeleteDownloads"), |
748 TestParameter(NOT_IN_GUEST_MODE, | 755 TestParameter(NOT_IN_GUEST_MODE, |
749 "keyboardDeleteDownloads"), | 756 "keyboardDeleteDownloads"), |
750 TestParameter(NOT_IN_GUEST_MODE, "keyboardDeleteDrive"), | 757 TestParameter(NOT_IN_GUEST_MODE, "keyboardDeleteDrive"), |
751 TestParameter(IN_GUEST_MODE, "keyboardCopyDownloads"), | 758 TestParameter(IN_GUEST_MODE, "keyboardCopyDownloads"), |
752 TestParameter(NOT_IN_GUEST_MODE, "keyboardCopyDownloads"), | 759 TestParameter(NOT_IN_GUEST_MODE, "keyboardCopyDownloads"), |
753 TestParameter(NOT_IN_GUEST_MODE, "keyboardCopyDrive"))); | 760 TestParameter(NOT_IN_GUEST_MODE, "keyboardCopyDrive"))); |
754 | 761 |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1043 // (bob and charlie) are added in the test. Thus the existing test verifies | 1050 // (bob and charlie) are added in the test. Thus the existing test verifies |
1044 // that the feature is effectively working with lastly logged in users. | 1051 // that the feature is effectively working with lastly logged in users. |
1045 AddExtraUsersForStressTesting(); | 1052 AddExtraUsersForStressTesting(); |
1046 | 1053 |
1047 set_test_case_name("multiProfileVisitDesktopMenu"); | 1054 set_test_case_name("multiProfileVisitDesktopMenu"); |
1048 StartTest(); | 1055 StartTest(); |
1049 } | 1056 } |
1050 | 1057 |
1051 } // namespace | 1058 } // namespace |
1052 } // namespace file_manager | 1059 } // namespace file_manager |
OLD | NEW |