Index: sql/statement_unittest.cc |
diff --git a/sql/statement_unittest.cc b/sql/statement_unittest.cc |
index 38f1778d7361675dde3fcde4e17e6d4e8ffcfdfe..1565b3e48a97bdd936ae3fd52aee324d4a8e906d 100644 |
--- a/sql/statement_unittest.cc |
+++ b/sql/statement_unittest.cc |
@@ -8,6 +8,7 @@ |
#include "base/files/file_util.h" |
#include "base/files/scoped_temp_dir.h" |
#include "sql/connection.h" |
+#include "sql/correct_sql_test_base.h" |
#include "sql/statement.h" |
#include "sql/test/error_callback_support.h" |
#include "sql/test/scoped_error_ignorer.h" |
@@ -16,21 +17,7 @@ |
namespace { |
-class SQLStatementTest : public testing::Test { |
- public: |
- void SetUp() override { |
- ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); |
- ASSERT_TRUE(db_.Open(temp_dir_.path().AppendASCII("SQLStatementTest.db"))); |
- } |
- |
- void TearDown() override { db_.Close(); } |
- |
- sql::Connection& db() { return db_; } |
- |
- private: |
- base::ScopedTempDir temp_dir_; |
- sql::Connection db_; |
-}; |
+using SQLStatementTest = sql::SQLTestBase; |
} // namespace |