OLD | NEW |
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 Loading... |
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 |
OLD | NEW |