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

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: Address comments 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
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/file_manager_browsertest/test_cases.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 IN_PROC_BROWSER_TEST_P(FileManagerBrowserLocalTest, TestFileDisplay) { 489 IN_PROC_BROWSER_TEST_P(FileManagerBrowserLocalTest, TestFileDisplay) {
490 DoTestFileDisplay(&volume_); 490 DoTestFileDisplay(&volume_);
491 } 491 }
492 492
493 IN_PROC_BROWSER_TEST_P(FileManagerBrowserLocalTest, TestGalleryOpen) { 493 IN_PROC_BROWSER_TEST_P(FileManagerBrowserLocalTest, TestGalleryOpen) {
494 ResultCatcher catcher; 494 ResultCatcher catcher;
495 ASSERT_NO_FATAL_FAILURE(StartTest("galleryOpenDownloads")); 495 ASSERT_NO_FATAL_FAILURE(StartTest("galleryOpenDownloads"));
496 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 496 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
497 } 497 }
498 498
499 IN_PROC_BROWSER_TEST_P(FileManagerBrowserLocalTest, TestKeyboardDelete) {
500 ResultCatcher catcher;
501 ASSERT_NO_FATAL_FAILURE(StartTest("keyboardDeleteDownloads"));
502 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
503 }
504
499 // Disabled temporarily since fails on Linux Chromium OS ASAN Tests (2). 505 // Disabled temporarily since fails on Linux Chromium OS ASAN Tests (2).
500 // TODO(mtomasz): crbug.com/243611. 506 // TODO(mtomasz): crbug.com/243611.
501 IN_PROC_BROWSER_TEST_P(FileManagerBrowserDriveTest, DISABLED_TestGalleryOpen) { 507 IN_PROC_BROWSER_TEST_P(FileManagerBrowserDriveTest, DISABLED_TestGalleryOpen) {
502 ResultCatcher catcher; 508 ResultCatcher catcher;
503 ASSERT_NO_FATAL_FAILURE(StartTest("galleryOpenDrive")); 509 ASSERT_NO_FATAL_FAILURE(StartTest("galleryOpenDrive"));
504 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 510 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
505 } 511 }
506 512
507 IN_PROC_BROWSER_TEST_P(FileManagerBrowserLocalTest, TestAudioOpen) { 513 IN_PROC_BROWSER_TEST_P(FileManagerBrowserLocalTest, TestAudioOpen) {
508 ResultCatcher catcher; 514 ResultCatcher catcher;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 } 606 }
601 607
602 IN_PROC_BROWSER_TEST_P(FileManagerBrowserTransferTest, 608 IN_PROC_BROWSER_TEST_P(FileManagerBrowserTransferTest,
603 TransferFromOfflineToDrive) { 609 TransferFromOfflineToDrive) {
604 ResultCatcher catcher; 610 ResultCatcher catcher;
605 ASSERT_NO_FATAL_FAILURE(StartTest("transferFromOfflineToDrive")); 611 ASSERT_NO_FATAL_FAILURE(StartTest("transferFromOfflineToDrive"));
606 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 612 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
607 } 613 }
608 614
609 } // namespace 615 } // namespace
OLDNEW
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/file_manager_browsertest/test_cases.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698