Home
last modified time | relevance | path

Searched refs:tcp_sock_ (Results 1 – 4 of 4) sorted by relevance

/external/chromium/net/socket/
Dsocks_client_socket_unittest.cc40 ClientSocket* tcp_sock_; member in net::SOCKSClientSocketTest
68 tcp_sock_ = new MockTCPClientSocket(address_list_, net_log, data_.get()); in BuildMockSocket()
70 int rv = tcp_sock_->Connect(&callback); in BuildMockSocket()
74 EXPECT_TRUE(tcp_sock_->IsConnected()); in BuildMockSocket()
76 return new SOCKSClientSocket(tcp_sock_, in BuildMockSocket()
138 EXPECT_TRUE(tcp_sock_->IsConnected()); in TEST_F()
172 EXPECT_FALSE(tcp_sock_->IsConnected()); in TEST_F()
221 EXPECT_TRUE(tcp_sock_->IsConnected()); in TEST_F()
Dsocks5_client_socket_unittest.cc49 ClientSocket* tcp_sock_; member in net::__anon2730982d0111::SOCKS5ClientSocketTest
86 tcp_sock_ = new MockTCPClientSocket(address_list_, net_log, data_.get()); in BuildMockSocket()
88 int rv = tcp_sock_->Connect(&callback); in BuildMockSocket()
92 EXPECT_TRUE(tcp_sock_->IsConnected()); in BuildMockSocket()
94 return new SOCKS5ClientSocket(tcp_sock_, in BuildMockSocket()
128 EXPECT_TRUE(tcp_sock_->IsConnected()); in TEST_F()
164 EXPECT_FALSE(tcp_sock_->IsConnected()); in TEST_F()
/external/chromium_org/net/socket/
Dsocks_client_socket_unittest.cc44 StreamSocket* tcp_sock_; member in net::SOCKSClientSocketTest
72 tcp_sock_ = new MockTCPClientSocket(address_list_, net_log, data_.get()); in BuildMockSocket()
74 int rv = tcp_sock_->Connect(callback.callback()); in BuildMockSocket()
78 EXPECT_TRUE(tcp_sock_->IsConnected()); in BuildMockSocket()
83 connection->SetSocket(scoped_ptr<StreamSocket>(tcp_sock_)); in BuildMockSocket()
155 EXPECT_TRUE(tcp_sock_->IsConnected()); in TEST_F()
191 EXPECT_FALSE(tcp_sock_->IsConnected()); in TEST_F()
241 EXPECT_TRUE(tcp_sock_->IsConnected()); in TEST_F()
Dsocks5_client_socket_unittest.cc52 StreamSocket* tcp_sock_; member in net::__anon3e3ead740111::SOCKS5ClientSocketTest
95 tcp_sock_ = new MockTCPClientSocket(address_list_, net_log, data_.get()); in BuildMockSocket()
97 int rv = tcp_sock_->Connect(callback.callback()); in BuildMockSocket()
101 EXPECT_TRUE(tcp_sock_->IsConnected()); in BuildMockSocket()
106 connection->SetSocket(scoped_ptr<StreamSocket>(tcp_sock_)); in BuildMockSocket()
142 EXPECT_TRUE(tcp_sock_->IsConnected()); in TEST_F()
180 EXPECT_FALSE(tcp_sock_->IsConnected()); in TEST_F()