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

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

Issue 303503004: Change directory if the active list item on navigation list is changed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add browser tests for folder shortcuts. Created 6 years, 6 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
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 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 ::testing::Values( 853 ::testing::Values(
854 TestParameter(NOT_IN_GUEST_MODE, "executeDefaultTaskOnDrive"))); 854 TestParameter(NOT_IN_GUEST_MODE, "executeDefaultTaskOnDrive")));
855 855
856 INSTANTIATE_TEST_CASE_P( 856 INSTANTIATE_TEST_CASE_P(
857 NavigationList, 857 NavigationList,
858 FileManagerBrowserTest, 858 FileManagerBrowserTest,
859 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, 859 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE,
860 "traverseNavigationList"))); 860 "traverseNavigationList")));
861 861
862 INSTANTIATE_TEST_CASE_P( 862 INSTANTIATE_TEST_CASE_P(
863 FolderShortcuts,
864 FileManagerBrowserTest,
865 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE,
866 "traverseFolderShortcuts")));
867
868 INSTANTIATE_TEST_CASE_P(
863 TabIndex, 869 TabIndex,
864 FileManagerBrowserTest, 870 FileManagerBrowserTest,
865 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "searchBoxFocus"))); 871 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "searchBoxFocus")));
866 872
867 INSTANTIATE_TEST_CASE_P( 873 INSTANTIATE_TEST_CASE_P(
868 Thumbnails, 874 Thumbnails,
869 FileManagerBrowserTest, 875 FileManagerBrowserTest,
870 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "thumbnailsDownloads"), 876 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "thumbnailsDownloads"),
871 TestParameter(IN_GUEST_MODE, "thumbnailsDownloads"))); 877 TestParameter(IN_GUEST_MODE, "thumbnailsDownloads")));
872 878
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
1063 // (bob and charlie) are added in the test. Thus the existing test verifies 1069 // (bob and charlie) are added in the test. Thus the existing test verifies
1064 // that the feature is effectively working with lastly logged in users. 1070 // that the feature is effectively working with lastly logged in users.
1065 AddExtraUsersForStressTesting(); 1071 AddExtraUsersForStressTesting();
1066 1072
1067 set_test_case_name("multiProfileVisitDesktopMenu"); 1073 set_test_case_name("multiProfileVisitDesktopMenu");
1068 StartTest(); 1074 StartTest();
1069 } 1075 }
1070 1076
1071 } // namespace 1077 } // namespace
1072 } // namespace file_manager 1078 } // namespace file_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698