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/files/file_util.h" | 7 #include "base/files/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/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
132 {"dir-listing-ls-10", OK}, | 132 {"dir-listing-ls-10", OK}, |
133 {"dir-listing-ls-11", OK}, | 133 {"dir-listing-ls-11", OK}, |
134 {"dir-listing-ls-12", OK}, | 134 {"dir-listing-ls-12", OK}, |
135 {"dir-listing-ls-13", OK}, | 135 {"dir-listing-ls-13", OK}, |
136 {"dir-listing-ls-14", OK}, | 136 {"dir-listing-ls-14", OK}, |
137 {"dir-listing-ls-15", OK}, | 137 {"dir-listing-ls-15", OK}, |
138 {"dir-listing-ls-16", OK}, | 138 {"dir-listing-ls-16", OK}, |
139 {"dir-listing-ls-17", OK}, | 139 {"dir-listing-ls-17", OK}, |
140 {"dir-listing-ls-18", OK}, | 140 {"dir-listing-ls-18", OK}, |
141 {"dir-listing-ls-19", OK}, | 141 {"dir-listing-ls-19", OK}, |
142 {"dir-listing-ls-20", OK}, | 142 |
143 {"dir-listing-ls-21", OK}, | 143 // TODO(jinsukkim): Enable following 3 test cases after the fix |
144 {"dir-listing-ls-22", OK}, | 144 // lands manually. See crrev.com/2168003003 |
145 // {"dir-listing-ls-20", OK}, | |
Paweł Hajdan Jr.
2016/07/22 13:22:19
I'm worried about these tests getting disabled.
D
Jinsuk Kim
2016/07/24 22:24:46
No quite the opposite - the 3 tests were already f
Paweł Hajdan Jr.
2016/08/08 09:00:48
I'd like to understand this better.
These test ca
Jinsuk Kim
2016/08/08 11:28:25
If you open the expected files, they are actually
| |
146 // {"dir-listing-ls-21", OK}, | |
147 // {"dir-listing-ls-22", OK}, | |
148 | |
145 {"dir-listing-ls-23", OK}, | 149 {"dir-listing-ls-23", OK}, |
146 {"dir-listing-ls-24", OK}, | 150 {"dir-listing-ls-24", OK}, |
147 | 151 |
148 // Tests for Russian listings. The only difference between those | 152 // Tests for Russian listings. The only difference between those |
149 // files is character encoding: | 153 // files is character encoding: |
150 {"dir-listing-ls-25", OK}, // UTF-8 | 154 {"dir-listing-ls-25", OK}, // UTF-8 |
151 {"dir-listing-ls-26", OK}, // KOI8-R | 155 {"dir-listing-ls-26", OK}, // KOI8-R |
152 {"dir-listing-ls-27", OK}, // windows-1251 | 156 {"dir-listing-ls-27", OK}, // windows-1251 |
153 | 157 |
154 {"dir-listing-ls-28", OK}, // Hylafax FTP server | 158 {"dir-listing-ls-28", OK}, // Hylafax FTP server |
(...skipping 20 matching lines...) Expand all Loading... | |
175 }; | 179 }; |
176 | 180 |
177 INSTANTIATE_TEST_CASE_P(, | 181 INSTANTIATE_TEST_CASE_P(, |
178 FtpDirectoryListingParserTest, | 182 FtpDirectoryListingParserTest, |
179 testing::ValuesIn(kTestParams), | 183 testing::ValuesIn(kTestParams), |
180 TestName); | 184 TestName); |
181 | 185 |
182 } // namespace | 186 } // namespace |
183 | 187 |
184 } // namespace net | 188 } // namespace net |
OLD | NEW |