| 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 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 731 TestParameter(NOT_IN_GUEST_MODE, "zipOpenDownloads"), | 731 TestParameter(NOT_IN_GUEST_MODE, "zipOpenDownloads"), |
| 732 TestParameter(NOT_IN_GUEST_MODE, "zipOpenDrive"))); | 732 TestParameter(NOT_IN_GUEST_MODE, "zipOpenDrive"))); |
| 733 | 733 |
| 734 INSTANTIATE_TEST_CASE_P( | 734 INSTANTIATE_TEST_CASE_P( |
| 735 OpenVideoFiles, | 735 OpenVideoFiles, |
| 736 FileManagerBrowserTest, | 736 FileManagerBrowserTest, |
| 737 ::testing::Values(TestParameter(IN_GUEST_MODE, "videoOpenDownloads"), | 737 ::testing::Values(TestParameter(IN_GUEST_MODE, "videoOpenDownloads"), |
| 738 TestParameter(NOT_IN_GUEST_MODE, "videoOpenDownloads"), | 738 TestParameter(NOT_IN_GUEST_MODE, "videoOpenDownloads"), |
| 739 TestParameter(NOT_IN_GUEST_MODE, "videoOpenDrive"))); | 739 TestParameter(NOT_IN_GUEST_MODE, "videoOpenDrive"))); |
| 740 | 740 |
| 741 // Disabled due to frequent failure; http://crbug.com/374097. |
| 741 INSTANTIATE_TEST_CASE_P( | 742 INSTANTIATE_TEST_CASE_P( |
| 742 OpenAudioFiles, | 743 DISABLED_OpenAudioFiles, |
| 743 FileManagerBrowserTest, | 744 FileManagerBrowserTest, |
| 744 ::testing::Values( | 745 ::testing::Values( |
| 745 TestParameter(IN_GUEST_MODE, "audioOpenDownloads"), | 746 TestParameter(IN_GUEST_MODE, "audioOpenDownloads"), |
| 746 TestParameter(NOT_IN_GUEST_MODE, "audioOpenDownloads"), | 747 TestParameter(NOT_IN_GUEST_MODE, "audioOpenDownloads"), |
| 747 TestParameter(NOT_IN_GUEST_MODE, "audioOpenDrive"), | 748 TestParameter(NOT_IN_GUEST_MODE, "audioOpenDrive"), |
| 748 TestParameter(NOT_IN_GUEST_MODE, "audioAutoAdvanceDrive"), | 749 TestParameter(NOT_IN_GUEST_MODE, "audioAutoAdvanceDrive"), |
| 749 TestParameter(NOT_IN_GUEST_MODE, "audioRepeatSingleFileDrive"), | 750 TestParameter(NOT_IN_GUEST_MODE, "audioRepeatSingleFileDrive"), |
| 750 TestParameter(NOT_IN_GUEST_MODE, "audioNoRepeatSingleFileDrive"), | 751 TestParameter(NOT_IN_GUEST_MODE, "audioNoRepeatSingleFileDrive"), |
| 751 TestParameter(NOT_IN_GUEST_MODE, "audioRepeatMultipleFileDrive"), | 752 TestParameter(NOT_IN_GUEST_MODE, "audioRepeatMultipleFileDrive"), |
| 752 TestParameter(NOT_IN_GUEST_MODE, "audioNoRepeatMultipleFileDrive"))); | 753 TestParameter(NOT_IN_GUEST_MODE, "audioNoRepeatMultipleFileDrive"))); |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1063 // (bob and charlie) are added in the test. Thus the existing test verifies | 1064 // (bob and charlie) are added in the test. Thus the existing test verifies |
| 1064 // that the feature is effectively working with lastly logged in users. | 1065 // that the feature is effectively working with lastly logged in users. |
| 1065 AddExtraUsersForStressTesting(); | 1066 AddExtraUsersForStressTesting(); |
| 1066 | 1067 |
| 1067 set_test_case_name("multiProfileVisitDesktopMenu"); | 1068 set_test_case_name("multiProfileVisitDesktopMenu"); |
| 1068 StartTest(); | 1069 StartTest(); |
| 1069 } | 1070 } |
| 1070 | 1071 |
| 1071 } // namespace | 1072 } // namespace |
| 1072 } // namespace file_manager | 1073 } // namespace file_manager |
| OLD | NEW |