| 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 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 720 INSTANTIATE_TEST_CASE_P( | 720 INSTANTIATE_TEST_CASE_P( |
| 721 FileDisplay, | 721 FileDisplay, |
| 722 FileManagerBrowserTest, | 722 FileManagerBrowserTest, |
| 723 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "fileDisplayDownloads"), | 723 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "fileDisplayDownloads"), |
| 724 TestParameter(IN_GUEST_MODE, "fileDisplayDownloads"), | 724 TestParameter(IN_GUEST_MODE, "fileDisplayDownloads"), |
| 725 TestParameter(NOT_IN_GUEST_MODE, "fileDisplayDrive"))); | 725 TestParameter(NOT_IN_GUEST_MODE, "fileDisplayDrive"))); |
| 726 | 726 |
| 727 INSTANTIATE_TEST_CASE_P( | 727 INSTANTIATE_TEST_CASE_P( |
| 728 OpenSpecialTypes, | 728 OpenSpecialTypes, |
| 729 FileManagerBrowserTest, | 729 FileManagerBrowserTest, |
| 730 ::testing::Values(TestParameter(IN_GUEST_MODE, "videoOpenDownloads"), | 730 ::testing::Values(TestParameter(IN_GUEST_MODE, "audioOpenDownloads"), |
| 731 TestParameter(NOT_IN_GUEST_MODE, "videoOpenDownloads"), | |
| 732 TestParameter(NOT_IN_GUEST_MODE, "videoOpenDrive"), | |
| 733 TestParameter(IN_GUEST_MODE, "audioOpenDownloads"), | |
| 734 TestParameter(NOT_IN_GUEST_MODE, "audioOpenDownloads"), | 731 TestParameter(NOT_IN_GUEST_MODE, "audioOpenDownloads"), |
| 735 TestParameter(NOT_IN_GUEST_MODE, "audioOpenDrive"), | 732 TestParameter(NOT_IN_GUEST_MODE, "audioOpenDrive"), |
| 736 TestParameter(IN_GUEST_MODE, "galleryOpenDownloads"), | 733 TestParameter(IN_GUEST_MODE, "galleryOpenDownloads"), |
| 737 TestParameter(NOT_IN_GUEST_MODE, "galleryOpenDownloads"), | 734 TestParameter(NOT_IN_GUEST_MODE, "galleryOpenDownloads"), |
| 738 TestParameter(NOT_IN_GUEST_MODE, "galleryOpenDrive"), | 735 TestParameter(NOT_IN_GUEST_MODE, "galleryOpenDrive"), |
| 739 TestParameter(IN_GUEST_MODE, "zipOpenDownloads"), | 736 TestParameter(IN_GUEST_MODE, "zipOpenDownloads"), |
| 740 TestParameter(NOT_IN_GUEST_MODE, "zipOpenDownloads"))); | 737 TestParameter(NOT_IN_GUEST_MODE, "zipOpenDownloads"))); |
| 741 // http://crbug.com/348008 | 738 // http://crbug.com/348008 |
| 742 // DISABLED TestParameter(NOT_IN_GUEST_MODE, "zipOpenDrive"))); | 739 // DISABLED TestParameter(NOT_IN_GUEST_MODE, "zipOpenDrive"))); |
| 743 | 740 |
| (...skipping 299 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 | 1040 // (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. | 1041 // that the feature is effectively working with lastly logged in users. |
| 1045 AddExtraUsersForStressTesting(); | 1042 AddExtraUsersForStressTesting(); |
| 1046 | 1043 |
| 1047 set_test_case_name("multiProfileVisitDesktopMenu"); | 1044 set_test_case_name("multiProfileVisitDesktopMenu"); |
| 1048 StartTest(); | 1045 StartTest(); |
| 1049 } | 1046 } |
| 1050 | 1047 |
| 1051 } // namespace | 1048 } // namespace |
| 1052 } // namespace file_manager | 1049 } // namespace file_manager |
| OLD | NEW |