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

Side by Side Diff: chrome/test/plugin/plugin_test.cpp

Issue 7149013: Remove most of the remaining test dependencies (other than chrome/test). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/test/interactive_ui/npapi_interactive_test.cc ('k') | chrome/test/ui/npapi_uitest.cc » ('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) 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 14 matching lines...) Expand all
25 #include <string.h> 25 #include <string.h>
26 #include <memory.h> 26 #include <memory.h>
27 27
28 #include <string> 28 #include <string>
29 29
30 #include "base/file_path.h" 30 #include "base/file_path.h"
31 #include "base/file_util.h" 31 #include "base/file_util.h"
32 #include "base/message_loop.h" 32 #include "base/message_loop.h"
33 #include "base/path_service.h" 33 #include "base/path_service.h"
34 #include "base/test/test_timeouts.h" 34 #include "base/test/test_timeouts.h"
35 #include "chrome/browser/net/url_request_mock_http_job.h"
36 #include "chrome/browser/plugin_download_helper.h" 35 #include "chrome/browser/plugin_download_helper.h"
37 #include "chrome/common/chrome_switches.h" 36 #include "chrome/common/chrome_switches.h"
38 #include "chrome/common/chrome_paths.h" 37 #include "chrome/common/chrome_paths.h"
39 #include "chrome/test/automation/tab_proxy.h" 38 #include "chrome/test/automation/tab_proxy.h"
40 #include "chrome/test/ui/ui_test.h" 39 #include "chrome/test/ui/ui_test.h"
41 #include "chrome/test/ui_test_utils.h" 40 #include "chrome/test/ui_test_utils.h"
41 #include "content/browser/net/url_request_mock_http_job.h"
42 #include "net/base/net_util.h" 42 #include "net/base/net_util.h"
43 #include "net/url_request/url_request_test_util.h" 43 #include "net/url_request/url_request_test_util.h"
44 #include "third_party/npapi/bindings/npapi.h" 44 #include "third_party/npapi/bindings/npapi.h"
45 #include "webkit/plugins/npapi/plugin_constants_win.h" 45 #include "webkit/plugins/npapi/plugin_constants_win.h"
46 #include "webkit/plugins/npapi/plugin_list.h" 46 #include "webkit/plugins/npapi/plugin_list.h"
47 #include "webkit/plugins/plugin_switches.h" 47 #include "webkit/plugins/plugin_switches.h"
48 48
49 #if defined(OS_WIN) 49 #if defined(OS_WIN)
50 #include "base/win/registry.h" 50 #include "base/win/registry.h"
51 #endif 51 #endif
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 TEST_F(PluginInstallerDownloadTest, PluginInstallerDownloadPathTest) { 303 TEST_F(PluginInstallerDownloadTest, PluginInstallerDownloadPathTest) {
304 MessageLoop loop(MessageLoop::TYPE_IO); 304 MessageLoop loop(MessageLoop::TYPE_IO);
305 Start(); 305 Start();
306 loop.Run(); 306 loop.Run();
307 307
308 EXPECT_TRUE(success()); 308 EXPECT_TRUE(success());
309 EXPECT_TRUE(initial_download_path().BaseName().value() == 309 EXPECT_TRUE(initial_download_path().BaseName().value() ==
310 final_download_path().BaseName().value()); 310 final_download_path().BaseName().value());
311 } 311 }
312 #endif // defined(OS_WIN) 312 #endif // defined(OS_WIN)
OLDNEW
« no previous file with comments | « chrome/test/interactive_ui/npapi_interactive_test.cc ('k') | chrome/test/ui/npapi_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698