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

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

Issue 14577013: Files.app: Bring back the offline feature. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Brought back tests for the offline volume. Created 7 years, 7 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
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 797 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 DoTestKeyboardDelete(&volume_); 808 DoTestKeyboardDelete(&volume_);
809 } 809 }
810 810
811 IN_PROC_BROWSER_TEST_P(FileManagerBrowserDriveTest, TestOpenRecent) { 811 IN_PROC_BROWSER_TEST_P(FileManagerBrowserDriveTest, TestOpenRecent) {
812 PrepareVolume(); 812 PrepareVolume();
813 ResultCatcher catcher; 813 ResultCatcher catcher;
814 StartTest("openSidebarRecent"); 814 StartTest("openSidebarRecent");
815 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 815 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
816 } 816 }
817 817
818 // TODO(hirono): Bring back the offline feature. http://crbug.com/238545 818 IN_PROC_BROWSER_TEST_P(FileManagerBrowserDriveTest, TestOpenOffline) {
819 IN_PROC_BROWSER_TEST_P(FileManagerBrowserDriveTest, DISABLED_TestOpenOffline) {
820 PrepareVolume(); 819 PrepareVolume();
821 ResultCatcher catcher; 820 ResultCatcher catcher;
822 StartTest("openSidebarOffline"); 821 StartTest("openSidebarOffline");
823 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 822 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
824 } 823 }
825 824
826 IN_PROC_BROWSER_TEST_P(FileManagerBrowserDriveTest, TestOpenSharedWithMe) { 825 IN_PROC_BROWSER_TEST_P(FileManagerBrowserDriveTest, TestOpenSharedWithMe) {
827 PrepareVolume(); 826 PrepareVolume();
828 ResultCatcher catcher; 827 ResultCatcher catcher;
829 StartTest("openSidebarSharedWithMe"); 828 StartTest("openSidebarSharedWithMe");
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
878 } 877 }
879 878
880 IN_PROC_BROWSER_TEST_P(FileManagerBrowserTransferTest, 879 IN_PROC_BROWSER_TEST_P(FileManagerBrowserTransferTest,
881 TransferFromRecentToDrive) { 880 TransferFromRecentToDrive) {
882 PrepareVolume(); 881 PrepareVolume();
883 ResultCatcher catcher; 882 ResultCatcher catcher;
884 StartTest("transferFromRecentToDrive"); 883 StartTest("transferFromRecentToDrive");
885 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 884 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
886 } 885 }
887 886
888 // TODO(hirono): Bring back the offline feature. http://crbug.com/238545
889 IN_PROC_BROWSER_TEST_P(FileManagerBrowserTransferTest, 887 IN_PROC_BROWSER_TEST_P(FileManagerBrowserTransferTest,
890 DISABLED_TransferFromOfflineToDownloads) { 888 TransferFromOfflineToDownloads) {
891 PrepareVolume(); 889 PrepareVolume();
892 ResultCatcher catcher; 890 ResultCatcher catcher;
893 StartTest("transferFromOfflineToDownloads"); 891 StartTest("transferFromOfflineToDownloads");
894 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 892 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
895 } 893 }
896 894
897 // TODO(hirono): Bring back the offline feature. http://crbug.com/238545
898 IN_PROC_BROWSER_TEST_P(FileManagerBrowserTransferTest, 895 IN_PROC_BROWSER_TEST_P(FileManagerBrowserTransferTest,
899 DISABLED_TransferFromOfflineToDrive) { 896 TransferFromOfflineToDrive) {
900 PrepareVolume(); 897 PrepareVolume();
901 ResultCatcher catcher; 898 ResultCatcher catcher;
902 StartTest("transferFromOfflineToDrive"); 899 StartTest("transferFromOfflineToDrive");
903 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 900 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
904 } 901 }
905 902
906 } // namespace 903 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698