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

Side by Side Diff: chrome/browser/history/text_database_manager_unittest.cc

Issue 7353026: Move app/sql/* files to sql/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 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
« no previous file with comments | « chrome/browser/history/text_database.cc ('k') | chrome/browser/history/thumbnail_database.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "app/sql/connection.h"
6 #include "base/file_path.h" 5 #include "base/file_path.h"
7 #include "base/file_util.h" 6 #include "base/file_util.h"
8 #include "base/message_loop.h" 7 #include "base/message_loop.h"
9 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
10 #include "chrome/browser/history/text_database_manager.h" 9 #include "chrome/browser/history/text_database_manager.h"
11 #include "chrome/browser/history/visit_database.h" 10 #include "chrome/browser/history/visit_database.h"
11 #include "sql/connection.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 using base::Time; 14 using base::Time;
15 using base::TimeDelta; 15 using base::TimeDelta;
16 using base::TimeTicks; 16 using base::TimeTicks;
17 17
18 namespace history { 18 namespace history {
19 19
20 namespace { 20 namespace {
21 21
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 EXPECT_TRUE(ResultsHaveURL(results, kURL2)); 528 EXPECT_TRUE(ResultsHaveURL(results, kURL2));
529 EXPECT_TRUE(ResultsHaveURL(results, kURL1)); 529 EXPECT_TRUE(ResultsHaveURL(results, kURL1));
530 530
531 // Try to query some more, there should be no results. 531 // Try to query some more, there should be no results.
532 options.end_time = first_time_searched; 532 options.end_time = first_time_searched;
533 manager.GetTextMatches(foo, options, &results, &first_time_searched); 533 manager.GetTextMatches(foo, options, &results, &first_time_searched);
534 EXPECT_EQ(0U, results.size()); 534 EXPECT_EQ(0U, results.size());
535 } 535 }
536 536
537 } // namespace history 537 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/history/text_database.cc ('k') | chrome/browser/history/thumbnail_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698