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

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

Issue 7590011: FTP: add directory listing parser for OS/2 format. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes 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
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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 139
140 "dir-listing-netware-1", 140 "dir-listing-netware-1",
141 "dir-listing-netware-2", 141 "dir-listing-netware-2",
142 "dir-listing-os2-1",
142 "dir-listing-vms-1", 143 "dir-listing-vms-1",
143 "dir-listing-vms-2", 144 "dir-listing-vms-2",
144 "dir-listing-vms-3", 145 "dir-listing-vms-3",
145 "dir-listing-vms-4", 146 "dir-listing-vms-4",
146 "dir-listing-vms-5", 147 "dir-listing-vms-5",
147 "dir-listing-windows-1", 148 "dir-listing-windows-1",
148 "dir-listing-windows-2", 149 "dir-listing-windows-2",
149 }; 150 };
150 151
151 INSTANTIATE_TEST_CASE_P(, FtpDirectoryListingParserTest, 152 INSTANTIATE_TEST_CASE_P(, FtpDirectoryListingParserTest,
152 testing::ValuesIn(kTestFiles)); 153 testing::ValuesIn(kTestFiles));
153 154
154 } // namespace 155 } // namespace
155 156
156 } // namespace net 157 } // namespace net
OLDNEW
« no previous file with comments | « net/ftp/ftp_directory_listing_parser_os2_unittest.cc ('k') | net/ftp/ftp_directory_listing_parser_windows.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698