
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
26 lines
565 B
C++
26 lines
565 B
C++
// Copyright 2014 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#include "sql/test/sql_test_suite.h"
|
|
|
|
#include "sql/test/paths.h"
|
|
|
|
namespace sql {
|
|
|
|
SQLTestSuite::SQLTestSuite(int argc, char** argv)
|
|
: base::TestSuite(argc, argv) {}
|
|
|
|
SQLTestSuite::~SQLTestSuite() {}
|
|
|
|
void SQLTestSuite::Initialize() {
|
|
base::TestSuite::Initialize();
|
|
sql::test::RegisterPathProvider();
|
|
}
|
|
|
|
void SQLTestSuite::Shutdown() {
|
|
base::TestSuite::Shutdown();
|
|
}
|
|
|
|
} // namespace sql
|