Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/file_manager_browsertest.cc

Issue 15919006: Files.app: Test local delete and directory delete (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 IN_PROC_BROWSER_TEST_P(FileManagerBrowserLocalTest, TestFileDisplay) { 484 IN_PROC_BROWSER_TEST_P(FileManagerBrowserLocalTest, TestFileDisplay) {
485 DoTestFileDisplay(&volume_); 485 DoTestFileDisplay(&volume_);
486 } 486 }
487 487
488 IN_PROC_BROWSER_TEST_P(FileManagerBrowserLocalTest, TestGalleryOpen) { 488 IN_PROC_BROWSER_TEST_P(FileManagerBrowserLocalTest, TestGalleryOpen) {
489 ResultCatcher catcher; 489 ResultCatcher catcher;
490 ASSERT_NO_FATAL_FAILURE(StartTest("galleryOpenDownloads")); 490 ASSERT_NO_FATAL_FAILURE(StartTest("galleryOpenDownloads"));
491 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 491 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
492 } 492 }
493 493
494 IN_PROC_BROWSER_TEST_P(FileManagerBrowserLocalTest, TestKeyboardDelete) {
mtomasz 2013/05/28 11:07:17 How about drive? Removing on drive is much more co
hashimoto 2013/05/29 06:26:26 FileManagerBrowserDriveTest has TestKeyboardDelete
495 ResultCatcher catcher;
496 ASSERT_NO_FATAL_FAILURE(StartTest("keyboardDeleteDownloads"));
497 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
498 }
499
494 // Disabled temporarily since fails on Linux Chromium OS ASAN Tests (2). 500 // Disabled temporarily since fails on Linux Chromium OS ASAN Tests (2).
495 // TODO(mtomasz): crbug.com/243611. 501 // TODO(mtomasz): crbug.com/243611.
496 IN_PROC_BROWSER_TEST_P(FileManagerBrowserDriveTest, DISABLED_TestGalleryOpen) { 502 IN_PROC_BROWSER_TEST_P(FileManagerBrowserDriveTest, DISABLED_TestGalleryOpen) {
497 ResultCatcher catcher; 503 ResultCatcher catcher;
498 ASSERT_NO_FATAL_FAILURE(StartTest("galleryOpenDrive")); 504 ASSERT_NO_FATAL_FAILURE(StartTest("galleryOpenDrive"));
499 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 505 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
500 } 506 }
501 507
502 IN_PROC_BROWSER_TEST_P(FileManagerBrowserDriveTest, TestKeyboardCopy) { 508 IN_PROC_BROWSER_TEST_P(FileManagerBrowserDriveTest, TestKeyboardCopy) {
503 ResultCatcher catcher; 509 ResultCatcher catcher;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 } 591 }
586 592
587 IN_PROC_BROWSER_TEST_P(FileManagerBrowserTransferTest, 593 IN_PROC_BROWSER_TEST_P(FileManagerBrowserTransferTest,
588 TransferFromOfflineToDrive) { 594 TransferFromOfflineToDrive) {
589 ResultCatcher catcher; 595 ResultCatcher catcher;
590 ASSERT_NO_FATAL_FAILURE(StartTest("transferFromOfflineToDrive")); 596 ASSERT_NO_FATAL_FAILURE(StartTest("transferFromOfflineToDrive"));
591 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 597 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
592 } 598 }
593 599
594 } // namespace 600 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698