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

Side by Side Diff: net/ftp/ftp_directory_listing_parser_unittest.cc

Issue 7584018: FTP: fix directory listing parsing for Hylafax (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | « net/ftp/ftp_directory_listing_parser_ls_unittest.cc ('k') | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "net/ftp/ftp_directory_listing_parser.h" 5 #include "net/ftp/ftp_directory_listing_parser.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/format_macros.h" 8 #include "base/format_macros.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/stringprintf.h" 10 #include "base/stringprintf.h"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 "dir-listing-ls-22", // TODO(phajdan.jr): should use windows-1251 encoding. 128 "dir-listing-ls-22", // TODO(phajdan.jr): should use windows-1251 encoding.
129 "dir-listing-ls-23", 129 "dir-listing-ls-23",
130 "dir-listing-ls-24", 130 "dir-listing-ls-24",
131 131
132 // Tests for Russian listings. The only difference between those 132 // Tests for Russian listings. The only difference between those
133 // files is character encoding: 133 // files is character encoding:
134 "dir-listing-ls-25", // UTF-8 134 "dir-listing-ls-25", // UTF-8
135 "dir-listing-ls-26", // KOI8-R 135 "dir-listing-ls-26", // KOI8-R
136 "dir-listing-ls-27", // windows-1251 136 "dir-listing-ls-27", // windows-1251
137 137
138 "dir-listing-ls-28", // Hylafax FTP server
139
138 "dir-listing-netware-1", 140 "dir-listing-netware-1",
139 "dir-listing-netware-2", 141 "dir-listing-netware-2",
140 "dir-listing-vms-1", 142 "dir-listing-vms-1",
141 "dir-listing-vms-2", 143 "dir-listing-vms-2",
142 "dir-listing-vms-3", 144 "dir-listing-vms-3",
143 "dir-listing-vms-4", 145 "dir-listing-vms-4",
144 "dir-listing-vms-5", 146 "dir-listing-vms-5",
145 "dir-listing-windows-1", 147 "dir-listing-windows-1",
146 "dir-listing-windows-2", 148 "dir-listing-windows-2",
147 }; 149 };
148 150
149 INSTANTIATE_TEST_CASE_P(, FtpDirectoryListingParserTest, 151 INSTANTIATE_TEST_CASE_P(, FtpDirectoryListingParserTest,
150 testing::ValuesIn(kTestFiles)); 152 testing::ValuesIn(kTestFiles));
151 153
152 } // namespace 154 } // namespace
153 155
154 } // namespace net 156 } // namespace net
OLDNEW
« no previous file with comments | « net/ftp/ftp_directory_listing_parser_ls_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698