diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-07 08:52:23 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-07 08:52:23 +0000 |
commit | 8c79c2041a6131672e7241cf91caabf63ed7109b (patch) | |
tree | 0291220bacfd0c93e5afa5a837a733f3ad87ef56 /net/data/ftp | |
parent | 49ab5043474c2109b2dc6f6feb86a6f5d7a6dfdd (diff) | |
download | chromium_src-8c79c2041a6131672e7241cf91caabf63ed7109b.zip chromium_src-8c79c2041a6131672e7241cf91caabf63ed7109b.tar.gz chromium_src-8c79c2041a6131672e7241cf91caabf63ed7109b.tar.bz2 |
Implement Windows FTP directory listing parser.
TEST=Covered by net_unittests.
BUG=25520
Review URL: http://codereview.chromium.org/374010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31376 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/data/ftp')
-rw-r--r-- | net/data/ftp/dir-listing-windows-1 | 2 | ||||
-rw-r--r-- | net/data/ftp/dir-listing-windows-1.expected | 17 | ||||
-rw-r--r-- | net/data/ftp/dir-listing-windows-2 | 16 | ||||
-rw-r--r-- | net/data/ftp/dir-listing-windows-2.expected | 143 |
4 files changed, 178 insertions, 0 deletions
diff --git a/net/data/ftp/dir-listing-windows-1 b/net/data/ftp/dir-listing-windows-1 new file mode 100644 index 0000000..a8ff16d --- /dev/null +++ b/net/data/ftp/dir-listing-windows-1 @@ -0,0 +1,2 @@ +11-02-09 05:32PM <DIR> NT +01-06-09 02:42PM 458 Readme.txt diff --git a/net/data/ftp/dir-listing-windows-1.expected b/net/data/ftp/dir-listing-windows-1.expected new file mode 100644 index 0000000..8fbbb48 --- /dev/null +++ b/net/data/ftp/dir-listing-windows-1.expected @@ -0,0 +1,17 @@ +d +NT +-1 +2009 +11 +2 +17 +32 + +- +Readme.txt +458 +2009 +1 +6 +14 +42 diff --git a/net/data/ftp/dir-listing-windows-2 b/net/data/ftp/dir-listing-windows-2 new file mode 100644 index 0000000..f62fea4 --- /dev/null +++ b/net/data/ftp/dir-listing-windows-2 @@ -0,0 +1,16 @@ +05-18-09 11:07AM <DIR> beta +01-06-09 04:25PM <DIR> cdrom +01-06-09 02:38PM 129 checkdownload.html +08-19-09 11:23AM <DIR> Digital_Media_Player +12-29-08 10:27PM <DIR> LiveUpdate +08-20-09 04:34PM <DIR> mb +01-06-09 02:38PM 83933 Mb.eng +11-04-09 03:42PM <DIR> misc +06-12-09 04:20PM 462 Path.idx +12-30-08 07:41AM <DIR> PDA +01-06-09 02:38PM 2625 Platform.idx +12-30-08 07:41AM <DIR> print +01-06-09 02:42PM 458 Readme.txt +10-28-09 02:27PM <DIR> server +12-30-08 08:59AM <DIR> vga +02-03-09 04:42PM 1951823 VH203_FR.pdf diff --git a/net/data/ftp/dir-listing-windows-2.expected b/net/data/ftp/dir-listing-windows-2.expected new file mode 100644 index 0000000..81388ee --- /dev/null +++ b/net/data/ftp/dir-listing-windows-2.expected @@ -0,0 +1,143 @@ +d +beta +-1 +2009 +5 +18 +11 +7 + +d +cdrom +-1 +2009 +1 +6 +16 +25 + +- +checkdownload.html +129 +2009 +1 +6 +14 +38 + +d +Digital_Media_Player +-1 +2009 +8 +19 +11 +23 + +d +LiveUpdate +-1 +2008 +12 +29 +22 +27 + +d +mb +-1 +2009 +8 +20 +16 +34 + +- +Mb.eng +83933 +2009 +1 +6 +14 +38 + +d +misc +-1 +2009 +11 +4 +15 +42 + +- +Path.idx +462 +2009 +6 +12 +16 +20 + +d +PDA +-1 +2008 +12 +30 +7 +41 + +- +Platform.idx +2625 +2009 +1 +6 +14 +38 + +d +print +-1 +2008 +12 +30 +7 +41 + +- +Readme.txt +458 +2009 +1 +6 +14 +42 + +d +server +-1 +2009 +10 +28 +14 +27 + +d +vga +-1 +2008 +12 +30 +8 +59 + +- +VH203_FR.pdf +1951823 +2009 +2 +3 +16 +42 |