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

Unified Diff: sql/transaction_unittest.cc

Issue 817403002: Standardize usage of virtual/override/final specifiers in sql/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sql/test/sql_test_suite.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sql/transaction_unittest.cc
diff --git a/sql/transaction_unittest.cc b/sql/transaction_unittest.cc
index 5625041eb5fe34d2fc7447bbe7257e37cffc8b97..83d41259b2400380e98587266dc80a26eb1a8c94 100644
--- a/sql/transaction_unittest.cc
+++ b/sql/transaction_unittest.cc
@@ -12,7 +12,7 @@
class SQLTransactionTest : public testing::Test {
public:
- virtual void SetUp() {
+ void SetUp() override {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
ASSERT_TRUE(db_.Open(
temp_dir_.path().AppendASCII("SQLTransactionTest.db")));
@@ -20,9 +20,7 @@ class SQLTransactionTest : public testing::Test {
ASSERT_TRUE(db().Execute("CREATE TABLE foo (a, b)"));
}
- virtual void TearDown() {
- db_.Close();
- }
+ void TearDown() override { db_.Close(); }
sql::Connection& db() { return db_; }
« no previous file with comments | « sql/test/sql_test_suite.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698