| 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, | 
|  | 326                        MAYBE_ResizeImageOnDownloads) { | 
|  | 327   set_test_case_name("resizeImageOnDownloads"); | 
|  | 328   StartTest(); | 
|  | 329 } | 
|  | 330 | 
|  | 331 #if defined(DISABLE_SLOW_FILESAPP_TESTS) | 
|  | 332 #define MAYBE_ResizeImageOnDrive DISABLED_ResizeImageOnDrive | 
|  | 333 #else | 
|  | 334 #define MAYBE_ResizeImageOnDrive ResizeImageOnDrive | 
|  | 335 #endif | 
|  | 336 IN_PROC_BROWSER_TEST_F(GalleryBrowserTest, MAYBE_ResizeImageOnDrive) { | 
|  | 337   set_test_case_name("resizeImageOnDrive"); | 
|  | 338   StartTest(); | 
|  | 339 } | 
|  | 340 | 
|  | 341 #if defined(DISABLE_SLOW_FILESAPP_TESTS) | 
| 316 #define MAYBE_EnableDisableOverwriteOriginalCheckboxOnDownloads \ | 342 #define MAYBE_EnableDisableOverwriteOriginalCheckboxOnDownloads \ | 
| 317   DISABLED_EnableDisableOverwriteOriginalCheckboxOnDownloads | 343   DISABLED_EnableDisableOverwriteOriginalCheckboxOnDownloads | 
| 318 #else | 344 #else | 
| 319 #define MAYBE_EnableDisableOverwriteOriginalCheckboxOnDownloads \ | 345 #define MAYBE_EnableDisableOverwriteOriginalCheckboxOnDownloads \ | 
| 320   EnableDisableOverwriteOriginalCheckboxOnDownloads | 346   EnableDisableOverwriteOriginalCheckboxOnDownloads | 
| 321 #endif | 347 #endif | 
| 322 IN_PROC_BROWSER_TEST_F( | 348 IN_PROC_BROWSER_TEST_F( | 
| 323     GalleryBrowserTest, | 349     GalleryBrowserTest, | 
| 324     MAYBE_EnableDisableOverwriteOriginalCheckboxOnDownloads) { | 350     MAYBE_EnableDisableOverwriteOriginalCheckboxOnDownloads) { | 
| 325   set_test_case_name("enableDisableOverwriteOriginalCheckboxOnDownloads"); | 351   set_test_case_name("enableDisableOverwriteOriginalCheckboxOnDownloads"); | 
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 512 #define MAYBE_StopStartSlideshowOnDrive DISABLED_StopStartSlideshowOnDrive | 538 #define MAYBE_StopStartSlideshowOnDrive DISABLED_StopStartSlideshowOnDrive | 
| 513 #else | 539 #else | 
| 514 #define MAYBE_StopStartSlideshowOnDrive StopStartSlideshowOnDrive | 540 #define MAYBE_StopStartSlideshowOnDrive StopStartSlideshowOnDrive | 
| 515 #endif | 541 #endif | 
| 516 IN_PROC_BROWSER_TEST_F(GalleryBrowserTest, MAYBE_StopStartSlideshowOnDrive) { | 542 IN_PROC_BROWSER_TEST_F(GalleryBrowserTest, MAYBE_StopStartSlideshowOnDrive) { | 
| 517   set_test_case_name("stopStartSlideshowOnDrive"); | 543   set_test_case_name("stopStartSlideshowOnDrive"); | 
| 518   StartTest(); | 544   StartTest(); | 
| 519 } | 545 } | 
| 520 | 546 | 
| 521 }  // namespace file_manager | 547 }  // namespace file_manager | 
| OLD | NEW | 
|---|