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

Side by Side Diff: chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc

Issue 12378016: chrome: Update include paths of string_split.h to its new location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
OLDNEW
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 <string> 5 #include <string>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/format_macros.h" 8 #include "base/format_macros.h"
9 #include "base/stringprintf.h" 9 #include "base/stringprintf.h"
10 #include "base/string_split.h" 10 #include "base/strings/string_split.h"
11 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
12 #include "chrome/renderer/spellchecker/spellcheck_worditerator.h" 12 #include "chrome/renderer/spellchecker/spellcheck_worditerator.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 namespace { 15 namespace {
16 16
17 struct TestCase { 17 struct TestCase {
18 const char* language; 18 const char* language;
19 bool allow_contraction; 19 bool allow_contraction;
20 const wchar_t* expected_words; 20 const wchar_t* expected_words;
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 } 240 }
241 241
242 // Test initialization fails when no default language is set. 242 // Test initialization fails when no default language is set.
243 { 243 {
244 SpellcheckCharAttribute attributes; 244 SpellcheckCharAttribute attributes;
245 245
246 SpellcheckWordIterator iterator; 246 SpellcheckWordIterator iterator;
247 EXPECT_FALSE(iterator.Initialize(&attributes, true)); 247 EXPECT_FALSE(iterator.Initialize(&attributes, true));
248 } 248 }
249 } 249 }
OLDNEW
« no previous file with comments | « chrome/renderer/safe_browsing/phishing_url_feature_extractor.cc ('k') | chrome/service/cloud_print/cloud_print_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698