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

Side by Side Diff: content/test/plugin/plugin_test_factory.cc

Issue 19697013: Move NPAPI test plugin to content/test/plugin. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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
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 #include "webkit/plugins/npapi/test/plugin_test_factory.h" 5 #include "content/test/plugin/plugin_test_factory.h"
6 6
7 #include "webkit/plugins/npapi/test/plugin_arguments_test.h" 7 #include "content/test/plugin/plugin_arguments_test.h"
8 #include "webkit/plugins/npapi/test/plugin_delete_plugin_in_stream_test.h" 8 #include "content/test/plugin/plugin_delete_plugin_in_stream_test.h"
9 #include "webkit/plugins/npapi/test/plugin_delete_plugin_in_deallocate_test.h" 9 #include "content/test/plugin/plugin_delete_plugin_in_deallocate_test.h"
10 #include "webkit/plugins/npapi/test/plugin_get_javascript_url_test.h" 10 #include "content/test/plugin/plugin_get_javascript_url_test.h"
11 #include "webkit/plugins/npapi/test/plugin_get_javascript_url2_test.h" 11 #include "content/test/plugin/plugin_get_javascript_url2_test.h"
12 #include "webkit/plugins/npapi/test/plugin_geturl_test.h" 12 #include "content/test/plugin/plugin_geturl_test.h"
13 #include "webkit/plugins/npapi/test/plugin_javascript_open_popup.h" 13 #include "content/test/plugin/plugin_javascript_open_popup.h"
14 #include "webkit/plugins/npapi/test/plugin_new_fails_test.h" 14 #include "content/test/plugin/plugin_new_fails_test.h"
15 #include "webkit/plugins/npapi/test/plugin_npobject_identity_test.h" 15 #include "content/test/plugin/plugin_npobject_identity_test.h"
16 #include "webkit/plugins/npapi/test/plugin_npobject_lifetime_test.h" 16 #include "content/test/plugin/plugin_npobject_lifetime_test.h"
17 #include "webkit/plugins/npapi/test/plugin_npobject_proxy_test.h" 17 #include "content/test/plugin/plugin_npobject_proxy_test.h"
18 #include "webkit/plugins/npapi/test/plugin_private_test.h" 18 #include "content/test/plugin/plugin_private_test.h"
19 #include "webkit/plugins/npapi/test/plugin_request_read_test.h" 19 #include "content/test/plugin/plugin_request_read_test.h"
20 #include "webkit/plugins/npapi/test/plugin_schedule_timer_test.h" 20 #include "content/test/plugin/plugin_schedule_timer_test.h"
21 #include "webkit/plugins/npapi/test/plugin_setup_test.h" 21 #include "content/test/plugin/plugin_setup_test.h"
22 #include "webkit/plugins/npapi/test/plugin_thread_async_call_test.h" 22 #include "content/test/plugin/plugin_thread_async_call_test.h"
23 #include "webkit/plugins/npapi/test/plugin_window_size_test.h" 23 #include "content/test/plugin/plugin_window_size_test.h"
24 #if defined(OS_WIN) 24 #if defined(OS_WIN)
25 #include "webkit/plugins/npapi/test/plugin_windowed_test.h" 25 #include "content/test/plugin/plugin_windowed_test.h"
26 #endif 26 #endif
27 #include "webkit/plugins/npapi/test/plugin_windowless_test.h" 27 #include "content/test/plugin/plugin_windowless_test.h"
28 28
29 namespace NPAPIClient { 29 namespace NPAPIClient {
30 30
31 PluginTest* CreatePluginTest(const std::string& test_name, 31 PluginTest* CreatePluginTest(const std::string& test_name,
32 NPP instance, 32 NPP instance,
33 NPNetscapeFuncs* host_functions) { 33 NPNetscapeFuncs* host_functions) {
34 PluginTest* new_test = NULL; 34 PluginTest* new_test = NULL;
35 35
36 if (test_name == "arguments") { 36 if (test_name == "arguments") {
37 new_test = new PluginArgumentsTest(instance, host_functions); 37 new_test = new PluginArgumentsTest(instance, host_functions);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 } else if (test_name == "delete_plugin_in_deallocate_test") { 106 } else if (test_name == "delete_plugin_in_deallocate_test") {
107 new_test = new DeletePluginInDeallocateTest(instance, host_functions); 107 new_test = new DeletePluginInDeallocateTest(instance, host_functions);
108 } else if (test_name == "plugin_request_read_single_range") { 108 } else if (test_name == "plugin_request_read_single_range") {
109 new_test = new PluginRequestReadTest(instance, host_functions); 109 new_test = new PluginRequestReadTest(instance, host_functions);
110 } 110 }
111 111
112 return new_test; 112 return new_test;
113 } 113 }
114 114
115 } // namespace NPAPIClient 115 } // namespace NPAPIClient
OLDNEW
« no previous file with comments | « content/test/plugin/plugin_test_factory.h ('k') | content/test/plugin/plugin_thread_async_call_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698