Fix and re-enable URLRequestFTP tests (Except on Android).
commit9f2ec60cde8ba05ee891bccc84fa1a05bb8d9030
authormmenke <mmenke@chromium.org>
Mon, 1 Jun 2015 20:59:47 +0000 (1 13:59 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 1 Jun 2015 21:00:20 +0000 (1 21:00 +0000)
treead8b320fbe565c8796746b7876040e01ec7782aa
parent5d6df1502037d084069fcd5e4a199ec8abd3b029
Fix and re-enable URLRequestFTP tests (Except on Android).

The tests were disabled because of two failures:

* The test server was failing to start.  There were some CLs to fix this
landed quite a while back, and the fact that
URLRequestTestFTP.UnfsafePort, which (needlessly) started the FTP server
was still passing indicates that this isn't a problem any longer.

* Tests were having trouble accessing some test files.  This CL modifies
the test to use a file in the url_request_unittest directory, like the
other URLRequestTest subclasses, which should hopefully fix this.

Additionally, FTP is no longer enabled in the TestURLRequestContext by
default, so this CL also sets up FTP support in the URLRequestTestFTP
test fixture.

BUG=25045,495220

Review URL: https://codereview.chromium.org/1160273003

Cr-Commit-Position: refs/heads/master@{#332266}
net/url_request/url_request_unittest.cc