Home
last modified time | relevance | path

Searched refs:ClientSocketPoolTest (Results 1 – 5 of 5) sorted by relevance

/external/chromium/net/socket/
Dsocks_client_socket_pool_unittest.cc95 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()
Dclient_socket_pool_base_unittest.cc582 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 …]
Dtransport_client_socket_pool_unittest.cc378 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()
Dsocket_test_util.cc1147 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()
Dsocket_test_util.h762 class ClientSocketPoolTest {
774 ClientSocketPoolTest();
775 ~ClientSocketPoolTest();