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

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

Issue 8854008: Revert 107413 - Temporarily turn on --debug-plugin-loading in PluginTest.*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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);
109 107
110 UITest::SetUp(); 108 UITest::SetUp();
111 } 109 }
112 110
113 void TestPlugin(const std::string& test_case, 111 void TestPlugin(const std::string& test_case,
114 const std::string& query, 112 const std::string& query,
115 int timeout, 113 int timeout,
116 bool mock_http) { 114 bool mock_http) {
117 GURL url = GetTestUrl(test_case, query, mock_http); 115 GURL url = GetTestUrl(test_case, query, mock_http);
118 NavigateToURL(url); 116 NavigateToURL(url);
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 TEST_F(PluginInstallerDownloadTest, PluginInstallerDownloadPathTest) { 334 TEST_F(PluginInstallerDownloadTest, PluginInstallerDownloadPathTest) {
337 MessageLoop loop(MessageLoop::TYPE_IO); 335 MessageLoop loop(MessageLoop::TYPE_IO);
338 Start(); 336 Start();
339 loop.Run(); 337 loop.Run();
340 338
341 EXPECT_TRUE(success()); 339 EXPECT_TRUE(success());
342 EXPECT_TRUE(initial_download_path().BaseName().value() == 340 EXPECT_TRUE(initial_download_path().BaseName().value() ==
343 final_download_path().BaseName().value()); 341 final_download_path().BaseName().value());
344 } 342 }
345 #endif // defined(OS_WIN) 343 #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