#include "net/base/connection_endpoint_metadata_test_util.h"
#include <ostream>
#include <string>
#include <utility>
#include <vector>
#include "net/base/connection_endpoint_metadata.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
EchConfigList;
namespace {
class EndpointMetadataMatcher
: public testing::MatcherInterface<const ConnectionEndpointMetadata&> { … };
}
testing::Matcher<const ConnectionEndpointMetadata&>
ExpectConnectionEndpointMetadata(
testing::Matcher<std::vector<std::string>> supported_protocol_alpns_matcher,
testing::Matcher<EchConfigList> ech_config_list_matcher,
testing::Matcher<std::string> target_name_matcher) { … }
std::ostream& operator<<(
std::ostream& os,
const ConnectionEndpointMetadata& connection_endpoint_metadata) { … }
}