[sql] Test recovery of corrupt golden file.
commitcfb82161a738147a3c2621ee8e6d0083bbe54c22
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 10 Jul 2014 00:48:06 +0000 (10 00:48 +0000)
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 10 Jul 2014 00:48:06 +0000 (10 00:48 +0000)
treebe2702b2e653bcdc832a6db3803f64295d9698e8
parent8da69f52a6eedded81e2c44e5c64cfab215516ce
[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
build/android/pylib/gtest/setup.py
sql/BUILD.gn
sql/recovery_unittest.cc
sql/sql.gyp
sql/sql_unittests.isolate [new file with mode: 0644]
sql/test/paths.cc [new file with mode: 0644]
sql/test/paths.h [new file with mode: 0644]
sql/test/run_all_unittests.cc [new file with mode: 0644]
sql/test/sql_test_suite.cc [new file with mode: 0644]
sql/test/sql_test_suite.h [new file with mode: 0644]