| 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 // 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 812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 823 #define MAYBE_FileDisplay DISABLED_FileDisplay | 823 #define MAYBE_FileDisplay DISABLED_FileDisplay |
| 824 #else | 824 #else |
| 825 #define MAYBE_FileDisplay FileDisplay | 825 #define MAYBE_FileDisplay FileDisplay |
| 826 #endif | 826 #endif |
| 827 WRAPPED_INSTANTIATE_TEST_CASE_P( | 827 WRAPPED_INSTANTIATE_TEST_CASE_P( |
| 828 MAYBE_FileDisplay, | 828 MAYBE_FileDisplay, |
| 829 FileManagerBrowserTest, | 829 FileManagerBrowserTest, |
| 830 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "fileDisplayDownloads"), | 830 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "fileDisplayDownloads"), |
| 831 TestParameter(IN_GUEST_MODE, "fileDisplayDownloads"), | 831 TestParameter(IN_GUEST_MODE, "fileDisplayDownloads"), |
| 832 TestParameter(NOT_IN_GUEST_MODE, "fileDisplayDrive"), | 832 TestParameter(NOT_IN_GUEST_MODE, "fileDisplayDrive"), |
| 833 TestParameter(NOT_IN_GUEST_MODE, "fileDisplayMtp"))); | 833 TestParameter(NOT_IN_GUEST_MODE, "fileDisplayMtp"), |
| 834 TestParameter(NOT_IN_GUEST_MODE, "searchNormal"), |
| 835 TestParameter(NOT_IN_GUEST_MODE, "searchCaseInsensitive"), |
| 836 TestParameter(NOT_IN_GUEST_MODE, "searchNotFound"))); |
| 834 | 837 |
| 835 // Slow tests are disabled on debug build. http://crbug.com/327719 | 838 // Slow tests are disabled on debug build. http://crbug.com/327719 |
| 836 // Fails on official build. http://crbug.com/429294 | 839 // Fails on official build. http://crbug.com/429294 |
| 837 // Disabled under MSAN as well. http://crbug.com/468980. | 840 // Disabled under MSAN as well. http://crbug.com/468980. |
| 838 #if !defined(NDEBUG) || defined(OFFICIAL_BUILD) || defined(MEMORY_SANITIZER) | 841 #if !defined(NDEBUG) || defined(OFFICIAL_BUILD) || defined(MEMORY_SANITIZER) |
| 839 #define MAYBE_OpenVideoFiles DISABLED_OpenVideoFiles | 842 #define MAYBE_OpenVideoFiles DISABLED_OpenVideoFiles |
| 840 #else | 843 #else |
| 841 #define MAYBE_OpenVideoFiles OpenVideoFiles | 844 #define MAYBE_OpenVideoFiles OpenVideoFiles |
| 842 #endif | 845 #endif |
| 843 WRAPPED_INSTANTIATE_TEST_CASE_P( | 846 WRAPPED_INSTANTIATE_TEST_CASE_P( |
| (...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1517 StartTest(); | 1520 StartTest(); |
| 1518 } | 1521 } |
| 1519 | 1522 |
| 1520 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { | 1523 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { |
| 1521 set_test_case_name("openSingleVideoOnDrive"); | 1524 set_test_case_name("openSingleVideoOnDrive"); |
| 1522 StartTest(); | 1525 StartTest(); |
| 1523 } | 1526 } |
| 1524 | 1527 |
| 1525 } // namespace | 1528 } // namespace |
| 1526 } // namespace file_manager | 1529 } // namespace file_manager |
| OLD | NEW |