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

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

Issue 10068016: FTP: make the code handling server messages in directory listings more general. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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.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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 138 "dir-listing-ls-28", // Hylafax FTP server
139 "dir-listing-ls-29",
139 140
140 "dir-listing-netware-1", 141 "dir-listing-netware-1",
141 "dir-listing-netware-2", 142 "dir-listing-netware-2",
142 "dir-listing-os2-1", 143 "dir-listing-os2-1",
143 "dir-listing-vms-1", 144 "dir-listing-vms-1",
144 "dir-listing-vms-2", 145 "dir-listing-vms-2",
145 "dir-listing-vms-3", 146 "dir-listing-vms-3",
146 "dir-listing-vms-4", 147 "dir-listing-vms-4",
147 "dir-listing-vms-5", 148 "dir-listing-vms-5",
148 "dir-listing-windows-1", 149 "dir-listing-windows-1",
149 "dir-listing-windows-2", 150 "dir-listing-windows-2",
150 }; 151 };
151 152
152 INSTANTIATE_TEST_CASE_P(, FtpDirectoryListingParserTest, 153 INSTANTIATE_TEST_CASE_P(, FtpDirectoryListingParserTest,
153 testing::ValuesIn(kTestFiles)); 154 testing::ValuesIn(kTestFiles));
154 155
155 } // namespace 156 } // namespace
156 157
157 } // namespace net 158 } // namespace net
OLDNEW
« no previous file with comments | « net/ftp/ftp_directory_listing_parser_ls.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698