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 #include <stddef.h> | 5 #include <stddef.h> |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
9 #include "chrome/browser/chromeos/drive/file_system_util.h" | 9 #include "chrome/browser/chromeos/drive/file_system_util.h" |
10 #include "chrome/browser/chromeos/file_manager/file_manager_browsertest_base.h" | 10 #include "chrome/browser/chromeos/file_manager/file_manager_browsertest_base.h" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 FileManagerBrowserTest, | 76 FileManagerBrowserTest, |
77 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "fileDisplayDownloads"), | 77 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "fileDisplayDownloads"), |
78 TestParameter(IN_GUEST_MODE, "fileDisplayDownloads"), | 78 TestParameter(IN_GUEST_MODE, "fileDisplayDownloads"), |
79 TestParameter(NOT_IN_GUEST_MODE, "fileDisplayDrive"), | 79 TestParameter(NOT_IN_GUEST_MODE, "fileDisplayDrive"), |
80 TestParameter(NOT_IN_GUEST_MODE, "fileDisplayMtp"), | 80 TestParameter(NOT_IN_GUEST_MODE, "fileDisplayMtp"), |
81 TestParameter(NOT_IN_GUEST_MODE, "searchNormal"), | 81 TestParameter(NOT_IN_GUEST_MODE, "searchNormal"), |
82 TestParameter(NOT_IN_GUEST_MODE, "searchCaseInsensitive"), | 82 TestParameter(NOT_IN_GUEST_MODE, "searchCaseInsensitive"), |
83 TestParameter(NOT_IN_GUEST_MODE, "searchNotFound"))); | 83 TestParameter(NOT_IN_GUEST_MODE, "searchNotFound"))); |
84 | 84 |
85 // Fails on official build. http://crbug.com/429294 | 85 // Fails on official build. http://crbug.com/429294 |
| 86 // Disabled due to flakiness. https://crbug.com/701451 |
86 #if defined(DISABLE_SLOW_FILESAPP_TESTS) || defined(OFFICIAL_BUILD) | 87 #if defined(DISABLE_SLOW_FILESAPP_TESTS) || defined(OFFICIAL_BUILD) |
87 #define MAYBE_OpenVideoFiles DISABLED_OpenVideoFiles | 88 #define MAYBE_OpenVideoFiles DISABLED_OpenVideoFiles |
88 #else | 89 #else |
89 #define MAYBE_OpenVideoFiles OpenVideoFiles | 90 #define MAYBE_OpenVideoFiles OpenVideoFiles |
90 #endif | 91 #endif |
91 WRAPPED_INSTANTIATE_TEST_CASE_P( | 92 WRAPPED_INSTANTIATE_TEST_CASE_P( |
92 MAYBE_OpenVideoFiles, | 93 DISABLED_OpenVideoFiles, |
93 FileManagerBrowserTest, | 94 FileManagerBrowserTest, |
94 ::testing::Values(TestParameter(IN_GUEST_MODE, "videoOpenDownloads"), | 95 ::testing::Values(TestParameter(IN_GUEST_MODE, "videoOpenDownloads"), |
95 TestParameter(NOT_IN_GUEST_MODE, "videoOpenDownloads"), | 96 TestParameter(NOT_IN_GUEST_MODE, "videoOpenDownloads"), |
96 TestParameter(NOT_IN_GUEST_MODE, "videoOpenDrive"))); | 97 TestParameter(NOT_IN_GUEST_MODE, "videoOpenDrive"))); |
97 | 98 |
98 // Fails on official build. http://crbug.com/429294 | 99 // Fails on official build. http://crbug.com/429294 |
99 #if defined(DISABLE_SLOW_FILESAPP_TESTS) || defined(OFFICIAL_BUILD) | 100 #if defined(DISABLE_SLOW_FILESAPP_TESTS) || defined(OFFICIAL_BUILD) |
100 #define MAYBE_OpenAudioFiles DISABLED_OpenAudioFiles | 101 #define MAYBE_OpenAudioFiles DISABLED_OpenAudioFiles |
101 #else | 102 #else |
102 #define MAYBE_OpenAudioFiles OpenAudioFiles | 103 #define MAYBE_OpenAudioFiles OpenAudioFiles |
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 | 706 |
706 IN_PROC_BROWSER_TEST_F(MultiProfileFileManagerBrowserTest, MAYBE_BasicDrive) { | 707 IN_PROC_BROWSER_TEST_F(MultiProfileFileManagerBrowserTest, MAYBE_BasicDrive) { |
707 AddAllUsers(); | 708 AddAllUsers(); |
708 | 709 |
709 // Sanity check that normal operations work in multi-profile setting as well. | 710 // Sanity check that normal operations work in multi-profile setting as well. |
710 set_test_case_name("keyboardCopyDrive"); | 711 set_test_case_name("keyboardCopyDrive"); |
711 StartTest(); | 712 StartTest(); |
712 } | 713 } |
713 | 714 |
714 } // namespace file_manager | 715 } // namespace file_manager |
OLD | NEW |