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

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

Issue 7532034: Move in_process_browser_test and ui_test_utils to chrome/test/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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/plugin/pdf_browsertest.cc ('k') | chrome/test/startup/shutdown_test.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 19 matching lines...) Expand all
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/plugin_download_helper.h" 35 #include "chrome/browser/plugin_download_helper.h"
36 #include "chrome/common/chrome_switches.h" 36 #include "chrome/common/chrome_switches.h"
37 #include "chrome/common/chrome_paths.h" 37 #include "chrome/common/chrome_paths.h"
38 #include "chrome/test/automation/automation_proxy.h" 38 #include "chrome/test/automation/automation_proxy.h"
39 #include "chrome/test/automation/tab_proxy.h" 39 #include "chrome/test/automation/tab_proxy.h"
40 #include "chrome/test/base/ui_test_utils.h"
40 #include "chrome/test/ui/ui_test.h" 41 #include "chrome/test/ui/ui_test.h"
41 #include "chrome/test/ui_test_utils.h"
42 #include "content/browser/net/url_request_mock_http_job.h" 42 #include "content/browser/net/url_request_mock_http_job.h"
43 #include "net/base/net_util.h" 43 #include "net/base/net_util.h"
44 #include "net/url_request/url_request_test_util.h" 44 #include "net/url_request/url_request_test_util.h"
45 #include "third_party/npapi/bindings/npapi.h" 45 #include "third_party/npapi/bindings/npapi.h"
46 #include "webkit/plugins/npapi/plugin_constants_win.h" 46 #include "webkit/plugins/npapi/plugin_constants_win.h"
47 #include "webkit/plugins/npapi/plugin_list.h" 47 #include "webkit/plugins/npapi/plugin_list.h"
48 #include "webkit/plugins/plugin_switches.h" 48 #include "webkit/plugins/plugin_switches.h"
49 49
50 #if defined(OS_WIN) 50 #if defined(OS_WIN)
51 #include "base/win/registry.h" 51 #include "base/win/registry.h"
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 TEST_F(PluginInstallerDownloadTest, PluginInstallerDownloadPathTest) { 304 TEST_F(PluginInstallerDownloadTest, PluginInstallerDownloadPathTest) {
305 MessageLoop loop(MessageLoop::TYPE_IO); 305 MessageLoop loop(MessageLoop::TYPE_IO);
306 Start(); 306 Start();
307 loop.Run(); 307 loop.Run();
308 308
309 EXPECT_TRUE(success()); 309 EXPECT_TRUE(success());
310 EXPECT_TRUE(initial_download_path().BaseName().value() == 310 EXPECT_TRUE(initial_download_path().BaseName().value() ==
311 final_download_path().BaseName().value()); 311 final_download_path().BaseName().value());
312 } 312 }
313 #endif // defined(OS_WIN) 313 #endif // defined(OS_WIN)
OLDNEW
« no previous file with comments | « chrome/test/plugin/pdf_browsertest.cc ('k') | chrome/test/startup/shutdown_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698