OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 "dir-listing-ls-29", |
| 140 "dir-listing-ls-30", |
140 | 141 |
141 "dir-listing-netware-1", | 142 "dir-listing-netware-1", |
142 "dir-listing-netware-2", | 143 "dir-listing-netware-2", |
| 144 "dir-listing-netware-3", // Spaces in file names. |
143 "dir-listing-os2-1", | 145 "dir-listing-os2-1", |
144 "dir-listing-vms-1", | 146 "dir-listing-vms-1", |
145 "dir-listing-vms-2", | 147 "dir-listing-vms-2", |
146 "dir-listing-vms-3", | 148 "dir-listing-vms-3", |
147 "dir-listing-vms-4", | 149 "dir-listing-vms-4", |
148 "dir-listing-vms-5", | 150 "dir-listing-vms-5", |
149 "dir-listing-windows-1", | 151 "dir-listing-windows-1", |
150 "dir-listing-windows-2", | 152 "dir-listing-windows-2", |
151 }; | 153 }; |
152 | 154 |
153 INSTANTIATE_TEST_CASE_P(, FtpDirectoryListingParserTest, | 155 INSTANTIATE_TEST_CASE_P(, FtpDirectoryListingParserTest, |
154 testing::ValuesIn(kTestFiles)); | 156 testing::ValuesIn(kTestFiles)); |
155 | 157 |
156 } // namespace | 158 } // namespace |
157 | 159 |
158 } // namespace net | 160 } // namespace net |
OLD | NEW |