Searched refs:ClientSocketPoolTest (Results 1 – 5 of 5) sorted by relevance
/external/chromium/net/socket/ |
D | socks_client_socket_pool_unittest.cc | 95 ClientSocketPoolTest test_base_; 225 EXPECT_EQ(ClientSocketPoolTest::kRequestNotFound, GetOrderOfRequest(1)); in TEST_F() 226 EXPECT_EQ(ClientSocketPoolTest::kRequestNotFound, GetOrderOfRequest(2)); in TEST_F() 261 EXPECT_EQ(ClientSocketPoolTest::kRequestNotFound, GetOrderOfRequest(1)); in TEST_F() 262 EXPECT_EQ(ClientSocketPoolTest::kRequestNotFound, GetOrderOfRequest(2)); in TEST_F()
|
D | client_socket_pool_base_unittest.cc | 582 bool ReleaseOneConnection(ClientSocketPoolTest::KeepAlive keep_alive) { in ReleaseOneConnection() 586 void ReleaseAllConnections(ClientSocketPoolTest::KeepAlive keep_alive) { in ReleaseAllConnections() 602 ClientSocketPoolTest test_base_; 756 ReleaseAllConnections(ClientSocketPoolTest::NO_KEEP_ALIVE); in TEST_F() 771 EXPECT_EQ(ClientSocketPoolTest::kIndexOutOfBounds, GetOrderOfRequest(8)); in TEST_F() 792 ReleaseAllConnections(ClientSocketPoolTest::NO_KEEP_ALIVE); in TEST_F() 805 EXPECT_EQ(ClientSocketPoolTest::kIndexOutOfBounds, GetOrderOfRequest(6)); in TEST_F() 823 ReleaseAllConnections(ClientSocketPoolTest::NO_KEEP_ALIVE); in TEST_F() 840 EXPECT_EQ(ClientSocketPoolTest::kIndexOutOfBounds, GetOrderOfRequest(9)); in TEST_F() 858 ReleaseAllConnections(ClientSocketPoolTest::NO_KEEP_ALIVE); in TEST_F() [all …]
|
D | transport_client_socket_pool_unittest.cc | 378 bool ReleaseOneConnection(ClientSocketPoolTest::KeepAlive keep_alive) { in ReleaseOneConnection() 382 void ReleaseAllConnections(ClientSocketPoolTest::KeepAlive keep_alive) { in ReleaseAllConnections() 396 ClientSocketPoolTest test_base_; 553 ReleaseAllConnections(ClientSocketPoolTest::KEEP_ALIVE); in TEST_F() 581 EXPECT_EQ(ClientSocketPoolTest::kIndexOutOfBounds, GetOrderOfRequest(17)); in TEST_F() 606 ReleaseAllConnections(ClientSocketPoolTest::NO_KEEP_ALIVE); in TEST_F() 711 ReleaseAllConnections(ClientSocketPoolTest::KEEP_ALIVE); in TEST_F() 725 EXPECT_EQ(ClientSocketPoolTest::kRequestNotFound, in TEST_F() 736 EXPECT_EQ(ClientSocketPoolTest::kIndexOutOfBounds, GetOrderOfRequest(17)); in TEST_F()
|
D | socket_test_util.cc | 1147 const int ClientSocketPoolTest::kIndexOutOfBounds = -1; 1150 const int ClientSocketPoolTest::kRequestNotFound = -2; 1152 ClientSocketPoolTest::ClientSocketPoolTest() : completion_count_(0) {} in ClientSocketPoolTest() function in net::ClientSocketPoolTest 1153 ClientSocketPoolTest::~ClientSocketPoolTest() {} in ~ClientSocketPoolTest() 1155 int ClientSocketPoolTest::GetOrderOfRequest(size_t index) const { in GetOrderOfRequest() 1167 bool ClientSocketPoolTest::ReleaseOneConnection(KeepAlive keep_alive) { in ReleaseOneConnection() 1181 void ClientSocketPoolTest::ReleaseAllConnections(KeepAlive keep_alive) { in ReleaseAllConnections()
|
D | socket_test_util.h | 762 class ClientSocketPoolTest { 774 ClientSocketPoolTest(); 775 ~ClientSocketPoolTest();
|