diff options
author | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-10 00:48:06 +0000 |
---|---|---|
committer | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-10 00:48:06 +0000 |
commit | cfb82161a738147a3c2621ee8e6d0083bbe54c22 (patch) | |
tree | be2702b2e653bcdc832a6db3803f64295d9698e8 /sql/BUILD.gn | |
parent | 8da69f52a6eedded81e2c44e5c64cfab215516ce (diff) | |
download | chromium_src-cfb82161a738147a3c2621ee8e6d0083bbe54c22.zip chromium_src-cfb82161a738147a3c2621ee8e6d0083bbe54c22.tar.gz chromium_src-cfb82161a738147a3c2621ee8e6d0083bbe54c22.tar.bz2 |
[sql] Test recovery of corrupt golden file.
Manually modify a SQLite database to have the problem described by the
bug, then test that it can be recovered.
Also, infrastructure to introduce testing data to sql/ tests.
BUG=387868
Review URL: https://codereview.chromium.org/355093003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282197 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sql/BUILD.gn')
-rw-r--r-- | sql/BUILD.gn | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sql/BUILD.gn b/sql/BUILD.gn index d672841..2029dc3 100644 --- a/sql/BUILD.gn +++ b/sql/BUILD.gn @@ -56,6 +56,11 @@ test("sql_unittests") { "recovery_unittest.cc", "sqlite_features_unittest.cc", "statement_unittest.cc", + "test/paths.cc", + "test/paths.h", + "test/run_all_unittests.cc", + "test/sql_test_suite.cc", + "test/sql_test_suite.h", "transaction_unittest.cc", ] @@ -67,7 +72,7 @@ test("sql_unittests") { ":sql", ":test_support", "//base/allocator", - "//base/test:run_all_unittests", + "//base/test:test_support", "//testing/gtest", "//third_party/sqlite", ] |