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

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

Issue 1246923003: Files.app: Stop to use autogen IDs of TreeItems to identify tree items. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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/file_manager/background/js/test_util.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 #include "base/strings/utf_string_conversions.h" 5 #include "base/strings/utf_string_conversions.h"
6 #include "chrome/browser/chromeos/drive/file_system_util.h" 6 #include "chrome/browser/chromeos/drive/file_system_util.h"
7 #include "chrome/browser/chromeos/file_manager/file_manager_browsertest_base.h" 7 #include "chrome/browser/chromeos/file_manager/file_manager_browsertest_base.h"
8 #include "chrome/browser/chromeos/profiles/profile_helper.h" 8 #include "chrome/browser/chromeos/profiles/profile_helper.h"
9 #include "chrome/browser/signin/signin_manager_factory.h" 9 #include "chrome/browser/signin/signin_manager_factory.h"
10 #include "chromeos/chromeos_switches.h" 10 #include "chromeos/chromeos_switches.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 "createNewFolderDownloads"), 122 "createNewFolderDownloads"),
123 TestParameter(NOT_IN_GUEST_MODE, 123 TestParameter(NOT_IN_GUEST_MODE,
124 "createNewFolderDownloads"), 124 "createNewFolderDownloads"),
125 TestParameter(NOT_IN_GUEST_MODE, 125 TestParameter(NOT_IN_GUEST_MODE,
126 "createNewFolderDrive"))); 126 "createNewFolderDrive")));
127 127
128 // Fails on official build. http://crbug.com/429294 128 // Fails on official build. http://crbug.com/429294
129 #if defined(DISABLE_SLOW_FILESAPP_TESTS) || defined(OFFICIAL_BUILD) 129 #if defined(DISABLE_SLOW_FILESAPP_TESTS) || defined(OFFICIAL_BUILD)
130 #define MAYBE_KeyboardOperations DISABLED_KeyboardOperations 130 #define MAYBE_KeyboardOperations DISABLED_KeyboardOperations
131 #else 131 #else
132 // Flaky on other builds. http://crbug.com/512669 132 #define MAYBE_KeyboardOperations KeyboardOperations
133 #define MAYBE_KeyboardOperations DISABLED_KeyboardOperations
134 #endif 133 #endif
135 WRAPPED_INSTANTIATE_TEST_CASE_P( 134 WRAPPED_INSTANTIATE_TEST_CASE_P(
136 MAYBE_KeyboardOperations, 135 MAYBE_KeyboardOperations,
137 FileManagerBrowserTest, 136 FileManagerBrowserTest,
138 ::testing::Values(TestParameter(IN_GUEST_MODE, "keyboardDeleteDownloads"), 137 ::testing::Values(TestParameter(IN_GUEST_MODE, "keyboardDeleteDownloads"),
139 TestParameter(NOT_IN_GUEST_MODE, 138 TestParameter(NOT_IN_GUEST_MODE,
140 "keyboardDeleteDownloads"), 139 "keyboardDeleteDownloads"),
141 TestParameter(NOT_IN_GUEST_MODE, "keyboardDeleteDrive"), 140 TestParameter(NOT_IN_GUEST_MODE, "keyboardDeleteDrive"),
142 TestParameter(IN_GUEST_MODE, "keyboardCopyDownloads"), 141 TestParameter(IN_GUEST_MODE, "keyboardCopyDownloads"),
143 TestParameter(NOT_IN_GUEST_MODE, "keyboardCopyDownloads"), 142 TestParameter(NOT_IN_GUEST_MODE, "keyboardCopyDownloads"),
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 579
581 IN_PROC_BROWSER_TEST_F(MultiProfileFileManagerBrowserTest, MAYBE_BasicDrive) { 580 IN_PROC_BROWSER_TEST_F(MultiProfileFileManagerBrowserTest, MAYBE_BasicDrive) {
582 AddAllUsers(); 581 AddAllUsers();
583 582
584 // Sanity check that normal operations work in multi-profile setting as well. 583 // Sanity check that normal operations work in multi-profile setting as well.
585 set_test_case_name("keyboardCopyDrive"); 584 set_test_case_name("keyboardCopyDrive");
586 StartTest(); 585 StartTest();
587 } 586 }
588 587
589 } // namespace file_manager 588 } // namespace file_manager
OLDNEW
« no previous file with comments | « no previous file | ui/file_manager/file_manager/background/js/test_util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698