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

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

Issue 3447008: base: Finish moving the SplitString functions from string_util.h to string_split.h (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: chromeos fixes Created 10 years, 3 months 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_unittest.h" 5 #include "net/ftp/ftp_directory_listing_parser_unittest.h"
6 6
7 #include "base/format_macros.h" 7 #include "base/format_macros.h"
8 #include "base/string_split.h"
8 #include "base/string_util.h" 9 #include "base/string_util.h"
9 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
10 #include "net/ftp/ftp_directory_listing_parser_vms.h" 11 #include "net/ftp/ftp_directory_listing_parser_vms.h"
11 12
12 namespace { 13 namespace {
13 14
14 typedef net::FtpDirectoryListingParserTest FtpDirectoryListingParserVmsTest; 15 typedef net::FtpDirectoryListingParserTest FtpDirectoryListingParserVmsTest;
15 16
16 TEST_F(FtpDirectoryListingParserVmsTest, Good) { 17 TEST_F(FtpDirectoryListingParserVmsTest, Good) {
17 const struct SingleLineTestData good_cases[] = { 18 const struct SingleLineTestData good_cases[] = {
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 if (!parser.ConsumeLine(UTF8ToUTF16(*i))) { 112 if (!parser.ConsumeLine(UTF8ToUTF16(*i))) {
112 failed = true; 113 failed = true;
113 break; 114 break;
114 } 115 }
115 } 116 }
116 EXPECT_TRUE(failed); 117 EXPECT_TRUE(failed);
117 } 118 }
118 } 119 }
119 120
120 } // namespace 121 } // namespace
OLDNEW
« no previous file with comments | « net/ftp/ftp_directory_listing_parser_vms.cc ('k') | net/ftp/ftp_directory_listing_parser_windows.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698