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

Side by Side Diff: sql/sqlite_features_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 | « sql/sql.gyp ('k') | sql/statement.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 <string> 5 #include <string>
6 6
7 #include "app/sql/connection.h"
8 #include "app/sql/statement.h"
9 #include "base/file_path.h" 7 #include "base/file_path.h"
10 #include "base/file_util.h" 8 #include "base/file_util.h"
11 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "sql/connection.h"
11 #include "sql/statement.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "third_party/sqlite/sqlite3.h" 13 #include "third_party/sqlite/sqlite3.h"
14 14
15 // Test that certain features are/are-not enabled in our SQLite. 15 // Test that certain features are/are-not enabled in our SQLite.
16 16
17 namespace { 17 namespace {
18 18
19 19
20 class StatementErrorHandler : public sql::ErrorDelegate { 20 class StatementErrorHandler : public sql::ErrorDelegate {
21 public: 21 public:
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 TEST_F(SQLiteFeaturesTest, FTS2) { 91 TEST_F(SQLiteFeaturesTest, FTS2) {
92 ASSERT_TRUE(db().Execute("CREATE VIRTUAL TABLE foo USING fts2(x)")); 92 ASSERT_TRUE(db().Execute("CREATE VIRTUAL TABLE foo USING fts2(x)"));
93 } 93 }
94 94
95 // fts3 is used for current history files, and also for WebDatabase. 95 // fts3 is used for current history files, and also for WebDatabase.
96 TEST_F(SQLiteFeaturesTest, FTS3) { 96 TEST_F(SQLiteFeaturesTest, FTS3) {
97 ASSERT_TRUE(db().Execute("CREATE VIRTUAL TABLE foo USING fts3(x)")); 97 ASSERT_TRUE(db().Execute("CREATE VIRTUAL TABLE foo USING fts3(x)"));
98 } 98 }
99 99
100 } // namespace 100 } // namespace
OLDNEW
« no previous file with comments | « sql/sql.gyp ('k') | sql/statement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698