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

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

Issue 505043002: Files.app Test: check the cast icon in drive volume (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a test Created 6 years, 3 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
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/file_manager_browsertest/cast_extension_mock/load.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 1418 matching lines...) Expand 10 before | Expand all | Expand 10 after
1429 return test_case_name_.c_str(); 1429 return test_case_name_.c_str();
1430 } 1430 }
1431 1431
1432 protected: 1432 protected:
1433 virtual void SetUp() OVERRIDE { 1433 virtual void SetUp() OVERRIDE {
1434 AddScript("common/test_util_common.js"); 1434 AddScript("common/test_util_common.js");
1435 AddScript("video_player/test_util.js"); 1435 AddScript("video_player/test_util.js");
1436 FileManagerBrowserTestBase::SetUp(); 1436 FileManagerBrowserTestBase::SetUp();
1437 } 1437 }
1438 1438
1439 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
1440 command_line->AppendSwitch(
1441 chromeos::switches::kEnableVideoPlayerChromecastSupport);
1442 FileManagerBrowserTestBase::SetUpCommandLine(command_line);
1443 }
1444
1439 virtual std::string OnMessage(const std::string& name, 1445 virtual std::string OnMessage(const std::string& name,
1440 const base::Value* value) OVERRIDE; 1446 const base::Value* value) OVERRIDE;
1441 1447
1442 virtual const char* GetTestManifestName() const OVERRIDE { 1448 virtual const char* GetTestManifestName() const OVERRIDE {
1443 return "video_player_test_manifest.json"; 1449 return "video_player_test_manifest.json";
1444 } 1450 }
1445 1451
1446 void AddScript(const std::string& name) { 1452 void AddScript(const std::string& name) {
1447 scripts_.AppendString( 1453 scripts_.AppendString(
1448 "chrome-extension://ljoplibgfehghmibaoaepfagnmbbfiga/" + name); 1454 "chrome-extension://ljoplibgfehghmibaoaepfagnmbbfiga/" + name);
(...skipping 30 matching lines...) Expand all
1479 } 1485 }
1480 1486
1481 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { 1487 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) {
1482 AddScript("video_player/open_video_files.js"); 1488 AddScript("video_player/open_video_files.js");
1483 set_test_case_name("openSingleVideoOnDrive"); 1489 set_test_case_name("openSingleVideoOnDrive");
1484 StartTest(); 1490 StartTest();
1485 } 1491 }
1486 1492
1487 } // namespace 1493 } // namespace
1488 } // namespace file_manager 1494 } // namespace file_manager
OLDNEW
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/file_manager_browsertest/cast_extension_mock/load.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698