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 1151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1162 | 1162 |
1163 // http://crbug.com/480491 | 1163 // http://crbug.com/480491 |
1164 INSTANTIATE_TEST_CASE_P( | 1164 INSTANTIATE_TEST_CASE_P( |
1165 DISABLED_TabindexOpenDialog, | 1165 DISABLED_TabindexOpenDialog, |
1166 FileManagerBrowserTest, | 1166 FileManagerBrowserTest, |
1167 ::testing::Values( | 1167 ::testing::Values( |
1168 TestParameter(NOT_IN_GUEST_MODE, "tabindexOpenDialogDrive"), | 1168 TestParameter(NOT_IN_GUEST_MODE, "tabindexOpenDialogDrive"), |
1169 TestParameter(NOT_IN_GUEST_MODE, "tabindexOpenDialogDownloads"), | 1169 TestParameter(NOT_IN_GUEST_MODE, "tabindexOpenDialogDownloads"), |
1170 TestParameter(IN_GUEST_MODE, "tabindexOpenDialogDownloads"))); | 1170 TestParameter(IN_GUEST_MODE, "tabindexOpenDialogDownloads"))); |
1171 | 1171 |
| 1172 INSTANTIATE_TEST_CASE_P( |
| 1173 TabindexSaveFileDialog, |
| 1174 FileManagerBrowserTest, |
| 1175 ::testing::Values( |
| 1176 TestParameter(NOT_IN_GUEST_MODE, "tabindexSaveFileDialogDrive"), |
| 1177 TestParameter(NOT_IN_GUEST_MODE, "tabindexSaveFileDialogDownloads"), |
| 1178 TestParameter(IN_GUEST_MODE, "tabindexSaveFileDialogDownloads"))); |
| 1179 |
1172 // Fails on official build. http://crbug.com/429294 | 1180 // Fails on official build. http://crbug.com/429294 |
1173 // Disabled under MSAN as well. http://crbug.com/468980. | 1181 // Disabled under MSAN as well. http://crbug.com/468980. |
1174 #if !defined(NDEBUG) || defined(OFFICIAL_BUILD) || defined(MEMORY_SANITIZER) | 1182 #if !defined(NDEBUG) || defined(OFFICIAL_BUILD) || defined(MEMORY_SANITIZER) |
1175 #define MAYBE_OpenFileDialog DISABLED_OpenFileDialog | 1183 #define MAYBE_OpenFileDialog DISABLED_OpenFileDialog |
1176 #else | 1184 #else |
1177 #define MAYBE_OpenFileDialog OpenFileDialog | 1185 #define MAYBE_OpenFileDialog OpenFileDialog |
1178 #endif | 1186 #endif |
1179 WRAPPED_INSTANTIATE_TEST_CASE_P( | 1187 WRAPPED_INSTANTIATE_TEST_CASE_P( |
1180 MAYBE_OpenFileDialog, | 1188 MAYBE_OpenFileDialog, |
1181 FileManagerBrowserTest, | 1189 FileManagerBrowserTest, |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1545 StartTest(); | 1553 StartTest(); |
1546 } | 1554 } |
1547 | 1555 |
1548 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { | 1556 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { |
1549 set_test_case_name("openSingleVideoOnDrive"); | 1557 set_test_case_name("openSingleVideoOnDrive"); |
1550 StartTest(); | 1558 StartTest(); |
1551 } | 1559 } |
1552 | 1560 |
1553 } // namespace | 1561 } // namespace |
1554 } // namespace file_manager | 1562 } // namespace file_manager |
OLD | NEW |