Chromium Code Reviews| 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 852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 863 INSTANTIATE_TEST_CASE_P( | 863 INSTANTIATE_TEST_CASE_P( |
| 864 Thumbnails, | 864 Thumbnails, |
| 865 FileManagerBrowserTest, | 865 FileManagerBrowserTest, |
| 866 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "thumbnailsDownloads"), | 866 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "thumbnailsDownloads"), |
| 867 TestParameter(IN_GUEST_MODE, "thumbnailsDownloads"))); | 867 TestParameter(IN_GUEST_MODE, "thumbnailsDownloads"))); |
| 868 | 868 |
| 869 INSTANTIATE_TEST_CASE_P( | 869 INSTANTIATE_TEST_CASE_P( |
| 870 CopyBetweenWindows, | 870 CopyBetweenWindows, |
| 871 FileManagerBrowserTest, | 871 FileManagerBrowserTest, |
| 872 ::testing::Values( | 872 ::testing::Values( |
| 873 TestParameter(NOT_IN_GUEST_MODE, "copyBetweenWindowsDriveToLocal"), | |
|
hirono
2014/05/19 04:22:49
nit: Could you please add the tests at the end of
tturchetto1
2014/05/19 20:15:46
Done.
| |
| 874 TestParameter(NOT_IN_GUEST_MODE, "copyBetweenWindowsDriveToUsb"), | |
| 873 TestParameter(NOT_IN_GUEST_MODE, "copyBetweenWindowsLocalToDrive"), | 875 TestParameter(NOT_IN_GUEST_MODE, "copyBetweenWindowsLocalToDrive"), |
| 874 TestParameter(NOT_IN_GUEST_MODE, "copyBetweenWindowsLocalToUsb"), | 876 TestParameter(NOT_IN_GUEST_MODE, "copyBetweenWindowsLocalToUsb"), |
| 875 TestParameter(NOT_IN_GUEST_MODE, "copyBetweenWindowsUsbToDrive"))); | 877 TestParameter(NOT_IN_GUEST_MODE, "copyBetweenWindowsUsbToDrive"), |
| 878 TestParameter(NOT_IN_GUEST_MODE, "copyBetweenWindowsUsbToLocal"))); | |
| 876 | 879 |
| 877 // Structure to describe an account info. | 880 // Structure to describe an account info. |
| 878 struct TestAccountInfo { | 881 struct TestAccountInfo { |
| 879 const char* const email; | 882 const char* const email; |
| 880 const char* const hash; | 883 const char* const hash; |
| 881 const char* const display_name; | 884 const char* const display_name; |
| 882 }; | 885 }; |
| 883 | 886 |
| 884 enum { | 887 enum { |
| 885 DUMMY_ACCOUNT_INDEX = 0, | 888 DUMMY_ACCOUNT_INDEX = 0, |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1060 // (bob and charlie) are added in the test. Thus the existing test verifies | 1063 // (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. | 1064 // that the feature is effectively working with lastly logged in users. |
| 1062 AddExtraUsersForStressTesting(); | 1065 AddExtraUsersForStressTesting(); |
| 1063 | 1066 |
| 1064 set_test_case_name("multiProfileVisitDesktopMenu"); | 1067 set_test_case_name("multiProfileVisitDesktopMenu"); |
| 1065 StartTest(); | 1068 StartTest(); |
| 1066 } | 1069 } |
| 1067 | 1070 |
| 1068 } // namespace | 1071 } // namespace |
| 1069 } // namespace file_manager | 1072 } // namespace file_manager |
| OLD | NEW |