diff options
Diffstat (limited to 'sql/statement_unittest.cc')
-rw-r--r-- | sql/statement_unittest.cc | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/sql/statement_unittest.cc b/sql/statement_unittest.cc index 38f1778..1565b3e 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 |