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

Side by Side Diff: chrome/browser/plugin_test.cc

Issue 8341069: Temporarily turn on --debug-plugin-loading in PluginTest.*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Tests for the top plugins to catch regressions in our plugin host code, as 5 // Tests for the top plugins to catch regressions in our plugin host code, as
6 // well as in the out of process code. Currently this tests: 6 // well as in the out of process code. Currently this tests:
7 // Flash 7 // Flash
8 // Real 8 // Real
9 // QuickTime 9 // QuickTime
10 // Windows Media Player 10 // Windows Media Player
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 // the new plugin. 97 // the new plugin.
98 launch_arguments_.AppendSwitch(switches::kUseOldWMPPlugin); 98 launch_arguments_.AppendSwitch(switches::kUseOldWMPPlugin);
99 } else if (strcmp(test_info->name(), "FlashSecurity") == 0) { 99 } else if (strcmp(test_info->name(), "FlashSecurity") == 0) {
100 launch_arguments_.AppendSwitchASCII(switches::kTestSandbox, 100 launch_arguments_.AppendSwitchASCII(switches::kTestSandbox,
101 "security_tests.dll"); 101 "security_tests.dll");
102 } 102 }
103 #endif // defined(OS_WIN) 103 #endif // defined(OS_WIN)
104 104
105 launch_arguments_.AppendSwitch(switches::kAllowOutdatedPlugins); 105 launch_arguments_.AppendSwitch(switches::kAllowOutdatedPlugins);
106 launch_arguments_.AppendSwitch(switches::kAlwaysAuthorizePlugins); 106 launch_arguments_.AppendSwitch(switches::kAlwaysAuthorizePlugins);
107 // TODO(rsesek): Remove after done debugging.
108 launch_arguments_.AppendSwitch(switches::kDebugPluginLoading);
107 109
108 UITest::SetUp(); 110 UITest::SetUp();
109 } 111 }
110 112
111 void TestPlugin(const std::string& test_case, 113 void TestPlugin(const std::string& test_case,
112 const std::string& query, 114 const std::string& query,
113 int timeout, 115 int timeout,
114 bool mock_http) { 116 bool mock_http) {
115 GURL url = GetTestUrl(test_case, query, mock_http); 117 GURL url = GetTestUrl(test_case, query, mock_http);
116 NavigateToURL(url); 118 NavigateToURL(url);
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 TEST_F(PluginInstallerDownloadTest, PluginInstallerDownloadPathTest) { 336 TEST_F(PluginInstallerDownloadTest, PluginInstallerDownloadPathTest) {
335 MessageLoop loop(MessageLoop::TYPE_IO); 337 MessageLoop loop(MessageLoop::TYPE_IO);
336 Start(); 338 Start();
337 loop.Run(); 339 loop.Run();
338 340
339 EXPECT_TRUE(success()); 341 EXPECT_TRUE(success());
340 EXPECT_TRUE(initial_download_path().BaseName().value() == 342 EXPECT_TRUE(initial_download_path().BaseName().value() ==
341 final_download_path().BaseName().value()); 343 final_download_path().BaseName().value());
342 } 344 }
343 #endif // defined(OS_WIN) 345 #endif // defined(OS_WIN)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698