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 797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
808 ::testing::Values( | 808 ::testing::Values( |
809 TestParameter(IN_GUEST_MODE, "audioOpenDownloads"), | 809 TestParameter(IN_GUEST_MODE, "audioOpenDownloads"), |
810 TestParameter(NOT_IN_GUEST_MODE, "audioOpenDownloads"), | 810 TestParameter(NOT_IN_GUEST_MODE, "audioOpenDownloads"), |
811 TestParameter(NOT_IN_GUEST_MODE, "audioOpenDrive"), | 811 TestParameter(NOT_IN_GUEST_MODE, "audioOpenDrive"), |
812 TestParameter(NOT_IN_GUEST_MODE, "audioAutoAdvanceDrive"), | 812 TestParameter(NOT_IN_GUEST_MODE, "audioAutoAdvanceDrive"), |
813 TestParameter(NOT_IN_GUEST_MODE, "audioRepeatSingleFileDrive"), | 813 TestParameter(NOT_IN_GUEST_MODE, "audioRepeatSingleFileDrive"), |
814 TestParameter(NOT_IN_GUEST_MODE, "audioNoRepeatSingleFileDrive"), | 814 TestParameter(NOT_IN_GUEST_MODE, "audioNoRepeatSingleFileDrive"), |
815 TestParameter(NOT_IN_GUEST_MODE, "audioRepeatMultipleFileDrive"), | 815 TestParameter(NOT_IN_GUEST_MODE, "audioRepeatMultipleFileDrive"), |
816 TestParameter(NOT_IN_GUEST_MODE, "audioNoRepeatMultipleFileDrive"))); | 816 TestParameter(NOT_IN_GUEST_MODE, "audioNoRepeatMultipleFileDrive"))); |
817 | 817 |
818 // Slow tests are disabled on debug build. http://crbug.com/327719 | 818 // Flaky http://crbug.com/327719 |
819 #if !defined(NDEBUG) | |
820 #define MAYBE_CreateNewFolder DISABLED_CreateNewFolder | |
821 #else | |
822 #define MAYBE_CreateNewFolder CreateNewFolder | |
823 #endif | |
824 WRAPPED_INSTANTIATE_TEST_CASE_P( | 819 WRAPPED_INSTANTIATE_TEST_CASE_P( |
825 MAYBE_CreateNewFolder, | 820 DISABLED_CreateNewFolder, |
826 FileManagerBrowserTest, | 821 FileManagerBrowserTest, |
827 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, | 822 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, |
828 "createNewFolderAfterSelectFile"), | 823 "createNewFolderAfterSelectFile"), |
829 TestParameter(IN_GUEST_MODE, | 824 TestParameter(IN_GUEST_MODE, |
830 "createNewFolderDownloads"), | 825 "createNewFolderDownloads"), |
831 TestParameter(NOT_IN_GUEST_MODE, | 826 TestParameter(NOT_IN_GUEST_MODE, |
832 "createNewFolderDownloads"), | 827 "createNewFolderDownloads"), |
833 TestParameter(NOT_IN_GUEST_MODE, | 828 TestParameter(NOT_IN_GUEST_MODE, |
834 "createNewFolderDrive"))); | 829 "createNewFolderDrive"))); |
835 | 830 |
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1485 } | 1480 } |
1486 | 1481 |
1487 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { | 1482 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { |
1488 AddScript("video_player/open_video_files.js"); | 1483 AddScript("video_player/open_video_files.js"); |
1489 set_test_case_name("openSingleVideoOnDrive"); | 1484 set_test_case_name("openSingleVideoOnDrive"); |
1490 StartTest(); | 1485 StartTest(); |
1491 } | 1486 } |
1492 | 1487 |
1493 } // namespace | 1488 } // namespace |
1494 } // namespace file_manager | 1489 } // namespace file_manager |
OLD | NEW |