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 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1214 IN_PROC_BROWSER_TEST_F(MultiProfileFileManagerBrowserTest, MAYBE_BasicDrive) { | 1214 IN_PROC_BROWSER_TEST_F(MultiProfileFileManagerBrowserTest, MAYBE_BasicDrive) { |
1215 AddAllUsers(); | 1215 AddAllUsers(); |
1216 | 1216 |
1217 // Sanity check that normal operations work in multi-profile setting as well. | 1217 // Sanity check that normal operations work in multi-profile setting as well. |
1218 set_test_case_name("keyboardCopyDrive"); | 1218 set_test_case_name("keyboardCopyDrive"); |
1219 StartTest(); | 1219 StartTest(); |
1220 } | 1220 } |
1221 | 1221 |
1222 // Slow tests are disabled on debug build. http://crbug.com/327719 | 1222 // Slow tests are disabled on debug build. http://crbug.com/327719 |
1223 #if !defined(NDEBUG) | 1223 #if !defined(NDEBUG) |
1224 #define MAYBE_PRE_Badge DISABLED_PRE_Badge | |
1225 #define MAYBE_Badge DISABLED_Badge | |
1226 #else | |
1227 #define MAYBE_PRE_Badge PRE_Badge | |
1228 #define MAYBE_Badge Badge | |
1229 #endif | |
1230 IN_PROC_BROWSER_TEST_F(MultiProfileFileManagerBrowserTest, MAYBE_PRE_Badge) { | |
1231 AddAllUsers(); | |
1232 } | |
1233 | |
1234 IN_PROC_BROWSER_TEST_F(MultiProfileFileManagerBrowserTest, MAYBE_Badge) { | |
1235 // Test the profile badge to be correctly shown and hidden. | |
1236 set_test_case_name("multiProfileBadge"); | |
1237 StartTest(); | |
1238 } | |
1239 | |
1240 // Slow tests are disabled on debug build. http://crbug.com/327719 | |
1241 #if !defined(NDEBUG) | |
1242 #define MAYBE_PRE_VisitDesktopMenu DISABLED_PRE_VisitDesktopMenu | 1224 #define MAYBE_PRE_VisitDesktopMenu DISABLED_PRE_VisitDesktopMenu |
1243 #define MAYBE_VisitDesktopMenu DISABLED_VisitDesktopMenu | 1225 #define MAYBE_VisitDesktopMenu DISABLED_VisitDesktopMenu |
1244 #else | 1226 #else |
1245 #define MAYBE_PRE_VisitDesktopMenu PRE_VisitDesktopMenu | 1227 #define MAYBE_PRE_VisitDesktopMenu PRE_VisitDesktopMenu |
1246 #define MAYBE_VisitDesktopMenu VisitDesktopMenu | 1228 #define MAYBE_VisitDesktopMenu VisitDesktopMenu |
1247 #endif | 1229 #endif |
1248 IN_PROC_BROWSER_TEST_F(MultiProfileFileManagerBrowserTest, | 1230 IN_PROC_BROWSER_TEST_F(MultiProfileFileManagerBrowserTest, |
1249 MAYBE_PRE_VisitDesktopMenu) { | 1231 MAYBE_PRE_VisitDesktopMenu) { |
1250 AddAllUsers(); | 1232 AddAllUsers(); |
1251 } | 1233 } |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1517 } | 1499 } |
1518 | 1500 |
1519 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { | 1501 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { |
1520 AddScript("video_player/open_video_files.js"); | 1502 AddScript("video_player/open_video_files.js"); |
1521 set_test_case_name("openSingleVideoOnDrive"); | 1503 set_test_case_name("openSingleVideoOnDrive"); |
1522 StartTest(); | 1504 StartTest(); |
1523 } | 1505 } |
1524 | 1506 |
1525 } // namespace | 1507 } // namespace |
1526 } // namespace file_manager | 1508 } // namespace file_manager |
OLD | NEW |