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

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

Issue 230073002: Files.app: Reland r261616: Add a test to rename a file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix a test. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/resources/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 // 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 749 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 "keyboardDeleteDownloads"), 760 "keyboardDeleteDownloads"),
761 TestParameter(NOT_IN_GUEST_MODE, "keyboardDeleteDrive"), 761 TestParameter(NOT_IN_GUEST_MODE, "keyboardDeleteDrive"),
762 TestParameter(IN_GUEST_MODE, "keyboardCopyDownloads"), 762 TestParameter(IN_GUEST_MODE, "keyboardCopyDownloads"),
763 TestParameter(NOT_IN_GUEST_MODE, "keyboardCopyDownloads"), 763 TestParameter(NOT_IN_GUEST_MODE, "keyboardCopyDownloads"),
764 TestParameter(NOT_IN_GUEST_MODE, "keyboardCopyDrive"), 764 TestParameter(NOT_IN_GUEST_MODE, "keyboardCopyDrive"),
765 TestParameter(IN_GUEST_MODE, 765 TestParameter(IN_GUEST_MODE,
766 "createNewFolderDownloads"), 766 "createNewFolderDownloads"),
767 TestParameter(NOT_IN_GUEST_MODE, 767 TestParameter(NOT_IN_GUEST_MODE,
768 "createNewFolderDownloads"), 768 "createNewFolderDownloads"),
769 TestParameter(NOT_IN_GUEST_MODE, 769 TestParameter(NOT_IN_GUEST_MODE,
770 "createNewFolderDrive"))); 770 "createNewFolderDrive"),
771 TestParameter(IN_GUEST_MODE,
772 "renameFileDownloads"),
773 TestParameter(NOT_IN_GUEST_MODE,
774 "renameFileDownloads"),
775 TestParameter(NOT_IN_GUEST_MODE,
776 "renameFileDrive")));
771 777
772 INSTANTIATE_TEST_CASE_P( 778 INSTANTIATE_TEST_CASE_P(
773 DriveSpecific, 779 DriveSpecific,
774 FileManagerBrowserTest, 780 FileManagerBrowserTest,
775 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "openSidebarRecent"), 781 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "openSidebarRecent"),
776 TestParameter(NOT_IN_GUEST_MODE, "openSidebarOffline"), 782 TestParameter(NOT_IN_GUEST_MODE, "openSidebarOffline"),
777 TestParameter(NOT_IN_GUEST_MODE, 783 TestParameter(NOT_IN_GUEST_MODE,
778 "openSidebarSharedWithMe"), 784 "openSidebarSharedWithMe"),
779 TestParameter(NOT_IN_GUEST_MODE, "autocomplete"))); 785 TestParameter(NOT_IN_GUEST_MODE, "autocomplete")));
780 786
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
1060 // (bob and charlie) are added in the test. Thus the existing test verifies 1066 // (bob and charlie) are added in the test. Thus the existing test verifies
1061 // that the feature is effectively working with lastly logged in users. 1067 // that the feature is effectively working with lastly logged in users.
1062 AddExtraUsersForStressTesting(); 1068 AddExtraUsersForStressTesting();
1063 1069
1064 set_test_case_name("multiProfileVisitDesktopMenu"); 1070 set_test_case_name("multiProfileVisitDesktopMenu");
1065 StartTest(); 1071 StartTest();
1066 } 1072 }
1067 1073
1068 } // namespace 1074 } // namespace
1069 } // namespace file_manager 1075 } // namespace file_manager
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/background/js/test_util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698