chromium/content/browser/attribution_reporting/attribution_storage_sql_query_plans_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 <memory>
#include <optional>
#include <string>
#include <utility>

#include "base/files/file_path.h"
#include "base/files/scoped_temp_dir.h"
#include "base/strings/string_util.h"
#include "base/test/gmock_expected_support.h"
#include "content/browser/attribution_reporting/attribution_resolver.h"
#include "content/browser/attribution_reporting/attribution_resolver_impl.h"
#include "content/browser/attribution_reporting/attribution_test_utils.h"
#include "content/browser/attribution_reporting/sql_queries.h"
#include "content/browser/attribution_reporting/sql_query_plan_test_util.h"
#include "content/browser/attribution_reporting/storable_source.h"
#include "content/browser/attribution_reporting/store_source_result.h"
#include "content/browser/attribution_reporting/test/configurable_storage_delegate.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace content {
namespace {

ValueIs;
AllOf;

class AttributionSqlQueryPlanTest : public testing::Test {};

TEST_F(AttributionSqlQueryPlanTest, kMinPrioritySql) {}

TEST_F(AttributionSqlQueryPlanTest, kGetMatchingSourcesSql) {}

TEST_F(AttributionSqlQueryPlanTest, kSelectExpiredSourcesSql) {}

TEST_F(AttributionSqlQueryPlanTest, kSelectInactiveSourcesSql) {}

TEST_F(AttributionSqlQueryPlanTest, kScanSourcesData) {}

TEST_F(AttributionSqlQueryPlanTest, kScanReportsData) {}

TEST_F(AttributionSqlQueryPlanTest, kDeleteVestigialConversionSql) {}

TEST_F(AttributionSqlQueryPlanTest, kCountSourcesSql) {}

TEST_F(AttributionSqlQueryPlanTest, kDedupKeySql) {}

TEST_F(AttributionSqlQueryPlanTest, kGetSourcesDataKeysSql) {}

TEST_F(AttributionSqlQueryPlanTest, kGetNullReportsDataKeysSql) {}

TEST_F(AttributionSqlQueryPlanTest, kGetRateLimitDataKeysSql) {}

TEST_F(AttributionSqlQueryPlanTest, kCountReportsForDestinationSql) {}

TEST_F(AttributionSqlQueryPlanTest, kNextReportTimeSql) {}

TEST_F(AttributionSqlQueryPlanTest, kSetReportTimeSql) {}

TEST_F(AttributionSqlQueryPlanTest, kReadSourceToAttributeSql) {}

TEST_F(AttributionSqlQueryPlanTest, kGetActiveSourcesSql) {}

TEST_F(AttributionSqlQueryPlanTest, kGetReportsSql) {}

TEST_F(AttributionSqlQueryPlanTest, kGetReportSql) {}

TEST_F(AttributionSqlQueryPlanTest, kUpdateFailedReportSql) {}

TEST_F(AttributionSqlQueryPlanTest,
       kDeleteEventLevelReportsForDestinationLimitSql) {}

TEST_F(AttributionSqlQueryPlanTest,
       kDeleteAggregatableReportsForDestinationLimitSql) {}

TEST_F(AttributionSqlQueryPlanTest, kRateLimitAttributionAllowedSql) {}

TEST_F(AttributionSqlQueryPlanTest, kRateLimitSourceAllowedSql) {}

TEST_F(AttributionSqlQueryPlanTest,
       kRateLimitSourceAllowedDestinationRateLimitSql) {}

TEST_F(AttributionSqlQueryPlanTest,
       kRateLimitSourceAllowedDestinationPerDayRateLimitSql) {}

TEST_F(AttributionSqlQueryPlanTest, kRateLimitSourceReportingOriginsBySiteSql) {}

TEST_F(AttributionSqlQueryPlanTest, kRateLimitSelectSourceReportingOriginsSql) {}

TEST_F(AttributionSqlQueryPlanTest,
       kRateLimitSelectAttributionReportingOriginsSql) {}

TEST_F(AttributionSqlQueryPlanTest, kDeleteRateLimitRangeSql) {}

TEST_F(AttributionSqlQueryPlanTest, kSelectRateLimitsForDeletionSql) {}

TEST_F(AttributionSqlQueryPlanTest, kDeleteExpiredRateLimitsSql) {}

TEST_F(AttributionSqlQueryPlanTest, kDeleteRateLimitsBySourceIdSql) {}

TEST_F(AttributionSqlQueryPlanTest, kDeactivateForSourceDestinationLimitSql) {}

TEST_F(AttributionSqlQueryPlanTest, kDeleteAttributionRateLimitByReportIdSql) {}

TEST_F(AttributionSqlQueryPlanTest,
       kAggregatableDebugReportAllowedForRateLimitSql) {}

TEST_F(AttributionSqlQueryPlanTest,
       kDeleteExpiredAggregatableDebugRateLimitsSql) {}

TEST_F(AttributionSqlQueryPlanTest,
       kSelectAggregatableDebugRateLimitsForDeletionSql) {}

TEST_F(AttributionSqlQueryPlanTest, kDeleteAggregatableDebugRateLimitRangeSql) {}

}  // namespace
}  // namespace content