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

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

Issue 16092002: Added basic tests to test the audio 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 13313e128d1666274f99cbdf867912f642ea9de7..081e350896821173938cd25fbe1ef3e07fb51e9d 100644
--- a/chrome/browser/chromeos/extensions/file_manager/file_manager_browsertest.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/file_manager_browsertest.cc
@@ -60,6 +60,8 @@ TestEntryInfo kTestEntrySetCommon[] = {
{ FILE, "text.txt", "hello.txt", "text/plain", NONE, "4 Sep 1998 12:34:56" },
{ FILE, "image.png", "My Desktop Background.png", "text/plain", NONE,
"18 Jan 2038 01:02:03" },
+ { FILE, "music.ogg", "Beautiful Song.ogg", "text/plain", NONE,
+ "12 Nov 2086 12:00:00" },
{ FILE, "video.ogv", "world.ogv", "text/plain", NONE,
"4 July 2012 10:35:00" },
{ DIRECTORY, "", "photos", NULL, NONE, "1 Jan 1980 23:59:59" },
@@ -334,6 +336,9 @@ class FileManagerBrowserTestBase : public ExtensionApiTest,
// 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);
@@ -499,6 +504,16 @@ IN_PROC_BROWSER_TEST_P(FileManagerBrowserDriveTest, DISABLED_TestGalleryOpen) {
ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
}
+IN_PROC_BROWSER_TEST_P(FileManagerBrowserLocalTest, TestAudioOpen) {
+ ResultCatcher catcher;
+ ASSERT_NO_FATAL_FAILURE(StartTest("galleryOpenDownloads"));
+ ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();}
+
+IN_PROC_BROWSER_TEST_P(FileManagerBrowserDriveTest, TestAudioOpen) {
+ ResultCatcher catcher;
+ ASSERT_NO_FATAL_FAILURE(StartTest("galleryOpenDrive"));
+ ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();}
+
IN_PROC_BROWSER_TEST_P(FileManagerBrowserDriveTest, TestKeyboardCopy) {
ResultCatcher catcher;
ASSERT_NO_FATAL_FAILURE(StartTest("keyboardCopyDrive"));
« 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