Searched refs:ClientSocketPoolTest (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/net/socket/ |
D | socks_client_socket_pool_unittest.cc | 126 ClientSocketPoolTest test_base_; 298 EXPECT_EQ(ClientSocketPoolTest::kRequestNotFound, GetOrderOfRequest(1)); in TEST_F() 299 EXPECT_EQ(ClientSocketPoolTest::kRequestNotFound, GetOrderOfRequest(2)); in TEST_F() 334 EXPECT_EQ(ClientSocketPoolTest::kRequestNotFound, GetOrderOfRequest(1)); in TEST_F() 335 EXPECT_EQ(ClientSocketPoolTest::kRequestNotFound, GetOrderOfRequest(2)); in TEST_F()
|
D | websocket_transport_client_socket_pool_unittest.cc | 71 ReleaseAllConnections(ClientSocketPoolTest::NO_KEEP_ALIVE); in ~WebSocketTransportClientSocketPoolTest() 91 bool ReleaseOneConnection(ClientSocketPoolTest::KeepAlive keep_alive) { in ReleaseOneConnection() 95 void ReleaseAllConnections(ClientSocketPoolTest::KeepAlive keep_alive) { in ReleaseAllConnections() 110 ClientSocketPoolTest test_base_; 207 ReleaseAllConnections(ClientSocketPoolTest::KEEP_ALIVE); in TEST_F() 223 EXPECT_EQ(ClientSocketPoolTest::kIndexOutOfBounds, GetOrderOfRequest(7)); in TEST_F() 241 ReleaseAllConnections(ClientSocketPoolTest::NO_KEEP_ALIVE); in TEST_F() 359 ReleaseAllConnections(ClientSocketPoolTest::KEEP_ALIVE); in TEST_F() 365 EXPECT_EQ(ClientSocketPoolTest::kRequestNotFound, in TEST_F() 372 EXPECT_EQ(ClientSocketPoolTest::kIndexOutOfBounds, GetOrderOfRequest(7)); in TEST_F() [all …]
|
D | transport_client_socket_pool_unittest.cc | 84 bool ReleaseOneConnection(ClientSocketPoolTest::KeepAlive keep_alive) { in ReleaseOneConnection() 88 void ReleaseAllConnections(ClientSocketPoolTest::KeepAlive keep_alive) { in ReleaseAllConnections() 102 ClientSocketPoolTest test_base_; 266 ReleaseAllConnections(ClientSocketPoolTest::KEEP_ALIVE); in TEST_F() 294 EXPECT_EQ(ClientSocketPoolTest::kIndexOutOfBounds, GetOrderOfRequest(17)); in TEST_F() 319 ReleaseAllConnections(ClientSocketPoolTest::NO_KEEP_ALIVE); in TEST_F() 429 ReleaseAllConnections(ClientSocketPoolTest::KEEP_ALIVE); in TEST_F() 443 EXPECT_EQ(ClientSocketPoolTest::kRequestNotFound, in TEST_F() 454 EXPECT_EQ(ClientSocketPoolTest::kIndexOutOfBounds, GetOrderOfRequest(17)); in TEST_F()
|
D | client_socket_pool_base_unittest.cc | 742 bool ReleaseOneConnection(ClientSocketPoolTest::KeepAlive keep_alive) { in ReleaseOneConnection() 746 void ReleaseAllConnections(ClientSocketPoolTest::KeepAlive keep_alive) { in ReleaseAllConnections() 763 ClientSocketPoolTest test_base_; 922 ReleaseAllConnections(ClientSocketPoolTest::NO_KEEP_ALIVE); in TEST_F() 937 EXPECT_EQ(ClientSocketPoolTest::kIndexOutOfBounds, GetOrderOfRequest(8)); in TEST_F() 958 ReleaseAllConnections(ClientSocketPoolTest::NO_KEEP_ALIVE); in TEST_F() 971 EXPECT_EQ(ClientSocketPoolTest::kIndexOutOfBounds, GetOrderOfRequest(6)); in TEST_F() 989 ReleaseAllConnections(ClientSocketPoolTest::NO_KEEP_ALIVE); in TEST_F() 1006 EXPECT_EQ(ClientSocketPoolTest::kIndexOutOfBounds, GetOrderOfRequest(9)); in TEST_F() 1024 ReleaseAllConnections(ClientSocketPoolTest::NO_KEEP_ALIVE); in TEST_F() [all …]
|
D | socket_test_util.cc | 1735 const int ClientSocketPoolTest::kIndexOutOfBounds = -1; 1738 const int ClientSocketPoolTest::kRequestNotFound = -2; 1740 ClientSocketPoolTest::ClientSocketPoolTest() : completion_count_(0) {} in ClientSocketPoolTest() function in net::ClientSocketPoolTest 1741 ClientSocketPoolTest::~ClientSocketPoolTest() {} in ~ClientSocketPoolTest() 1743 int ClientSocketPoolTest::GetOrderOfRequest(size_t index) const { in GetOrderOfRequest() 1755 bool ClientSocketPoolTest::ReleaseOneConnection(KeepAlive keep_alive) { in ReleaseOneConnection() 1769 void ClientSocketPoolTest::ReleaseAllConnections(KeepAlive keep_alive) { in ReleaseAllConnections()
|
D | socket_test_util.h | 1107 class ClientSocketPoolTest { 1119 ClientSocketPoolTest(); 1120 ~ClientSocketPoolTest(); 1169 DISALLOW_COPY_AND_ASSIGN(ClientSocketPoolTest);
|