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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 scoped_refptr<TabProxy> tab(GetActiveTab()); | 62 scoped_refptr<TabProxy> tab(GetActiveTab()); |
63 ASSERT_TRUE(tab.get()); | 63 ASSERT_TRUE(tab.get()); |
64 ASSERT_TRUE(tab->NavigateToURL(test_url)); | 64 ASSERT_TRUE(tab->NavigateToURL(test_url)); |
65 std::string escaped_value = | 65 std::string escaped_value = |
66 WaitUntilCookieNonEmpty(tab.get(), test_url, | 66 WaitUntilCookieNonEmpty(tab.get(), test_url, |
67 "COMPLETION_COOKIE", action_max_timeout_ms()); | 67 "COMPLETION_COOKIE", action_max_timeout_ms()); |
68 EXPECT_STREQ("PASS", escaped_value.c_str()); | 68 EXPECT_STREQ("PASS", escaped_value.c_str()); |
69 } | 69 } |
70 }; | 70 }; |
71 | 71 |
72 TEST_F(PPAPITest, DISABLED_Test) { | 72 TEST_F(PPAPITest, DISABLED_DeviceContext2D) { |
| 73 RunTest(FILE_PATH_LITERAL("test_device_context_2d.html")); |
| 74 } |
| 75 |
| 76 TEST_F(PPAPITest, DISABLED_ImageData) { |
73 RunTest(FILE_PATH_LITERAL("test_image_data.html")); | 77 RunTest(FILE_PATH_LITERAL("test_image_data.html")); |
74 } | 78 } |
OLD | NEW |