| 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 #include "base/file_util.h" | 5 #include "base/file_util.h" |
| 6 #include "base/path_service.h" | 6 #include "base/path_service.h" |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 #include "chrome/common/chrome_switches.h" | 8 #include "chrome/common/chrome_switches.h" |
| 9 #include "chrome/test/automation/tab_proxy.h" | 9 #include "chrome/test/automation/tab_proxy.h" |
| 10 #include "chrome/test/ui/ui_test.h" | 10 #include "chrome/test/ui/ui_test.h" |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 WaitUntilCookieNonEmpty(tab.get(), test_url, | 84 WaitUntilCookieNonEmpty(tab.get(), test_url, |
| 85 "COMPLETION_COOKIE", action_max_timeout_ms()); | 85 "COMPLETION_COOKIE", action_max_timeout_ms()); |
| 86 EXPECT_STREQ("PASS", escaped_value.c_str()); | 86 EXPECT_STREQ("PASS", escaped_value.c_str()); |
| 87 } | 87 } |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 TEST_F(PPAPITest, DeviceContext2D) { | 90 TEST_F(PPAPITest, DeviceContext2D) { |
| 91 RunTest("DeviceContext2D"); | 91 RunTest("DeviceContext2D"); |
| 92 } | 92 } |
| 93 | 93 |
| 94 TEST_F(PPAPITest, ImageData) { | 94 // TODO(brettw) bug 51344: this is flaky on bots. Seems to timeout navigating. |
| 95 // Possibly all the image allocations slow things down on a loaded bot too much. |
| 96 TEST_F(PPAPITest, FLAKY_ImageData) { |
| 95 RunTest("ImageData"); | 97 RunTest("ImageData"); |
| 96 } | 98 } |
| 97 | 99 |
| 98 TEST_F(PPAPITest, Buffer) { | 100 TEST_F(PPAPITest, Buffer) { |
| 99 RunTest("Buffer"); | 101 RunTest("Buffer"); |
| 100 } | 102 } |
| 101 | 103 |
| 102 TEST_F(PPAPITest, URLLoader) { | 104 // TODO(brettw) bug 51345: this failed consistently on one of the bots. |
| 105 TEST_F(PPAPITest, FAILS_URLLoader) { |
| 103 RunTestViaHTTP("URLLoader"); | 106 RunTestViaHTTP("URLLoader"); |
| 104 } | 107 } |
| 105 | 108 |
| 106 // Flaky, http://crbug.com/51012 | 109 // Flaky, http://crbug.com/51012 |
| 107 TEST_F(PPAPITest, FLAKY_PaintAggregator) { | 110 TEST_F(PPAPITest, FLAKY_PaintAggregator) { |
| 108 RunTestViaHTTP("PaintAggregator"); | 111 RunTestViaHTTP("PaintAggregator"); |
| 109 } | 112 } |
| 110 | 113 |
| 111 #if defined(OS_LINUX) | 114 #if defined(OS_LINUX) |
| 112 // Flaky, http://crbug.com/48544. | 115 // Flaky, http://crbug.com/48544. |
| 113 TEST_F(PPAPITest, FLAKY_Scrollbar) { | 116 TEST_F(PPAPITest, FLAKY_Scrollbar) { |
| 114 #else | 117 #else |
| 115 TEST_F(PPAPITest, Scrollbar) { | 118 TEST_F(PPAPITest, Scrollbar) { |
| 116 #endif | 119 #endif |
| 117 RunTest("Scrollbar"); | 120 RunTest("Scrollbar"); |
| 118 } | 121 } |
| 119 | 122 |
| 120 TEST_F(PPAPITest, UrlUtil) { | 123 TEST_F(PPAPITest, UrlUtil) { |
| 121 RunTest("UrlUtil"); | 124 RunTest("UrlUtil"); |
| 122 } | 125 } |
| OLD | NEW |