OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "chrome/browser/chromeos/file_manager/file_manager_browsertest_base.h" | 5 #include "chrome/browser/chromeos/file_manager/file_manager_browsertest_base.h" |
6 | 6 |
7 namespace file_manager { | 7 namespace file_manager { |
8 | 8 |
9 template <GuestMode M> | 9 template <GuestMode M> |
10 class GalleryBrowserTestBase : public FileManagerBrowserTestBase { | 10 class GalleryBrowserTestBase : public FileManagerBrowserTestBase { |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 #define MAYBE_ExposureImageOnDrive DISABLED_ExposureImageOnDrive | 306 #define MAYBE_ExposureImageOnDrive DISABLED_ExposureImageOnDrive |
307 #else | 307 #else |
308 #define MAYBE_ExposureImageOnDrive ExposureImageOnDrive | 308 #define MAYBE_ExposureImageOnDrive ExposureImageOnDrive |
309 #endif | 309 #endif |
310 IN_PROC_BROWSER_TEST_F(GalleryBrowserTest, MAYBE_ExposureImageOnDrive) { | 310 IN_PROC_BROWSER_TEST_F(GalleryBrowserTest, MAYBE_ExposureImageOnDrive) { |
311 set_test_case_name("exposureImageOnDrive"); | 311 set_test_case_name("exposureImageOnDrive"); |
312 StartTest(); | 312 StartTest(); |
313 } | 313 } |
314 | 314 |
315 #if defined(DISABLE_SLOW_FILESAPP_TESTS) | 315 #if defined(DISABLE_SLOW_FILESAPP_TESTS) |
| 316 #define MAYBE_ResizeImageOnDownloads DISABLED_ResizeImageOnDownloads |
| 317 #else |
| 318 #define MAYBE_ResizeImageOnDownloads ResizeImageOnDownloads |
| 319 #endif |
| 320 IN_PROC_BROWSER_TEST_F(GalleryBrowserTest, MAYBE_ResizeImageOnDownloads) { |
| 321 set_test_case_name("resizeImageOnDownloads"); |
| 322 StartTest(); |
| 323 } |
| 324 |
| 325 IN_PROC_BROWSER_TEST_F(GalleryBrowserTestInGuestMode, ResizeImageOnDownloads) { |
| 326 set_test_case_name("resizeImageOnDownloads"); |
| 327 StartTest(); |
| 328 } |
| 329 |
| 330 #if defined(DISABLE_SLOW_FILESAPP_TESTS) |
| 331 #define MAYBE_ResizeImageOnDrive DISABLED_ResizeImageOnDrive |
| 332 #else |
| 333 #define MAYBE_ResizeImageOnDrive ResizeImageOnDrive |
| 334 #endif |
| 335 IN_PROC_BROWSER_TEST_F(GalleryBrowserTest, MAYBE_ResizeImageOnDrive) { |
| 336 set_test_case_name("resizeImageOnDrive"); |
| 337 StartTest(); |
| 338 } |
| 339 |
| 340 #if defined(DISABLE_SLOW_FILESAPP_TESTS) |
316 #define MAYBE_EnableDisableOverwriteOriginalCheckboxOnDownloads \ | 341 #define MAYBE_EnableDisableOverwriteOriginalCheckboxOnDownloads \ |
317 DISABLED_EnableDisableOverwriteOriginalCheckboxOnDownloads | 342 DISABLED_EnableDisableOverwriteOriginalCheckboxOnDownloads |
318 #else | 343 #else |
319 #define MAYBE_EnableDisableOverwriteOriginalCheckboxOnDownloads \ | 344 #define MAYBE_EnableDisableOverwriteOriginalCheckboxOnDownloads \ |
320 EnableDisableOverwriteOriginalCheckboxOnDownloads | 345 EnableDisableOverwriteOriginalCheckboxOnDownloads |
321 #endif | 346 #endif |
322 IN_PROC_BROWSER_TEST_F( | 347 IN_PROC_BROWSER_TEST_F( |
323 GalleryBrowserTest, | 348 GalleryBrowserTest, |
324 MAYBE_EnableDisableOverwriteOriginalCheckboxOnDownloads) { | 349 MAYBE_EnableDisableOverwriteOriginalCheckboxOnDownloads) { |
325 set_test_case_name("enableDisableOverwriteOriginalCheckboxOnDownloads"); | 350 set_test_case_name("enableDisableOverwriteOriginalCheckboxOnDownloads"); |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 #define MAYBE_StopStartSlideshowOnDrive DISABLED_StopStartSlideshowOnDrive | 537 #define MAYBE_StopStartSlideshowOnDrive DISABLED_StopStartSlideshowOnDrive |
513 #else | 538 #else |
514 #define MAYBE_StopStartSlideshowOnDrive StopStartSlideshowOnDrive | 539 #define MAYBE_StopStartSlideshowOnDrive StopStartSlideshowOnDrive |
515 #endif | 540 #endif |
516 IN_PROC_BROWSER_TEST_F(GalleryBrowserTest, MAYBE_StopStartSlideshowOnDrive) { | 541 IN_PROC_BROWSER_TEST_F(GalleryBrowserTest, MAYBE_StopStartSlideshowOnDrive) { |
517 set_test_case_name("stopStartSlideshowOnDrive"); | 542 set_test_case_name("stopStartSlideshowOnDrive"); |
518 StartTest(); | 543 StartTest(); |
519 } | 544 } |
520 | 545 |
521 } // namespace file_manager | 546 } // namespace file_manager |
OLD | NEW |