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

Unified Diff: net/url_request/url_request_unittest.cc

Issue 147058: Start to disable bzip2 support. First step: Stop advertising support.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 | « net/url_request/url_request_http_job.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_unittest.cc
===================================================================
--- net/url_request/url_request_unittest.cc (revision 19171)
+++ net/url_request/url_request_unittest.cc (working copy)
@@ -831,7 +831,8 @@
EXPECT_EQ("a, b", header);
}
-TEST_F(URLRequestTest, BZip2ContentTest) {
+// TODO(jar): 14801 Remove BZIP code completely.
+TEST_F(URLRequestTest, DISABLED_BZip2ContentTest) {
scoped_refptr<HTTPTestServer> server =
HTTPTestServer::CreateServer(L"net/data/filter_unittests", NULL);
ASSERT_TRUE(NULL != server.get());
@@ -857,7 +858,8 @@
EXPECT_EQ(got_content, got_bz2_content);
}
-TEST_F(URLRequestTest, BZip2ContentTest_IncrementalHeader) {
+// TODO(jar): 14801 Remove BZIP code completely.
+TEST_F(URLRequestTest, DISABLED_BZip2ContentTest_IncrementalHeader) {
scoped_refptr<HTTPTestServer> server =
HTTPTestServer::CreateServer(L"net/data/filter_unittests", NULL);
ASSERT_TRUE(NULL != server.get());
@@ -1237,8 +1239,7 @@
"Accept-Language: en-US,en\r\n"
"Accept-Charset: ISO-8859-1,*,utf-8\r\n"
"Content-Length: 10\r\n"
- "Origin: http://localhost:1337/"
- );
+ "Origin: http://localhost:1337/");
req.Start();
MessageLoop::current()->Run();
@@ -1275,7 +1276,8 @@
// Custom URLRequestJobs for use with interceptor tests
class RestartTestJob : public URLRequestTestJob {
public:
- RestartTestJob(URLRequest* request) : URLRequestTestJob(request, true) {}
+ explicit RestartTestJob(URLRequest* request)
+ : URLRequestTestJob(request, true) {}
protected:
virtual void StartAsync() {
this->NotifyRestartRequired();
@@ -1284,7 +1286,8 @@
class CancelTestJob : public URLRequestTestJob {
public:
- CancelTestJob(URLRequest* request) : URLRequestTestJob(request, true) {}
+ explicit CancelTestJob(URLRequest* request)
+ : URLRequestTestJob(request, true) {}
protected:
virtual void StartAsync() {
request_->Cancel();
@@ -1293,7 +1296,7 @@
class CancelThenRestartTestJob : public URLRequestTestJob {
public:
- CancelThenRestartTestJob(URLRequest* request)
+ explicit CancelThenRestartTestJob(URLRequest* request)
: URLRequestTestJob(request, true) {
}
protected:
« no previous file with comments | « net/url_request/url_request_http_job.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698