chromium/chrome/browser/ui/webui/support_tool/support_tool_ui_utils_unittest.cc

// Copyright 2022 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/webui/support_tool/support_tool_ui_utils.h"

#include <memory>
#include <optional>
#include <set>
#include <string>

#include "base/containers/contains.h"
#include "base/containers/fixed_flat_map.h"
#include "base/containers/to_vector.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "chrome/browser/support_tool/data_collection_module.pb.h"
#include "chrome/browser/support_tool/data_collector.h"
#include "chrome/grit/branded_strings.h"
#include "chrome/grit/generated_resources.h"
#include "chrome/test/base/testing_browser_process.h"
#include "chrome/test/base/testing_profile_manager.h"
#include "components/feedback/redaction_tool/pii_types.h"
#include "content/public/test/browser_task_environment.h"
#include "net/base/url_util.h"
#include "testing/gmock/include/gmock/gmock-matchers.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/l10n/l10n_util.h"

#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "chrome/browser/ash/crosapi/fake_browser_manager.h"
#endif  // BUILDFLAG(IS_CHROMEOS_ASH)

ContainerEq;
IsEmpty;
Not;
StrEq;
UnorderedElementsAreArray;

namespace {

// The PIIMap for testing.
const PIIMap kPIIMap =;

const redaction::PIIType kPIITypes[] =;

}  // namespace

class SupportToolUiUtilsTest : public ::testing::Test {};

TEST_F(SupportToolUiUtilsTest, PiiItems) {}

TEST_F(SupportToolUiUtilsTest, CustomizedUrl) {}

TEST_F(SupportToolUiUtilsTest, SupportToken) {}