chromium/tools/json_schema_compiler/test/features_generation_unittest.cc

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

#include <optional>

#include "base/test/bind.h"
#include "extensions/common/extensions_client.h"
#include "extensions/common/features/complex_feature.h"
#include "extensions/common/features/feature.h"
#include "extensions/common/features/feature_provider.h"
#include "extensions/common/features/simple_feature.h"
#include "extensions/common/mojom/context_type.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "tools/json_schema_compiler/test/features_compiler_test.h"

namespace extensions {

namespace {

template <typename T>
void ExpectVectorsEqual(std::vector<T> expected,
                        std::vector<T> actual,
                        const std::string& name) {}

template <typename T>
void ExpectOptionalVectorsEqual(const std::optional<std::vector<T>>& expected,
                                const std::optional<std::vector<T>>& actual,
                                const std::string& name) {}

const bool kDefaultAutoGrant =;
const bool kDefaultInternal =;
const bool kDefaultRequiresDelegatedAvailabilityCheck =;

}  // namespace

// A utility object for comparing a feature with its expected value.
struct FeatureComparator {};

FeatureComparator::FeatureComparator(const std::string& name)
    :{}

FeatureComparator::~FeatureComparator() = default;

void FeatureComparator::CompareFeature(const SimpleFeature* feature) {}

TEST(FeaturesGenerationTest, FeaturesTest) {}

}  // namespace extensions