chromium/base/test/metrics/action_suffix_reader_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 "base/test/metrics/action_suffix_reader.h"

#include <optional>
#include <string>

#include "base/containers/contains.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace base {

constexpr char kTestActionXml[] =;

// Forward declare the private entry point for testing. This prevents having to
// import XmlReader, which is visible from base::test_support, but not
// base_unittests.
extern std::vector<ActionSuffixEntryMap> ReadActionSuffixesForActionForTesting(
    const std::string& xml_string,
    const std::string& affected_action);

TEST(ActionSuffixReaderTest, NoSuffixesFound) {}

TEST(ActionSuffixReaderTest, OneResult) {}

TEST(ActionSuffixReaderTest, OneResultFromBlockWithOtherActions) {}

TEST(ActionSuffixReaderTest, MultipleResults) {}

TEST(ActionSuffixReaderTest, CallActualMethod) {}

}  // namespace base