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