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