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 973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
984 WRAPPED_INSTANTIATE_TEST_CASE_P( | 984 WRAPPED_INSTANTIATE_TEST_CASE_P( |
985 MAYBE_DefaultActionDialog, | 985 MAYBE_DefaultActionDialog, |
986 FileManagerBrowserTest, | 986 FileManagerBrowserTest, |
987 ::testing::Values( | 987 ::testing::Values( |
988 TestParameter(NOT_IN_GUEST_MODE, "defaultActionDialogOnDownloads"), | 988 TestParameter(NOT_IN_GUEST_MODE, "defaultActionDialogOnDownloads"), |
989 TestParameter(IN_GUEST_MODE, "defaultActionDialogOnDownloads"), | 989 TestParameter(IN_GUEST_MODE, "defaultActionDialogOnDownloads"), |
990 TestParameter(NOT_IN_GUEST_MODE, "defaultActionDialogOnDrive"))); | 990 TestParameter(NOT_IN_GUEST_MODE, "defaultActionDialogOnDrive"))); |
991 | 991 |
992 // Slow tests are disabled on debug build. http://crbug.com/327719 | 992 // Slow tests are disabled on debug build. http://crbug.com/327719 |
993 #if !defined(NDEBUG) | 993 #if !defined(NDEBUG) |
994 #define MAYBE_NavigationList DISABLED_NavigationList | |
995 #else | |
996 #define MAYBE_NavigationList NavigationList | |
997 #endif | |
998 WRAPPED_INSTANTIATE_TEST_CASE_P( | |
999 MAYBE_NavigationList, | |
1000 FileManagerBrowserTest, | |
1001 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, | |
1002 "traverseNavigationList"))); | |
1003 | |
1004 // Slow tests are disabled on debug build. http://crbug.com/327719 | |
1005 #if !defined(NDEBUG) | |
1006 #define MAYBE_FolderShortcuts DISABLED_FolderShortcuts | 994 #define MAYBE_FolderShortcuts DISABLED_FolderShortcuts |
1007 #else | 995 #else |
1008 #define MAYBE_FolderShortcuts FolderShortcuts | 996 #define MAYBE_FolderShortcuts FolderShortcuts |
1009 #endif | 997 #endif |
1010 WRAPPED_INSTANTIATE_TEST_CASE_P( | 998 WRAPPED_INSTANTIATE_TEST_CASE_P( |
1011 MAYBE_FolderShortcuts, | 999 MAYBE_FolderShortcuts, |
1012 FileManagerBrowserTest, | 1000 FileManagerBrowserTest, |
1013 ::testing::Values( | 1001 ::testing::Values( |
1014 TestParameter(NOT_IN_GUEST_MODE, "traverseFolderShortcuts"), | 1002 TestParameter(NOT_IN_GUEST_MODE, "traverseFolderShortcuts"), |
1015 TestParameter(NOT_IN_GUEST_MODE, "addRemoveFolderShortcuts"))); | 1003 TestParameter(NOT_IN_GUEST_MODE, "addRemoveFolderShortcuts"))); |
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1464 } | 1452 } |
1465 | 1453 |
1466 IN_PROC_BROWSER_TEST_F(GalleryBrowserTest, ExposureImageOnDrive) { | 1454 IN_PROC_BROWSER_TEST_F(GalleryBrowserTest, ExposureImageOnDrive) { |
1467 AddScript("gallery/photo_editor.js"); | 1455 AddScript("gallery/photo_editor.js"); |
1468 set_test_case_name("exposureImageOnDrive"); | 1456 set_test_case_name("exposureImageOnDrive"); |
1469 StartTest(); | 1457 StartTest(); |
1470 } | 1458 } |
1471 | 1459 |
1472 } // namespace | 1460 } // namespace |
1473 } // namespace file_manager | 1461 } // namespace file_manager |
OLD | NEW |