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 1301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1312 StartTest(); | 1312 StartTest(); |
1313 } | 1313 } |
1314 | 1314 |
1315 IN_PROC_BROWSER_TEST_F(GalleryBrowserTest, TraverseSlideImagesOnDrive) { | 1315 IN_PROC_BROWSER_TEST_F(GalleryBrowserTest, TraverseSlideImagesOnDrive) { |
1316 AddScript("gallery/slide_mode.js"); | 1316 AddScript("gallery/slide_mode.js"); |
1317 set_test_case_name("traverseSlideImagesOnDrive"); | 1317 set_test_case_name("traverseSlideImagesOnDrive"); |
1318 StartTest(); | 1318 StartTest(); |
1319 } | 1319 } |
1320 | 1320 |
1321 IN_PROC_BROWSER_TEST_F(GalleryBrowserTest, RenameImageOnDownloads) { | 1321 IN_PROC_BROWSER_TEST_F(GalleryBrowserTest, RenameImageOnDownloads) { |
1322 AddScript("gallery/test_util.js"); | |
1323 AddScript("gallery/slide_mode.js"); | 1322 AddScript("gallery/slide_mode.js"); |
1324 set_test_case_name("renameImageOnDownloads"); | 1323 set_test_case_name("renameImageOnDownloads"); |
1325 StartTest(); | 1324 StartTest(); |
1326 } | 1325 } |
1327 | 1326 |
1328 IN_PROC_BROWSER_TEST_F(GalleryBrowserTestInGuestMode, | 1327 IN_PROC_BROWSER_TEST_F(GalleryBrowserTestInGuestMode, |
1329 RenameImageOnDownloads) { | 1328 RenameImageOnDownloads) { |
1330 AddScript("gallery/test_util.js"); | |
1331 AddScript("gallery/slide_mode.js"); | 1329 AddScript("gallery/slide_mode.js"); |
1332 set_test_case_name("renameImageOnDownloads"); | 1330 set_test_case_name("renameImageOnDownloads"); |
1333 StartTest(); | 1331 StartTest(); |
1334 } | 1332 } |
1335 | 1333 |
1336 IN_PROC_BROWSER_TEST_F(GalleryBrowserTest, RenameImageOnDrive) { | 1334 IN_PROC_BROWSER_TEST_F(GalleryBrowserTest, RenameImageOnDrive) { |
1337 AddScript("gallery/test_util.js"); | |
1338 AddScript("gallery/slide_mode.js"); | 1335 AddScript("gallery/slide_mode.js"); |
1339 set_test_case_name("renameImageOnDrive"); | 1336 set_test_case_name("renameImageOnDrive"); |
1340 StartTest(); | 1337 StartTest(); |
1341 } | 1338 } |
1342 | 1339 |
| 1340 IN_PROC_BROWSER_TEST_F(GalleryBrowserTest, DeleteImageOnDownloads) { |
| 1341 AddScript("gallery/slide_mode.js"); |
| 1342 set_test_case_name("deleteImageOnDownloads"); |
| 1343 StartTest(); |
| 1344 } |
| 1345 |
| 1346 IN_PROC_BROWSER_TEST_F(GalleryBrowserTestInGuestMode, |
| 1347 DeleteImageOnDownloads) { |
| 1348 AddScript("gallery/slide_mode.js"); |
| 1349 set_test_case_name("deleteImageOnDownloads"); |
| 1350 StartTest(); |
| 1351 } |
| 1352 |
| 1353 IN_PROC_BROWSER_TEST_F(GalleryBrowserTest, DeleteImageOnDrive) { |
| 1354 AddScript("gallery/slide_mode.js"); |
| 1355 set_test_case_name("deleteImageOnDrive"); |
| 1356 StartTest(); |
| 1357 } |
| 1358 |
1343 } // namespace | 1359 } // namespace |
1344 } // namespace file_manager | 1360 } // namespace file_manager |
OLD | NEW |