#include "net/quic/dedicated_web_transport_http3_client.h"
#include <memory>
#include <string_view>
#include "base/memory/raw_ptr.h"
#include "base/strings/strcat.h"
#include "build/build_config.h"
#include "net/base/proxy_chain.h"
#include "net/base/proxy_server.h"
#include "net/base/schemeful_site.h"
#include "net/cert/mock_cert_verifier.h"
#include "net/dns/mock_host_resolver.h"
#include "net/proxy_resolution/configured_proxy_resolution_service.h"
#include "net/quic/crypto/proof_source_chromium.h"
#include "net/quic/quic_context.h"
#include "net/test/test_data_directory.h"
#include "net/test/test_with_task_environment.h"
#include "net/third_party/quiche/src/quiche/quic/test_tools/crypto_test_utils.h"
#include "net/third_party/quiche/src/quiche/quic/test_tools/quic_test_backend.h"
#include "net/tools/quic/quic_simple_server.h"
#include "net/tools/quic/quic_simple_server_socket.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "net/url_request/url_request_context.h"
#include "net/url_request/url_request_context_builder.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
#include "url/origin.h"
namespace net::test {
namespace {
MemSliceFromString;
_;
DoAll;
Optional;
SaveArg;
class MockVisitor : public WebTransportClientVisitor { … };
class TestWallClock : public quic::QuicClock { … };
class TestConnectionHelper : public quic::QuicConnectionHelperInterface { … };
class DedicatedWebTransportHttp3Test : public TestWithTaskEnvironment { … };
TEST_F(DedicatedWebTransportHttp3Test, Connect) { … }
TEST_F(DedicatedWebTransportHttp3Test, ConnectViaProxy) { … }
#if BUILDFLAG(IS_IOS) || BUILDFLAG(IS_MAC)
#define MAYBE_CloseTimeout …
#else
#define MAYBE_CloseTimeout …
#endif
TEST_F(DedicatedWebTransportHttp3Test, MAYBE_CloseTimeout) { … }
TEST_F(DedicatedWebTransportHttp3Test, CloseReason) { … }
}
}