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 1126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1137 #if !defined(NDEBUG) | 1137 #if !defined(NDEBUG) |
1138 #define MAYBE_ShowGridView DISABLED_ShowGridView | 1138 #define MAYBE_ShowGridView DISABLED_ShowGridView |
1139 #else | 1139 #else |
1140 #define MAYBE_ShowGridView ShowGridView | 1140 #define MAYBE_ShowGridView ShowGridView |
1141 #endif | 1141 #endif |
1142 WRAPPED_INSTANTIATE_TEST_CASE_P( | 1142 WRAPPED_INSTANTIATE_TEST_CASE_P( |
1143 MAYBE_ShowGridView, | 1143 MAYBE_ShowGridView, |
1144 FileManagerBrowserTest, | 1144 FileManagerBrowserTest, |
1145 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "showGridViewDownloads"), | 1145 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "showGridViewDownloads"), |
1146 TestParameter(IN_GUEST_MODE, "showGridViewDownloads"), | 1146 TestParameter(IN_GUEST_MODE, "showGridViewDownloads"), |
1147 TestParameter(NOT_IN_GUEST_MODE, "showGridViewDrive"), | 1147 TestParameter(NOT_IN_GUEST_MODE, "showGridViewDrive"))); |
1148 TestParameter(IN_GUEST_MODE, "checkFilesSorted"))); | |
1149 | 1148 |
1150 // Structure to describe an account info. | 1149 // Structure to describe an account info. |
1151 struct TestAccountInfo { | 1150 struct TestAccountInfo { |
1152 const char* const email; | 1151 const char* const email; |
1153 const char* const hash; | 1152 const char* const hash; |
1154 const char* const display_name; | 1153 const char* const display_name; |
1155 }; | 1154 }; |
1156 | 1155 |
1157 enum { | 1156 enum { |
1158 DUMMY_ACCOUNT_INDEX = 0, | 1157 DUMMY_ACCOUNT_INDEX = 0, |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1554 } | 1553 } |
1555 | 1554 |
1556 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { | 1555 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { |
1557 AddScript("video_player/open_video_files.js"); | 1556 AddScript("video_player/open_video_files.js"); |
1558 set_test_case_name("openSingleVideoOnDrive"); | 1557 set_test_case_name("openSingleVideoOnDrive"); |
1559 StartTest(); | 1558 StartTest(); |
1560 } | 1559 } |
1561 | 1560 |
1562 } // namespace | 1561 } // namespace |
1563 } // namespace file_manager | 1562 } // namespace file_manager |
OLD | NEW |