Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Side by Side Diff: chrome/test/ui/ppapi_uitest.cc

Issue 2080021: Chrome-side of tests for Pepper Device2D. This includes some bugfixes and min... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « DEPS ('k') | webkit/glue/plugins/pepper_device_context_2d.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « DEPS ('k') | webkit/glue/plugins/pepper_device_context_2d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698