| 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 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1093 FileManagerBrowserTest, | 1093 FileManagerBrowserTest, |
| 1094 ::testing::Values( | 1094 ::testing::Values( |
| 1095 TestParameter(NOT_IN_GUEST_MODE, "traverseFolderShortcuts"), | 1095 TestParameter(NOT_IN_GUEST_MODE, "traverseFolderShortcuts"), |
| 1096 TestParameter(NOT_IN_GUEST_MODE, "addRemoveFolderShortcuts"))); | 1096 TestParameter(NOT_IN_GUEST_MODE, "addRemoveFolderShortcuts"))); |
| 1097 | 1097 |
| 1098 INSTANTIATE_TEST_CASE_P( | 1098 INSTANTIATE_TEST_CASE_P( |
| 1099 TabIndex, | 1099 TabIndex, |
| 1100 FileManagerBrowserTest, | 1100 FileManagerBrowserTest, |
| 1101 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "searchBoxFocus"))); | 1101 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "searchBoxFocus"))); |
| 1102 | 1102 |
| 1103 INSTANTIATE_TEST_CASE_P(TabindexFocus, |
| 1104 FileManagerBrowserTest, |
| 1105 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, |
| 1106 "tabindexFocus"))); |
| 1107 |
| 1108 INSTANTIATE_TEST_CASE_P( |
| 1109 TabindexFocusDirectorySelected, |
| 1110 FileManagerBrowserTest, |
| 1111 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, |
| 1112 "tabindexFocusDirectorySelected"))); |
| 1113 |
| 1103 // Fails on official build. http://crbug.com/429294 | 1114 // Fails on official build. http://crbug.com/429294 |
| 1104 #if !defined(NDEBUG) || defined(OFFICIAL_BUILD) | 1115 #if !defined(NDEBUG) || defined(OFFICIAL_BUILD) |
| 1105 #define MAYBE_OpenFileDialog DISABLED_OpenFileDialog | 1116 #define MAYBE_OpenFileDialog DISABLED_OpenFileDialog |
| 1106 #else | 1117 #else |
| 1107 #define MAYBE_OpenFileDialog OpenFileDialog | 1118 #define MAYBE_OpenFileDialog OpenFileDialog |
| 1108 #endif | 1119 #endif |
| 1109 WRAPPED_INSTANTIATE_TEST_CASE_P( | 1120 WRAPPED_INSTANTIATE_TEST_CASE_P( |
| 1110 MAYBE_OpenFileDialog, | 1121 MAYBE_OpenFileDialog, |
| 1111 FileManagerBrowserTest, | 1122 FileManagerBrowserTest, |
| 1112 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, | 1123 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1470 StartTest(); | 1481 StartTest(); |
| 1471 } | 1482 } |
| 1472 | 1483 |
| 1473 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { | 1484 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { |
| 1474 set_test_case_name("openSingleVideoOnDrive"); | 1485 set_test_case_name("openSingleVideoOnDrive"); |
| 1475 StartTest(); | 1486 StartTest(); |
| 1476 } | 1487 } |
| 1477 | 1488 |
| 1478 } // namespace | 1489 } // namespace |
| 1479 } // namespace file_manager | 1490 } // namespace file_manager |
| OLD | NEW |