#include "net/socket/connect_job.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "net/base/address_list.h"
#include "net/base/net_errors.h"
#include "net/base/request_priority.h"
#include "net/dns/public/resolve_error_info.h"
#include "net/log/test_net_log.h"
#include "net/log/test_net_log_util.h"
#include "net/socket/connect_job_test_util.h"
#include "net/socket/socket_tag.h"
#include "net/socket/socket_test_util.h"
#include "net/test/gtest_util.h"
#include "net/url_request/static_http_user_agent_settings.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
namespace {
class TestConnectJob : public ConnectJob { … };
class ConnectJobTest : public testing::Test { … };
TEST_F(ConnectJobTest, NoTimeoutOnSyncCompletion) { … }
TEST_F(ConnectJobTest, NoTimeoutOnAsyncCompletion) { … }
TEST_F(ConnectJobTest, NoTimeoutWithNoTimeDelta) { … }
TEST_F(ConnectJobTest, SetPriority) { … }
TEST_F(ConnectJobTest, TimedOut) { … }
TEST_F(ConnectJobTest, TimedOutWithRestartedTimer) { … }
}
}