| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 scoped_refptr<TabProxy> tab(GetActiveTab()); | 80 scoped_refptr<TabProxy> tab(GetActiveTab()); |
| 81 ASSERT_TRUE(tab.get()); | 81 ASSERT_TRUE(tab.get()); |
| 82 ASSERT_TRUE(tab->NavigateToURL(test_url)); | 82 ASSERT_TRUE(tab->NavigateToURL(test_url)); |
| 83 std::string escaped_value = | 83 std::string escaped_value = |
| 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, FAILS_Instance) { |
| 91 RunTest("Instance"); |
| 92 } |
| 93 |
| 90 // http://crbug.com/54150 | 94 // http://crbug.com/54150 |
| 91 TEST_F(PPAPITest, FLAKY_Graphics2D) { | 95 TEST_F(PPAPITest, FLAKY_Graphics2D) { |
| 92 RunTest("Graphics2D"); | 96 RunTest("Graphics2D"); |
| 93 } | 97 } |
| 94 | 98 |
| 95 // TODO(brettw) bug 51344: this is flaky on bots. Seems to timeout navigating. | 99 // TODO(brettw) bug 51344: this is flaky on bots. Seems to timeout navigating. |
| 96 // Possibly all the image allocations slow things down on a loaded bot too much. | 100 // Possibly all the image allocations slow things down on a loaded bot too much. |
| 97 TEST_F(PPAPITest, FLAKY_ImageData) { | 101 TEST_F(PPAPITest, FLAKY_ImageData) { |
| 98 RunTest("ImageData"); | 102 RunTest("ImageData"); |
| 99 } | 103 } |
| (...skipping 21 matching lines...) Expand all Loading... |
| 121 RunTest("Scrollbar"); | 125 RunTest("Scrollbar"); |
| 122 } | 126 } |
| 123 | 127 |
| 124 TEST_F(PPAPITest, UrlUtil) { | 128 TEST_F(PPAPITest, UrlUtil) { |
| 125 RunTest("UrlUtil"); | 129 RunTest("UrlUtil"); |
| 126 } | 130 } |
| 127 | 131 |
| 128 TEST_F(PPAPITest, CharSet) { | 132 TEST_F(PPAPITest, CharSet) { |
| 129 RunTest("CharSet"); | 133 RunTest("CharSet"); |
| 130 } | 134 } |
| OLD | NEW |