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

Unified Diff: chrome/browser/history/query_parser_unittest.cc

Issue 18758: Port some unit tests from chrome/browser/ (Closed)
Patch Set: port the tests Created 11 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/history/query_parser_unittest.cc
diff --git a/chrome/browser/history/query_parser_unittest.cc b/chrome/browser/history/query_parser_unittest.cc
index 3f75989db8edf9448e3c1b9f358f6778b0f48697..25d4f4e0cc18d1fd68b6edb21a4fc6bc4eb20538 100644
--- a/chrome/browser/history/query_parser_unittest.cc
+++ b/chrome/browser/history/query_parser_unittest.cc
@@ -88,10 +88,10 @@ TEST_F(QueryParserTest, ParseQueryNodesAndMatch) {
const std::wstring query;
const std::wstring text;
const bool matches;
- const int m1_start;
- const int m1_end;
- const int m2_start;
- const int m2_end;
+ const size_t m1_start;
+ const size_t m1_end;
+ const size_t m2_start;
+ const size_t m2_end;
} data[] = {
{ L"foo foo", L"foo", true, 0, 3, 0, 0 },
{ L"foo fooey", L"fooey", true, 0, 5, 0, 0 },
« no previous file with comments | « chrome/browser/history/history_querying_unittest.cc ('k') | chrome/browser/history/starred_url_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698