chromium/components/autofill/core/browser/webdata/autofill_sync_metadata_table_unittest.cc

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

#include "components/autofill/core/browser/webdata/autofill_sync_metadata_table.h"

#include <string>

#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "components/sync/base/data_type.h"
#include "components/sync/model/metadata_batch.h"
#include "components/sync/protocol/data_type_state.pb.h"
#include "components/sync/protocol/entity_metadata.pb.h"
#include "components/webdata/common/web_database.h"
#include "sql/statement.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace autofill {

namespace {

DataTypeState;
EntityMetadata;
EntityMetadataMap;
MetadataBatch;
ElementsAre;
UnorderedElementsAre;

class AutfillSyncMetadataTableTest
    : public testing::Test,
      public testing::WithParamInterface<syncer::DataType> {};

TEST_P(AutfillSyncMetadataTableTest, AutofillNoMetadata) {}

TEST_P(AutfillSyncMetadataTableTest, AutofillGetAllSyncMetadata) {}

TEST_P(AutfillSyncMetadataTableTest, AutofillWriteThenDeleteSyncMetadata) {}

TEST_P(AutfillSyncMetadataTableTest, AutofillCorruptSyncMetadata) {}

TEST_P(AutfillSyncMetadataTableTest, AutofillCorruptDataTypeState) {}

INSTANTIATE_TEST_SUITE_P(
    AutofillTableTest,
    AutfillSyncMetadataTableTest,
    testing::ValuesIn([] {};

}  // namespace

}  // namespace autofill