#include "services/network/shared_dictionary/simple_url_pattern_matcher.h"
#include <string>
#include <vector>
#include "base/logging.h"
#include "base/strings/strcat.h"
#include "base/test/gmock_expected_support.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace network {
namespace {
class PatternInitMatcher : public testing::MatcherInterface<
const SimpleUrlPatternMatcher::PatternInit&> { … };
testing::Matcher<const SimpleUrlPatternMatcher::PatternInit&> ExpectPatternInit(
std::optional<std::string> protocol,
std::optional<std::string> username,
std::optional<std::string> password,
std::optional<std::string> hostname,
std::optional<std::string> port,
std::optional<std::string> pathname,
std::optional<std::string> search,
std::optional<std::string> hash) { … }
}
class SimpleUrlPatternMatcherTest : public testing::Test { … };
TEST_F(SimpleUrlPatternMatcherTest, Create) { … }
}