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

Side by Side Diff: chrome/browser/autocomplete/autocomplete_result_unittest.cc

Issue 10699032: autocomplete: Extract AutocompleteResult from autocomplete.*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move comments Created 8 years, 5 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) 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 "chrome/browser/autocomplete/autocomplete_result.h"
6
5 #include "base/string_number_conversions.h" 7 #include "base/string_number_conversions.h"
6 #include "base/string_util.h" 8 #include "base/string_util.h"
7 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/autocomplete/autocomplete.h" 10 #include "chrome/browser/autocomplete/autocomplete.h"
9 #include "chrome/browser/autocomplete/autocomplete_match.h" 11 #include "chrome/browser/autocomplete/autocomplete_match.h"
10 #include "chrome/browser/autocomplete/autocomplete_provider.h" 12 #include "chrome/browser/autocomplete/autocomplete_provider.h"
11 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
12 14
13 class AutocompleteResultTest : public testing::Test { 15 class AutocompleteResultTest : public testing::Test {
14 public: 16 public:
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 { 5, 1, 550 }, 181 { 5, 1, 550 },
180 { 2, 0, 400 }, 182 { 2, 0, 400 },
181 { 3, 1, 300 }, 183 { 3, 1, 300 },
182 }; 184 };
183 185
184 ASSERT_NO_FATAL_FAILURE( 186 ASSERT_NO_FATAL_FAILURE(
185 RunCopyOldMatchesTest(last, ARRAYSIZE_UNSAFE(last), 187 RunCopyOldMatchesTest(last, ARRAYSIZE_UNSAFE(last),
186 current, ARRAYSIZE_UNSAFE(current), 188 current, ARRAYSIZE_UNSAFE(current),
187 result, ARRAYSIZE_UNSAFE(result))); 189 result, ARRAYSIZE_UNSAFE(result)));
188 } 190 }
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_result.cc ('k') | chrome/browser/autocomplete/history_quick_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698