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