| OLD | NEW |
| 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 861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 872 FileManagerBrowserTest, | 872 FileManagerBrowserTest, |
| 873 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "thumbnailsDownloads"), | 873 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "thumbnailsDownloads"), |
| 874 TestParameter(IN_GUEST_MODE, "thumbnailsDownloads"))); | 874 TestParameter(IN_GUEST_MODE, "thumbnailsDownloads"))); |
| 875 | 875 |
| 876 INSTANTIATE_TEST_CASE_P( | 876 INSTANTIATE_TEST_CASE_P( |
| 877 CopyBetweenWindows, | 877 CopyBetweenWindows, |
| 878 FileManagerBrowserTest, | 878 FileManagerBrowserTest, |
| 879 ::testing::Values( | 879 ::testing::Values( |
| 880 TestParameter(NOT_IN_GUEST_MODE, "copyBetweenWindowsLocalToDrive"), | 880 TestParameter(NOT_IN_GUEST_MODE, "copyBetweenWindowsLocalToDrive"), |
| 881 TestParameter(NOT_IN_GUEST_MODE, "copyBetweenWindowsLocalToUsb"), | 881 TestParameter(NOT_IN_GUEST_MODE, "copyBetweenWindowsLocalToUsb"), |
| 882 TestParameter(NOT_IN_GUEST_MODE, "copyBetweenWindowsUsbToDrive"))); | 882 TestParameter(NOT_IN_GUEST_MODE, "copyBetweenWindowsUsbToDrive"), |
| 883 TestParameter(NOT_IN_GUEST_MODE, "copyBetweenWindowsDriveToLocal"), |
| 884 TestParameter(NOT_IN_GUEST_MODE, "copyBetweenWindowsDriveToUsb"), |
| 885 TestParameter(NOT_IN_GUEST_MODE, "copyBetweenWindowsUsbToLocal"))); |
| 883 | 886 |
| 884 // Structure to describe an account info. | 887 // Structure to describe an account info. |
| 885 struct TestAccountInfo { | 888 struct TestAccountInfo { |
| 886 const char* const email; | 889 const char* const email; |
| 887 const char* const hash; | 890 const char* const hash; |
| 888 const char* const display_name; | 891 const char* const display_name; |
| 889 }; | 892 }; |
| 890 | 893 |
| 891 enum { | 894 enum { |
| 892 DUMMY_ACCOUNT_INDEX = 0, | 895 DUMMY_ACCOUNT_INDEX = 0, |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1064 // (bob and charlie) are added in the test. Thus the existing test verifies | 1067 // (bob and charlie) are added in the test. Thus the existing test verifies |
| 1065 // that the feature is effectively working with lastly logged in users. | 1068 // that the feature is effectively working with lastly logged in users. |
| 1066 AddExtraUsersForStressTesting(); | 1069 AddExtraUsersForStressTesting(); |
| 1067 | 1070 |
| 1068 set_test_case_name("multiProfileVisitDesktopMenu"); | 1071 set_test_case_name("multiProfileVisitDesktopMenu"); |
| 1069 StartTest(); | 1072 StartTest(); |
| 1070 } | 1073 } |
| 1071 | 1074 |
| 1072 } // namespace | 1075 } // namespace |
| 1073 } // namespace file_manager | 1076 } // namespace file_manager |
| OLD | NEW |