#include "net/http/http_stream_pool_group.h"
#include <memory>
#include "base/functional/callback_helpers.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/task_environment.h"
#include "net/base/address_list.h"
#include "net/base/completion_once_callback.h"
#include "net/base/ip_address.h"
#include "net/base/network_anonymization_key.h"
#include "net/base/network_change_notifier.h"
#include "net/base/privacy_mode.h"
#include "net/http/http_network_session.h"
#include "net/http/http_stream.h"
#include "net/http/http_stream_pool.h"
#include "net/http/http_stream_pool_test_util.h"
#include "net/log/net_log.h"
#include "net/socket/socket_test_util.h"
#include "net/socket/stream_socket.h"
#include "net/spdy/spdy_test_util_common.h"
#include "net/test/gtest_util.h"
#include "net/test/test_with_task_environment.h"
#include "url/scheme_host_port.h"
namespace net {
IsOk;
Group;
class HttpStreamPoolGroupTest : public TestWithTaskEnvironment { … };
TEST_F(HttpStreamPoolGroupTest, CreateTextBasedStream) { … }
TEST_F(HttpStreamPoolGroupTest, ReleaseStreamSocketUnused) { … }
TEST_F(HttpStreamPoolGroupTest, ReleaseStreamSocketUsed) { … }
TEST_F(HttpStreamPoolGroupTest, ReleaseStreamSocketNotIdle) { … }
TEST_F(HttpStreamPoolGroupTest, IdleSocketDisconnected) { … }
TEST_F(HttpStreamPoolGroupTest, IdleSocketReceivedDataUnexpectedly) { … }
TEST_F(HttpStreamPoolGroupTest, GetIdleStreamSocket) { … }
TEST_F(HttpStreamPoolGroupTest, GetIdleStreamSocketPreferUsed) { … }
TEST_F(HttpStreamPoolGroupTest, GetIdleStreamSocketDisconnectedDuringIdle) { … }
TEST_F(HttpStreamPoolGroupTest, GetIdleStreamSocketUsedSocketDisconnected) { … }
TEST_F(HttpStreamPoolGroupTest, GetIdleStreamSocketTimedout) { … }
TEST_F(HttpStreamPoolGroupTest, IPAddressChangeCleanupIdleSocket) { … }
TEST_F(HttpStreamPoolGroupTest, IPAddressChangeReleaseStreamSocket) { … }
TEST_F(HttpStreamPoolGroupTest, IPAddressChangeIgnored) { … }
TEST_F(HttpStreamPoolGroupTest, FlushIdleStreamsOnMemoryPressure) { … }
TEST_F(HttpStreamPoolGroupTest, MemoryPressureDisabled) { … }
}