| 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 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 715 } | 715 } |
| 716 | 716 |
| 717 INSTANTIATE_TEST_CASE_P( | 717 INSTANTIATE_TEST_CASE_P( |
| 718 FileDisplay, | 718 FileDisplay, |
| 719 FileManagerBrowserTest, | 719 FileManagerBrowserTest, |
| 720 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "fileDisplayDownloads"), | 720 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "fileDisplayDownloads"), |
| 721 TestParameter(IN_GUEST_MODE, "fileDisplayDownloads"), | 721 TestParameter(IN_GUEST_MODE, "fileDisplayDownloads"), |
| 722 TestParameter(NOT_IN_GUEST_MODE, "fileDisplayDrive"))); | 722 TestParameter(NOT_IN_GUEST_MODE, "fileDisplayDrive"))); |
| 723 | 723 |
| 724 INSTANTIATE_TEST_CASE_P( | 724 INSTANTIATE_TEST_CASE_P( |
| 725 OpenSpecialTypes, | 725 OpenZipFiles, |
| 726 FileManagerBrowserTest, | 726 FileManagerBrowserTest, |
| 727 ::testing::Values(TestParameter(IN_GUEST_MODE, "galleryOpenDownloads"), | 727 ::testing::Values(TestParameter(IN_GUEST_MODE, "zipOpenDownloads"), |
| 728 TestParameter(NOT_IN_GUEST_MODE, "galleryOpenDownloads"), | |
| 729 TestParameter(NOT_IN_GUEST_MODE, "galleryOpenDrive"), | |
| 730 TestParameter(IN_GUEST_MODE, "zipOpenDownloads"), | |
| 731 TestParameter(NOT_IN_GUEST_MODE, "zipOpenDownloads"), | 728 TestParameter(NOT_IN_GUEST_MODE, "zipOpenDownloads"), |
| 732 TestParameter(NOT_IN_GUEST_MODE, "zipOpenDrive"))); | 729 TestParameter(NOT_IN_GUEST_MODE, "zipOpenDrive"))); |
| 733 | 730 |
| 734 INSTANTIATE_TEST_CASE_P( | 731 INSTANTIATE_TEST_CASE_P( |
| 735 OpenVideoFiles, | 732 OpenVideoFiles, |
| 736 FileManagerBrowserTest, | 733 FileManagerBrowserTest, |
| 737 ::testing::Values(TestParameter(IN_GUEST_MODE, "videoOpenDownloads"), | 734 ::testing::Values(TestParameter(IN_GUEST_MODE, "videoOpenDownloads"), |
| 738 TestParameter(NOT_IN_GUEST_MODE, "videoOpenDownloads"), | 735 TestParameter(NOT_IN_GUEST_MODE, "videoOpenDownloads"), |
| 739 TestParameter(NOT_IN_GUEST_MODE, "videoOpenDrive"))); | 736 TestParameter(NOT_IN_GUEST_MODE, "videoOpenDrive"))); |
| 740 | 737 |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1064 // (bob and charlie) are added in the test. Thus the existing test verifies | 1061 // (bob and charlie) are added in the test. Thus the existing test verifies |
| 1065 // that the feature is effectively working with lastly logged in users. | 1062 // that the feature is effectively working with lastly logged in users. |
| 1066 AddExtraUsersForStressTesting(); | 1063 AddExtraUsersForStressTesting(); |
| 1067 | 1064 |
| 1068 set_test_case_name("multiProfileVisitDesktopMenu"); | 1065 set_test_case_name("multiProfileVisitDesktopMenu"); |
| 1069 StartTest(); | 1066 StartTest(); |
| 1070 } | 1067 } |
| 1071 | 1068 |
| 1072 } // namespace | 1069 } // namespace |
| 1073 } // namespace file_manager | 1070 } // namespace file_manager |
| OLD | NEW |