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

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

Issue 1011663002: [Files.app] Add tests of opening Gallery from Files.app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | ui/file_manager/integration_tests/file_manager/background.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 850 matching lines...) Expand 10 before | Expand all | Expand 10 after
861 TestParameter(IN_GUEST_MODE, "audioOpenDownloads"), 861 TestParameter(IN_GUEST_MODE, "audioOpenDownloads"),
862 TestParameter(NOT_IN_GUEST_MODE, "audioOpenDownloads"), 862 TestParameter(NOT_IN_GUEST_MODE, "audioOpenDownloads"),
863 TestParameter(NOT_IN_GUEST_MODE, "audioOpenDrive"), 863 TestParameter(NOT_IN_GUEST_MODE, "audioOpenDrive"),
864 TestParameter(NOT_IN_GUEST_MODE, "audioAutoAdvanceDrive"), 864 TestParameter(NOT_IN_GUEST_MODE, "audioAutoAdvanceDrive"),
865 TestParameter(NOT_IN_GUEST_MODE, "audioRepeatSingleFileDrive"), 865 TestParameter(NOT_IN_GUEST_MODE, "audioRepeatSingleFileDrive"),
866 TestParameter(NOT_IN_GUEST_MODE, "audioNoRepeatSingleFileDrive"), 866 TestParameter(NOT_IN_GUEST_MODE, "audioNoRepeatSingleFileDrive"),
867 TestParameter(NOT_IN_GUEST_MODE, "audioRepeatMultipleFileDrive"), 867 TestParameter(NOT_IN_GUEST_MODE, "audioRepeatMultipleFileDrive"),
868 TestParameter(NOT_IN_GUEST_MODE, "audioNoRepeatMultipleFileDrive"))); 868 TestParameter(NOT_IN_GUEST_MODE, "audioNoRepeatMultipleFileDrive")));
869 869
870 // Slow tests are disabled on debug build. http://crbug.com/327719 870 // Slow tests are disabled on debug build. http://crbug.com/327719
871 // Fails on official build. http://crbug.com/429294
872 #if !defined(NDEBUG) || defined(OFFICIAL_BUILD)
873 #define MAYBE_OpenImageFiles DISABLED_OpenImageFiles
874 #else
875 #define MAYBE_OpenImageFiles OpenImageFiles
876 #endif
877 WRAPPED_INSTANTIATE_TEST_CASE_P(
878 MAYBE_OpenImageFiles,
879 FileManagerBrowserTest,
880 ::testing::Values(TestParameter(IN_GUEST_MODE, "imageOpenDownloads"),
881 TestParameter(NOT_IN_GUEST_MODE, "imageOpenDownloads"),
882 TestParameter(NOT_IN_GUEST_MODE, "imageOpenDrive")));
883
884 // Slow tests are disabled on debug build. http://crbug.com/327719
871 #if !defined(NDEBUG) || defined(OFFICIAL_BUILD) 885 #if !defined(NDEBUG) || defined(OFFICIAL_BUILD)
872 #define MAYBE_CreateNewFolder DISABLED_CreateNewFolder 886 #define MAYBE_CreateNewFolder DISABLED_CreateNewFolder
873 #else 887 #else
874 #define MAYBE_CreateNewFolder CreateNewFolder 888 #define MAYBE_CreateNewFolder CreateNewFolder
875 #endif 889 #endif
876 WRAPPED_INSTANTIATE_TEST_CASE_P( 890 WRAPPED_INSTANTIATE_TEST_CASE_P(
877 MAYBE_CreateNewFolder, 891 MAYBE_CreateNewFolder,
878 FileManagerBrowserTest, 892 FileManagerBrowserTest,
879 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, 893 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE,
880 "createNewFolderAfterSelectFile"), 894 "createNewFolderAfterSelectFile"),
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
1459 StartTest(); 1473 StartTest();
1460 } 1474 }
1461 1475
1462 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { 1476 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) {
1463 set_test_case_name("openSingleVideoOnDrive"); 1477 set_test_case_name("openSingleVideoOnDrive");
1464 StartTest(); 1478 StartTest();
1465 } 1479 }
1466 1480
1467 } // namespace 1481 } // namespace
1468 } // namespace file_manager 1482 } // namespace file_manager
OLDNEW
« no previous file with comments | « no previous file | ui/file_manager/integration_tests/file_manager/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698