Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Side by Side Diff: chrome/browser/chromeos/file_manager/file_manager_browsertest.cc

Issue 755363004: Make the sort order in thumbnail view always alphabetical. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add browser_test for sorting order in grid view. Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/file_manager_browsertest/file_manager/grid_view.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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")));
1139 1140
1140 // Structure to describe an account info. 1141 // Structure to describe an account info.
1141 struct TestAccountInfo { 1142 struct TestAccountInfo {
1142 const char* const email; 1143 const char* const email;
1143 const char* const hash; 1144 const char* const hash;
1144 const char* const display_name; 1145 const char* const display_name;
1145 }; 1146 };
1146 1147
1147 enum { 1148 enum {
1148 DUMMY_ACCOUNT_INDEX = 0, 1149 DUMMY_ACCOUNT_INDEX = 0,
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
1544 } 1545 }
1545 1546
1546 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { 1547 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) {
1547 AddScript("video_player/open_video_files.js"); 1548 AddScript("video_player/open_video_files.js");
1548 set_test_case_name("openSingleVideoOnDrive"); 1549 set_test_case_name("openSingleVideoOnDrive");
1549 StartTest(); 1550 StartTest();
1550 } 1551 }
1551 1552
1552 } // namespace 1553 } // namespace
1553 } // namespace file_manager 1554 } // namespace file_manager
OLDNEW
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/file_manager_browsertest/file_manager/grid_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698