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 1063 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1074 FileManagerBrowserTest, | 1074 FileManagerBrowserTest, |
1075 ::testing::Values( | 1075 ::testing::Values( |
1076 TestParameter(NOT_IN_GUEST_MODE, "traverseFolderShortcuts"), | 1076 TestParameter(NOT_IN_GUEST_MODE, "traverseFolderShortcuts"), |
1077 TestParameter(NOT_IN_GUEST_MODE, "addRemoveFolderShortcuts"))); | 1077 TestParameter(NOT_IN_GUEST_MODE, "addRemoveFolderShortcuts"))); |
1078 | 1078 |
1079 INSTANTIATE_TEST_CASE_P( | 1079 INSTANTIATE_TEST_CASE_P( |
1080 TabIndex, | 1080 TabIndex, |
1081 FileManagerBrowserTest, | 1081 FileManagerBrowserTest, |
1082 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "searchBoxFocus"))); | 1082 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "searchBoxFocus"))); |
1083 | 1083 |
1084 // Slow tests are disabled on debug build. http://crbug.com/327719 | |
1085 #if !defined(NDEBUG) | |
1086 #define MAYBE_Thumbnails DISABLED_Thumbnails | |
1087 #else | |
1088 #define MAYBE_Thumbnails Thumbnails | |
1089 #endif | |
1090 WRAPPED_INSTANTIATE_TEST_CASE_P( | |
1091 MAYBE_Thumbnails, | |
1092 FileManagerBrowserTest, | |
1093 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "thumbnailsDownloads"), | |
1094 TestParameter(IN_GUEST_MODE, "thumbnailsDownloads"))); | |
1095 | |
1096 // Fails on official build. http://crbug.com/429294 | 1084 // Fails on official build. http://crbug.com/429294 |
1097 #if !defined(NDEBUG) || defined(OFFICIAL_BUILD) | 1085 #if !defined(NDEBUG) || defined(OFFICIAL_BUILD) |
1098 #define MAYBE_OpenFileDialog DISABLED_OpenFileDialog | 1086 #define MAYBE_OpenFileDialog DISABLED_OpenFileDialog |
1099 #else | 1087 #else |
1100 #define MAYBE_OpenFileDialog OpenFileDialog | 1088 #define MAYBE_OpenFileDialog OpenFileDialog |
1101 #endif | 1089 #endif |
1102 WRAPPED_INSTANTIATE_TEST_CASE_P( | 1090 WRAPPED_INSTANTIATE_TEST_CASE_P( |
1103 MAYBE_OpenFileDialog, | 1091 MAYBE_OpenFileDialog, |
1104 FileManagerBrowserTest, | 1092 FileManagerBrowserTest, |
1105 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, | 1093 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1517 StartTest(); | 1505 StartTest(); |
1518 } | 1506 } |
1519 | 1507 |
1520 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { | 1508 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { |
1521 set_test_case_name("openSingleVideoOnDrive"); | 1509 set_test_case_name("openSingleVideoOnDrive"); |
1522 StartTest(); | 1510 StartTest(); |
1523 } | 1511 } |
1524 | 1512 |
1525 } // namespace | 1513 } // namespace |
1526 } // namespace file_manager | 1514 } // namespace file_manager |
OLD | NEW |