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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/file_manager_browsertest.cc

Issue 15984003: Add tests for the video player in Files.app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/js/test_util.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/file_manager/file_manager_browsertest.cc
diff --git a/chrome/browser/chromeos/extensions/file_manager/file_manager_browsertest.cc b/chrome/browser/chromeos/extensions/file_manager/file_manager_browsertest.cc
index 1e0bd76641dfbb6de555a894505182389ec59fda..4f927c1ccfb85f1d74570375dd9f1f032cf2ad4c 100644
--- a/chrome/browser/chromeos/extensions/file_manager/file_manager_browsertest.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/file_manager_browsertest.cc
@@ -332,18 +332,6 @@ class FileManagerBrowserTestBase : public ExtensionApiTest,
// Runs the file display test on the passed |volume|, shared by subclasses.
void DoTestFileDisplay(TestVolume* volume);
-
- // Runs the gallery open test on the passed |volume|, shared by subclasses.
- void DoTestGalleryOpen(TestVolume* volume);
-
- // Runs the audio open test on the passed |volume|, shared by subclasses.
- void DoTestAudioOpen(TestVolume* volume);
-
- // Runs the keyboard copy test on the passed |volume|, shared by subclasses.
- void DoTestKeyboardCopy(TestVolume* volume);
-
- // Runs the keyboard delete test on the passed |volume|, shared by subclasses.
- void DoTestKeyboardDelete(TestVolume* volume);
};
void FileManagerBrowserTestBase::SetUpCommandLine(CommandLine* command_line) {
@@ -512,7 +500,20 @@ IN_PROC_BROWSER_TEST_P(FileManagerBrowserLocalTest, TestAudioOpen) {
IN_PROC_BROWSER_TEST_P(FileManagerBrowserDriveTest, TestAudioOpen) {
ResultCatcher catcher;
ASSERT_NO_FATAL_FAILURE(StartTest("galleryOpenDrive"));
- ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();}
+ ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
+}
+
+IN_PROC_BROWSER_TEST_P(FileManagerBrowserLocalTest, TestVideoOpen) {
+ ResultCatcher catcher;
+ ASSERT_NO_FATAL_FAILURE(StartTest("galleryOpenDownloads"));
+ ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
+}
+
+IN_PROC_BROWSER_TEST_P(FileManagerBrowserDriveTest, TestVideoOpen) {
+ ResultCatcher catcher;
+ ASSERT_NO_FATAL_FAILURE(StartTest("galleryOpenDrive"));
+ ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
+}
IN_PROC_BROWSER_TEST_P(FileManagerBrowserDriveTest, TestKeyboardCopy) {
ResultCatcher catcher;
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/js/test_util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698