chromium/storage/browser/quota/quota_database_migrations_unittest.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <memory>

#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/path_service.h"
#include "base/test/metrics/histogram_tester.h"
#include "components/services/storage/public/cpp/constants.h"
#include "sql/database.h"
#include "sql/meta_table.h"
#include "sql/statement.h"
#include "sql/test/test_helpers.h"
#include "storage/browser/quota/quota_database.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace storage {

namespace {

const int kCurrentSchemaVersion =;
const int kCurrentCompatibleVersion =;

std::string RemoveQuotes(std::string input) {}

}  // namespace

class QuotaDatabaseMigrationsTest : public testing::Test {};

// Verify that the schema created by a new `QuotaDatabase` instance matches the
// current test schema file.
TEST_F(QuotaDatabaseMigrationsTest, QuotaDatabaseSchemaMatchesTestSchema) {}

TEST_F(QuotaDatabaseMigrationsTest, UpgradeSchemaFromV7) {}

TEST_F(QuotaDatabaseMigrationsTest, UpgradeSchemaFromV8) {}

TEST_F(QuotaDatabaseMigrationsTest, UpgradeSchemaFromV9) {}

}  // namespace storage