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

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

Issue 1063453003: browser_tests for sorting columns in Files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months 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 | ui/file_manager/integration_tests/file_manager/sort_columns.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 1101 matching lines...) Expand 10 before | Expand all | Expand 10 after
1112 #else 1112 #else
1113 #define MAYBE_FolderShortcuts FolderShortcuts 1113 #define MAYBE_FolderShortcuts FolderShortcuts
1114 #endif 1114 #endif
1115 WRAPPED_INSTANTIATE_TEST_CASE_P( 1115 WRAPPED_INSTANTIATE_TEST_CASE_P(
1116 MAYBE_FolderShortcuts, 1116 MAYBE_FolderShortcuts,
1117 FileManagerBrowserTest, 1117 FileManagerBrowserTest,
1118 ::testing::Values( 1118 ::testing::Values(
1119 TestParameter(NOT_IN_GUEST_MODE, "traverseFolderShortcuts"), 1119 TestParameter(NOT_IN_GUEST_MODE, "traverseFolderShortcuts"),
1120 TestParameter(NOT_IN_GUEST_MODE, "addRemoveFolderShortcuts"))); 1120 TestParameter(NOT_IN_GUEST_MODE, "addRemoveFolderShortcuts")));
1121 1121
1122 // Slow tests are disabled on debug build. http://crbug.com/327719
1123 // Fails on official build. http://crbug.com/429294
1124 // Disabled under MSAN as well. http://crbug.com/468980.
1125 #if !defined(NDEBUG) || defined(OFFICIAL_BUILD) || defined(MEMORY_SANITIZER)
1126 #define MAYBE_SortColumns DISABLED_SortColumns
1127 #else
1128 #define MAYBE_SortColumns SortColumns
1129 #endif
1130 WRAPPED_INSTANTIATE_TEST_CASE_P(
1131 MAYBE_SortColumns,
1132 FileManagerBrowserTest,
1133 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "sortColumns"),
1134 TestParameter(IN_GUEST_MODE, "sortColumns")));
1135
1122 INSTANTIATE_TEST_CASE_P( 1136 INSTANTIATE_TEST_CASE_P(
1123 TabIndex, 1137 TabIndex,
1124 FileManagerBrowserTest, 1138 FileManagerBrowserTest,
1125 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "searchBoxFocus"))); 1139 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "searchBoxFocus")));
1126 1140
1127 INSTANTIATE_TEST_CASE_P(TabindexFocus, 1141 INSTANTIATE_TEST_CASE_P(TabindexFocus,
1128 FileManagerBrowserTest, 1142 FileManagerBrowserTest,
1129 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, 1143 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE,
1130 "tabindexFocus"))); 1144 "tabindexFocus")));
1131 1145
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
1517 StartTest(); 1531 StartTest();
1518 } 1532 }
1519 1533
1520 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { 1534 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) {
1521 set_test_case_name("openSingleVideoOnDrive"); 1535 set_test_case_name("openSingleVideoOnDrive");
1522 StartTest(); 1536 StartTest();
1523 } 1537 }
1524 1538
1525 } // namespace 1539 } // namespace
1526 } // namespace file_manager 1540 } // namespace file_manager
OLDNEW
« no previous file with comments | « no previous file | ui/file_manager/integration_tests/file_manager/sort_columns.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698