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 1120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1131 FileManagerBrowserTest, | 1131 FileManagerBrowserTest, |
1132 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, | 1132 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, |
1133 "tabindexFocusDirectorySelected"))); | 1133 "tabindexFocusDirectorySelected"))); |
1134 | 1134 |
1135 // Fails on official cros trunk build. http://crbug.com/480491 | 1135 // Fails on official cros trunk build. http://crbug.com/480491 |
1136 #if defined(OFFICIAL_BUILD) | 1136 #if defined(OFFICIAL_BUILD) |
1137 #define MAYBE_TabindexOpenDialog DISABLED_TabindexOpenDialog | 1137 #define MAYBE_TabindexOpenDialog DISABLED_TabindexOpenDialog |
1138 #else | 1138 #else |
1139 #define MAYBE_TabindexOpenDialog TabindexOpenDialog | 1139 #define MAYBE_TabindexOpenDialog TabindexOpenDialog |
1140 #endif | 1140 #endif |
1141 INSTANTIATE_TEST_CASE_P( | 1141 WRAPPED_INSTANTIATE_TEST_CASE_P( |
1142 MAYBE_TabindexOpenDialog, | 1142 MAYBE_TabindexOpenDialog, |
1143 FileManagerBrowserTest, | 1143 FileManagerBrowserTest, |
1144 ::testing::Values( | 1144 ::testing::Values( |
1145 TestParameter(NOT_IN_GUEST_MODE, "tabindexOpenDialogDrive"), | 1145 TestParameter(NOT_IN_GUEST_MODE, "tabindexOpenDialogDrive"), |
1146 TestParameter(NOT_IN_GUEST_MODE, "tabindexOpenDialogDownloads"), | 1146 TestParameter(NOT_IN_GUEST_MODE, "tabindexOpenDialogDownloads"), |
1147 TestParameter(IN_GUEST_MODE, "tabindexOpenDialogDownloads"))); | 1147 TestParameter(IN_GUEST_MODE, "tabindexOpenDialogDownloads"))); |
1148 | 1148 |
1149 // Fails on official build. http://crbug.com/482121. | 1149 // Fails on official build. http://crbug.com/482121. |
1150 #if defined(OFFICIAL_BUILD) | 1150 #if defined(OFFICIAL_BUILD) |
1151 #define MAYBE_TabindexSaveFileDialog DISABLED_TabindexSaveFileDialog | 1151 #define MAYBE_TabindexSaveFileDialog DISABLED_TabindexSaveFileDialog |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1546 StartTest(); | 1546 StartTest(); |
1547 } | 1547 } |
1548 | 1548 |
1549 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { | 1549 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { |
1550 set_test_case_name("openSingleVideoOnDrive"); | 1550 set_test_case_name("openSingleVideoOnDrive"); |
1551 StartTest(); | 1551 StartTest(); |
1552 } | 1552 } |
1553 | 1553 |
1554 } // namespace | 1554 } // namespace |
1555 } // namespace file_manager | 1555 } // namespace file_manager |
OLD | NEW |