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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 #define MAYBE_OpenAudioFiles OpenAudioFiles | 114 #define MAYBE_OpenAudioFiles OpenAudioFiles |
115 #endif | 115 #endif |
116 WRAPPED_INSTANTIATE_TEST_CASE_P( | 116 WRAPPED_INSTANTIATE_TEST_CASE_P( |
117 MAYBE_OpenAudioFiles, | 117 MAYBE_OpenAudioFiles, |
118 FileManagerBrowserTest, | 118 FileManagerBrowserTest, |
119 ::testing::Values( | 119 ::testing::Values( |
120 TestParameter(IN_GUEST_MODE, "audioOpenDownloads"), | 120 TestParameter(IN_GUEST_MODE, "audioOpenDownloads"), |
121 TestParameter(NOT_IN_GUEST_MODE, "audioOpenDownloads"), | 121 TestParameter(NOT_IN_GUEST_MODE, "audioOpenDownloads"), |
122 TestParameter(NOT_IN_GUEST_MODE, "audioOpenDrive"), | 122 TestParameter(NOT_IN_GUEST_MODE, "audioOpenDrive"), |
123 TestParameter(NOT_IN_GUEST_MODE, "audioAutoAdvanceDrive"), | 123 TestParameter(NOT_IN_GUEST_MODE, "audioAutoAdvanceDrive"), |
124 TestParameter(NOT_IN_GUEST_MODE, "audioRepeatSingleFileDrive"), | 124 TestParameter(NOT_IN_GUEST_MODE, "audioRepeatAllModeSingleFileDrive"), |
125 TestParameter(NOT_IN_GUEST_MODE, "audioNoRepeatSingleFileDrive"), | 125 TestParameter(NOT_IN_GUEST_MODE, "audioNoRepeatModeSingleFileDrive"), |
126 TestParameter(NOT_IN_GUEST_MODE, "audioRepeatMultipleFileDrive"), | 126 TestParameter(NOT_IN_GUEST_MODE, "audioRepeatOneModeSingleFileDrive"), |
127 TestParameter(NOT_IN_GUEST_MODE, "audioNoRepeatMultipleFileDrive"))); | 127 TestParameter(NOT_IN_GUEST_MODE, "audioRepeatAllModeMultipleFileDrive"), |
| 128 TestParameter(NOT_IN_GUEST_MODE, "audioNoRepeatModeMultipleFileDrive"), |
| 129 TestParameter(NOT_IN_GUEST_MODE, |
| 130 "audioRepeatOneModeMultipleFileDrive"))); |
128 | 131 |
129 // Fails on official build. http://crbug.com/429294 | 132 // Fails on official build. http://crbug.com/429294 |
130 #if defined(DISABLE_SLOW_FILESAPP_TESTS) || defined(OFFICIAL_BUILD) | 133 #if defined(DISABLE_SLOW_FILESAPP_TESTS) || defined(OFFICIAL_BUILD) |
131 #define MAYBE_OpenImageFiles DISABLED_OpenImageFiles | 134 #define MAYBE_OpenImageFiles DISABLED_OpenImageFiles |
132 #else | 135 #else |
133 #define MAYBE_OpenImageFiles OpenImageFiles | 136 #define MAYBE_OpenImageFiles OpenImageFiles |
134 #endif | 137 #endif |
135 WRAPPED_INSTANTIATE_TEST_CASE_P( | 138 WRAPPED_INSTANTIATE_TEST_CASE_P( |
136 MAYBE_OpenImageFiles, | 139 MAYBE_OpenImageFiles, |
137 FileManagerBrowserTest, | 140 FileManagerBrowserTest, |
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 | 717 |
715 IN_PROC_BROWSER_TEST_F(MultiProfileFileManagerBrowserTest, MAYBE_BasicDrive) { | 718 IN_PROC_BROWSER_TEST_F(MultiProfileFileManagerBrowserTest, MAYBE_BasicDrive) { |
716 AddAllUsers(); | 719 AddAllUsers(); |
717 | 720 |
718 // Sanity check that normal operations work in multi-profile setting as well. | 721 // Sanity check that normal operations work in multi-profile setting as well. |
719 set_test_case_name("keyboardCopyDrive"); | 722 set_test_case_name("keyboardCopyDrive"); |
720 StartTest(); | 723 StartTest(); |
721 } | 724 } |
722 | 725 |
723 } // namespace file_manager | 726 } // namespace file_manager |
OLD | NEW |