OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 #endif // defined(OS_WIN) | 193 #endif // defined(OS_WIN) |
194 | 194 |
195 #if defined(OS_WIN) | 195 #if defined(OS_WIN) |
196 // TODO(port) Port the following tests to platforms that have the required | 196 // TODO(port) Port the following tests to platforms that have the required |
197 // plugins. | 197 // plugins. |
198 // Flaky: http://crbug.com/55915 | 198 // Flaky: http://crbug.com/55915 |
199 TEST_F(PluginTest, FLAKY_Quicktime) { | 199 TEST_F(PluginTest, FLAKY_Quicktime) { |
200 TestPlugin("quicktime.html", action_max_timeout_ms(), false); | 200 TestPlugin("quicktime.html", action_max_timeout_ms(), false); |
201 } | 201 } |
202 | 202 |
203 // Disabled on Release bots - http://crbug.com/44662 | 203 // Disabled - http://crbug.com/44662 |
204 #if defined(NDEBUG) | 204 TEST_F(PluginTest, DISABLED_MediaPlayerNew) { |
205 #define MediaPlayerNew DISABLED_MediaPlayerNew | |
206 #endif | |
207 TEST_F(PluginTest, MediaPlayerNew) { | |
208 TestPlugin("wmp_new.html", action_max_timeout_ms(), false); | 205 TestPlugin("wmp_new.html", action_max_timeout_ms(), false); |
209 } | 206 } |
210 | 207 |
211 // http://crbug.com/4809 | 208 // http://crbug.com/4809 |
212 TEST_F(PluginTest, DISABLED_MediaPlayerOld) { | 209 TEST_F(PluginTest, DISABLED_MediaPlayerOld) { |
213 TestPlugin("wmp_old.html", action_max_timeout_ms(), false); | 210 TestPlugin("wmp_old.html", action_max_timeout_ms(), false); |
214 } | 211 } |
215 | 212 |
216 #if defined(NDEBUG) | 213 #if defined(NDEBUG) |
217 #define Real DISABLED_Real | 214 #define Real DISABLED_Real |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 TEST_F(PluginInstallerDownloadTest, PluginInstallerDownloadPathTest) { | 348 TEST_F(PluginInstallerDownloadTest, PluginInstallerDownloadPathTest) { |
352 MessageLoop loop(MessageLoop::TYPE_IO); | 349 MessageLoop loop(MessageLoop::TYPE_IO); |
353 Start(); | 350 Start(); |
354 loop.Run(); | 351 loop.Run(); |
355 | 352 |
356 EXPECT_TRUE(success()); | 353 EXPECT_TRUE(success()); |
357 EXPECT_TRUE(initial_download_path().BaseName().value() == | 354 EXPECT_TRUE(initial_download_path().BaseName().value() == |
358 final_download_path().BaseName().value()); | 355 final_download_path().BaseName().value()); |
359 } | 356 } |
360 #endif // defined(OS_WIN) | 357 #endif // defined(OS_WIN) |
OLD | NEW |