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

Unified Diff: net/ftp/ftp_directory_listing_parser_mlsd_unittest.cc

Issue 3448029: FTP: fix directory listing parser for ftp.usa.hp.com (Closed)
Patch Set: attempt to fix Windows trybots Created 10 years, 3 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
Index: net/ftp/ftp_directory_listing_parser_mlsd_unittest.cc
diff --git a/net/ftp/ftp_directory_listing_parser_mlsd_unittest.cc b/net/ftp/ftp_directory_listing_parser_mlsd_unittest.cc
index 1a01f27f3e5667e10362acb0021640d86c1514df..f65abc20feda4338caa494109a38d5de8a33808b 100644
--- a/net/ftp/ftp_directory_listing_parser_mlsd_unittest.cc
+++ b/net/ftp/ftp_directory_listing_parser_mlsd_unittest.cc
@@ -14,9 +14,6 @@ namespace {
typedef net::FtpDirectoryListingParserTest FtpDirectoryListingParserMlsdTest;
TEST_F(FtpDirectoryListingParserMlsdTest, Good) {
- base::Time::Exploded now_exploded;
- base::Time::Now().LocalExplode(&now_exploded);
-
const struct SingleLineTestData good_cases[] = {
{ "type=file;size=380565;modify=20030606190749; README",
net::FtpDirectoryListingEntry::FILE, "README", 380565,
@@ -48,6 +45,7 @@ TEST_F(FtpDirectoryListingParserMlsdTest, Bad) {
";",
"; ",
" ;",
+ " foo",
"garbage",
"total 5",
"type=file;size=380565;modify=20030606190749;README",
« no previous file with comments | « net/ftp/ftp_directory_listing_parser_ls_unittest.cc ('k') | net/ftp/ftp_directory_listing_parser_netware_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698