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

Unified Diff: chrome/test/ui/ppapi_uitest.cc

Issue 7055002: Fix PPAPI ui_tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable transport test Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ppapi/tests/test_case.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/ui/ppapi_uitest.cc
diff --git a/chrome/test/ui/ppapi_uitest.cc b/chrome/test/ui/ppapi_uitest.cc
index 8fa955cc7deb5c60f34788691cb9b2851dfccfcc..33f9434508ab740b9c1d05200a626470acec9346 100644
--- a/chrome/test/ui/ppapi_uitest.cc
+++ b/chrome/test/ui/ppapi_uitest.cc
@@ -66,8 +66,9 @@ class PPAPITest : public UITest {
EXPECT_TRUE(file_util::PathExists(test_path));
GURL::Replacements replacements;
- replacements.SetQuery(test_case.c_str(),
- url_parse::Component(0, test_case.size()));
+ std::string query("testcase=");
+ query += test_case;
+ replacements.SetQuery(query.c_str(), url_parse::Component(0, query.size()));
GURL test_url = net::FilePathToFileURL(test_path);
RunTestURL(test_url.ReplaceComponents(replacements));
}
@@ -77,7 +78,8 @@ class PPAPITest : public UITest {
net::TestServer::TYPE_HTTP,
FilePath(FILE_PATH_LITERAL("ppapi/tests")));
ASSERT_TRUE(test_server.Start());
- RunTestURL(test_server.GetURL("files/test_case.html?" + test_case));
+ RunTestURL(
+ test_server.GetURL("files/test_case.html?testcase=" + test_case));
}
private:
@@ -145,8 +147,8 @@ TEST_F(PPAPITest, CharSet) {
RunTest("CharSet");
}
-TEST_F(PPAPITest, Var) {
- RunTest("Var");
+TEST_F(PPAPITest, VarDeprecated) {
+ RunTest("VarDeprecated");
}
TEST_F(PPAPITest, PostMessage) {
@@ -166,6 +168,7 @@ TEST_F(PPAPITest, DISABLED_DirectoryReader) {
RunTestViaHTTP("DirectoryReader");
}
-TEST_F(PPAPITest, Transport) {
+// http://crbug.com/83395
+TEST_F(PPAPITest, DISABLED_Transport) {
RunTest("Transport");
}
« no previous file with comments | « no previous file | ppapi/tests/test_case.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698