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 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1128 #if !defined(NDEBUG) | 1128 #if !defined(NDEBUG) |
1129 #define MAYBE_ShowGridView DISABLED_ShowGridView | 1129 #define MAYBE_ShowGridView DISABLED_ShowGridView |
1130 #else | 1130 #else |
1131 #define MAYBE_ShowGridView ShowGridView | 1131 #define MAYBE_ShowGridView ShowGridView |
1132 #endif | 1132 #endif |
1133 WRAPPED_INSTANTIATE_TEST_CASE_P( | 1133 WRAPPED_INSTANTIATE_TEST_CASE_P( |
1134 MAYBE_ShowGridView, | 1134 MAYBE_ShowGridView, |
1135 FileManagerBrowserTest, | 1135 FileManagerBrowserTest, |
1136 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "showGridViewDownloads"), | 1136 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "showGridViewDownloads"), |
1137 TestParameter(IN_GUEST_MODE, "showGridViewDownloads"), | 1137 TestParameter(IN_GUEST_MODE, "showGridViewDownloads"), |
1138 TestParameter(NOT_IN_GUEST_MODE, "showGridViewDrive"), | 1138 TestParameter(NOT_IN_GUEST_MODE, "showGridViewDrive"))); |
1139 TestParameter(IN_GUEST_MODE, "checkFilesSorted"))); | |
1140 | 1139 |
1141 // Structure to describe an account info. | 1140 // Structure to describe an account info. |
1142 struct TestAccountInfo { | 1141 struct TestAccountInfo { |
1143 const char* const email; | 1142 const char* const email; |
1144 const char* const hash; | 1143 const char* const hash; |
1145 const char* const display_name; | 1144 const char* const display_name; |
1146 }; | 1145 }; |
1147 | 1146 |
1148 enum { | 1147 enum { |
1149 DUMMY_ACCOUNT_INDEX = 0, | 1148 DUMMY_ACCOUNT_INDEX = 0, |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1545 } | 1544 } |
1546 | 1545 |
1547 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { | 1546 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { |
1548 AddScript("video_player/open_video_files.js"); | 1547 AddScript("video_player/open_video_files.js"); |
1549 set_test_case_name("openSingleVideoOnDrive"); | 1548 set_test_case_name("openSingleVideoOnDrive"); |
1550 StartTest(); | 1549 StartTest(); |
1551 } | 1550 } |
1552 | 1551 |
1553 } // namespace | 1552 } // namespace |
1554 } // namespace file_manager | 1553 } // namespace file_manager |
OLD | NEW |