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

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

Issue 472003: Compatibility updates for "ls -l" style FTP LIST response parser: (Closed)
Patch Set: fix a bug Created 11 years 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
« no previous file with comments | « net/data/ftp/dir-listing-ls-16.expected ('k') | net/ftp/ftp_directory_listing_parser_ls.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_buffer.h" 5 #include "net/ftp/ftp_directory_listing_buffer.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_tokenizer.h" 10 #include "base/string_tokenizer.h"
(...skipping 14 matching lines...) Expand all
25 "dir-listing-ls-5", 25 "dir-listing-ls-5",
26 "dir-listing-ls-6", 26 "dir-listing-ls-6",
27 "dir-listing-ls-7", 27 "dir-listing-ls-7",
28 "dir-listing-ls-8", 28 "dir-listing-ls-8",
29 "dir-listing-ls-9", 29 "dir-listing-ls-9",
30 "dir-listing-ls-10", 30 "dir-listing-ls-10",
31 "dir-listing-ls-11", 31 "dir-listing-ls-11",
32 "dir-listing-ls-12", 32 "dir-listing-ls-12",
33 "dir-listing-ls-13", 33 "dir-listing-ls-13",
34 "dir-listing-ls-14", 34 "dir-listing-ls-14",
35 "dir-listing-ls-15",
36 "dir-listing-ls-16",
35 "dir-listing-netware-1", 37 "dir-listing-netware-1",
36 "dir-listing-netware-2", 38 "dir-listing-netware-2",
37 "dir-listing-vms-1", 39 "dir-listing-vms-1",
38 "dir-listing-vms-2", 40 "dir-listing-vms-2",
39 "dir-listing-vms-3", 41 "dir-listing-vms-3",
40 "dir-listing-vms-4", 42 "dir-listing-vms-4",
41 "dir-listing-vms-5", 43 "dir-listing-vms-5",
42 "dir-listing-windows-1", 44 "dir-listing-windows-1",
43 "dir-listing-windows-2", 45 "dir-listing-windows-2",
44 }; 46 };
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 EXPECT_EQ(hour, time_exploded.hour); 119 EXPECT_EQ(hour, time_exploded.hour);
118 EXPECT_EQ(minute, time_exploded.minute); 120 EXPECT_EQ(minute, time_exploded.minute);
119 EXPECT_EQ(0, time_exploded.second); 121 EXPECT_EQ(0, time_exploded.second);
120 EXPECT_EQ(0, time_exploded.millisecond); 122 EXPECT_EQ(0, time_exploded.millisecond);
121 } 123 }
122 EXPECT_FALSE(buffer.EntryAvailable()); 124 EXPECT_FALSE(buffer.EntryAvailable());
123 } 125 }
124 } 126 }
125 127
126 } // namespace 128 } // namespace
OLDNEW
« no previous file with comments | « net/data/ftp/dir-listing-ls-16.expected ('k') | net/ftp/ftp_directory_listing_parser_ls.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698