OLD | NEW |
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 "content/test/plugin/plugin_test_factory.h" | 5 #include "content/test/plugin/plugin_test_factory.h" |
6 | 6 |
7 #include "content/test/plugin/plugin_arguments_test.h" | 7 #include "content/test/plugin/plugin_arguments_test.h" |
8 #include "content/test/plugin/plugin_delete_plugin_in_stream_test.h" | 8 #include "content/test/plugin/plugin_delete_plugin_in_stream_test.h" |
9 #include "content/test/plugin/plugin_delete_plugin_in_deallocate_test.h" | 9 #include "content/test/plugin/plugin_delete_plugin_in_deallocate_test.h" |
10 #include "content/test/plugin/plugin_get_javascript_url_test.h" | 10 #include "content/test/plugin/plugin_get_javascript_url_test.h" |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 } else if (test_name == "private") { | 92 } else if (test_name == "private") { |
93 new_test = new PrivateTest(instance, host_functions); | 93 new_test = new PrivateTest(instance, host_functions); |
94 } else if (test_name == "schedule_timer") { | 94 } else if (test_name == "schedule_timer") { |
95 new_test = new ScheduleTimerTest(instance, host_functions); | 95 new_test = new ScheduleTimerTest(instance, host_functions); |
96 #if defined(OS_WIN) | 96 #if defined(OS_WIN) |
97 // TODO(port): plugin_windowed_test.*. | 97 // TODO(port): plugin_windowed_test.*. |
98 } else if (test_name == "hidden_plugin" || | 98 } else if (test_name == "hidden_plugin" || |
99 test_name == "create_instance_in_paint" || | 99 test_name == "create_instance_in_paint" || |
100 test_name == "alert_in_window_message" || | 100 test_name == "alert_in_window_message" || |
101 test_name == "ensure_scripting_works_in_destroy" || | 101 test_name == "ensure_scripting_works_in_destroy" || |
102 test_name == "set_title_in_paint") { | 102 test_name == "set_title_in_paint" || |
| 103 test_name == "set_title_in_set_window_and_paint") { |
103 new_test = new WindowedPluginTest(instance, host_functions); | 104 new_test = new WindowedPluginTest(instance, host_functions); |
104 #endif | 105 #endif |
105 } else if (test_name == "setup") { | 106 } else if (test_name == "setup") { |
106 // "plugin" is the name for plugin documents. | 107 // "plugin" is the name for plugin documents. |
107 new_test = new PluginSetupTest(instance, host_functions); | 108 new_test = new PluginSetupTest(instance, host_functions); |
108 } else if (test_name == "delete_plugin_in_deallocate_test") { | 109 } else if (test_name == "delete_plugin_in_deallocate_test") { |
109 new_test = new DeletePluginInDeallocateTest(instance, host_functions); | 110 new_test = new DeletePluginInDeallocateTest(instance, host_functions); |
110 } else if (test_name == "plugin_request_read_single_range") { | 111 } else if (test_name == "plugin_request_read_single_range") { |
111 new_test = new PluginRequestReadTest(instance, host_functions); | 112 new_test = new PluginRequestReadTest(instance, host_functions); |
112 } | 113 } |
113 | 114 |
114 return new_test; | 115 return new_test; |
115 } | 116 } |
116 | 117 |
117 } // namespace NPAPIClient | 118 } // namespace NPAPIClient |
OLD | NEW |