#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[] = …;
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) { … }
}