| 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/string_number_conversions.h" | 10 #include "base/string_number_conversions.h" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 "dir-listing-ls-15", | 39 "dir-listing-ls-15", |
| 40 "dir-listing-ls-16", | 40 "dir-listing-ls-16", |
| 41 "dir-listing-ls-17", | 41 "dir-listing-ls-17", |
| 42 "dir-listing-ls-18", | 42 "dir-listing-ls-18", |
| 43 "dir-listing-ls-19", | 43 "dir-listing-ls-19", |
| 44 "dir-listing-ls-20", // TODO(phajdan.jr): should use windows-1251 encoding. | 44 "dir-listing-ls-20", // TODO(phajdan.jr): should use windows-1251 encoding. |
| 45 "dir-listing-ls-21", // TODO(phajdan.jr): should use windows-1251 encoding. | 45 "dir-listing-ls-21", // TODO(phajdan.jr): should use windows-1251 encoding. |
| 46 "dir-listing-ls-22", // TODO(phajdan.jr): should use windows-1251 encoding. | 46 "dir-listing-ls-22", // TODO(phajdan.jr): should use windows-1251 encoding. |
| 47 "dir-listing-ls-23", | 47 "dir-listing-ls-23", |
| 48 "dir-listing-ls-24", | 48 "dir-listing-ls-24", |
| 49 |
| 50 // Tests for Russian listings. The only difference between those |
| 51 // files is character encoding: |
| 52 "dir-listing-ls-25", // UTF-8 |
| 53 "dir-listing-ls-26", // KOI8-R |
| 54 "dir-listing-ls-27", // windows-1251 |
| 55 |
| 49 "dir-listing-netware-1", | 56 "dir-listing-netware-1", |
| 50 "dir-listing-netware-2", | 57 "dir-listing-netware-2", |
| 51 "dir-listing-vms-1", | 58 "dir-listing-vms-1", |
| 52 "dir-listing-vms-2", | 59 "dir-listing-vms-2", |
| 53 "dir-listing-vms-3", | 60 "dir-listing-vms-3", |
| 54 "dir-listing-vms-4", | 61 "dir-listing-vms-4", |
| 55 "dir-listing-vms-5", | 62 "dir-listing-vms-5", |
| 56 "dir-listing-windows-1", | 63 "dir-listing-windows-1", |
| 57 "dir-listing-windows-2", | 64 "dir-listing-windows-2", |
| 58 }; | 65 }; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 EXPECT_EQ(day_of_month, time_exploded.day_of_month); | 140 EXPECT_EQ(day_of_month, time_exploded.day_of_month); |
| 134 EXPECT_EQ(hour, time_exploded.hour); | 141 EXPECT_EQ(hour, time_exploded.hour); |
| 135 EXPECT_EQ(minute, time_exploded.minute); | 142 EXPECT_EQ(minute, time_exploded.minute); |
| 136 } | 143 } |
| 137 } | 144 } |
| 138 } | 145 } |
| 139 | 146 |
| 140 } // namespace | 147 } // namespace |
| 141 | 148 |
| 142 } // namespace net | 149 } // namespace net |
| OLD | NEW |