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

Side by Side Diff: sql/test/sql_test_base.h

Issue 1851913002: Convert //sql to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IWYU fixup in precache_url_table_unittest.cc Created 4 years, 8 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
« no previous file with comments | « sql/recovery_unittest.cc ('k') | sql/test/test_helpers.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef SQL_TEST_SQL_TEST_BASE_H_ 5 #ifndef SQL_TEST_SQL_TEST_BASE_H_
6 #define SQL_TEST_SQL_TEST_BASE_H_ 6 #define SQL_TEST_SQL_TEST_BASE_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/files/scoped_temp_dir.h" 9 #include "base/files/scoped_temp_dir.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "sql/connection.h" 11 #include "sql/connection.h"
13 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
14 13
15 namespace sql { 14 namespace sql {
16 15
17 class Connection; 16 class Connection;
18 17
19 // Base class for SQL tests. 18 // Base class for SQL tests.
20 // 19 //
21 // WARNING: We want to run the same gtest based unit test code both against 20 // WARNING: We want to run the same gtest based unit test code both against
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 private: 69 private:
71 base::ScopedTempDir temp_dir_; 70 base::ScopedTempDir temp_dir_;
72 sql::Connection db_; 71 sql::Connection db_;
73 72
74 DISALLOW_COPY_AND_ASSIGN(SQLTestBase); 73 DISALLOW_COPY_AND_ASSIGN(SQLTestBase);
75 }; 74 };
76 75
77 } // namespace sql 76 } // namespace sql
78 77
79 #endif // SQL_TEST_SQL_TEST_BASE_H_ 78 #endif // SQL_TEST_SQL_TEST_BASE_H_
OLDNEW
« no previous file with comments | « sql/recovery_unittest.cc ('k') | sql/test/test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698