chromium/chrome/browser/ui/views/user_education/browser_user_education_service_unittest.cc

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

#include "chrome/browser/ui/views/user_education/browser_user_education_service.h"

#include <iterator>
#include <string>
#include <vector>

#include "base/strings/string_util.h"
#include "base/test/metrics/action_suffix_reader.h"
#include "base/test/metrics/histogram_variants_reader.h"
#include "base/threading/thread_restrictions.h"
#include "build/build_config.h"
#include "components/feature_engagement/public/configuration.h"
#include "components/feature_engagement/public/feature_configurations.h"
#include "components/feature_engagement/public/feature_constants.h"
#include "components/user_education/common/feature_promo_registry.h"
#include "components/user_education/common/tutorial_registry.h"
#include "components/user_education/common/user_education_metadata.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace {

// Checks metadata and returns a list of errors.
std::vector<std::string> CheckMetadata(
    const user_education::Metadata& metadata) {}

template <size_t N>
bool Contains(const char* const (&values)[N], const std::string& value) {}

}  // namespace

TEST(BrowserUserEducationServiceTest, CheckFeaturePromoHistograms) {}

TEST(BrowserUserEducationServiceTest, CheckFeaturePromoActions) {}

TEST(BrowserUserEducationServiceTest, CheckNewBadgeHistograms) {}

TEST(BrowserUserEducationServiceTest, CheckTutorialHistograms) {}

TEST(BrowserUserEducationServiceTest, PreventNewHardCodedConfigurations) {}

TEST(BrowserUserEducationServiceTest, CheckFeaturePromoMetadata) {}

TEST(BrowserUserEducationServiceTest, CheckTutorialPromoMetadata) {}

TEST(BrowserUserEducationServiceTest, CheckNewBadgeMetadata) {}