/external/chromium/net/socket/ |
D | socks_client_socket_pool_unittest.cc | 100 data.data_provider()->set_connect_data(MockConnect(false, 0)); in TEST_F() 130 socket_data->set_connect_data(MockConnect(false, ERR_CONNECTION_REFUSED)); in TEST_F() 143 socket_data->set_connect_data(MockConnect(true, ERR_CONNECTION_REFUSED)); in TEST_F() 165 socket_data->set_connect_data(MockConnect(false, 0)); in TEST_F() 184 socket_data->set_connect_data(MockConnect(false, 0)); in TEST_F() 236 data.data_provider()->set_connect_data(MockConnect(false, 0)); in TEST_F() 241 data2.data_provider()->set_connect_data(MockConnect(false, 0)); in TEST_F()
|
D | socket_test_util.h | 53 struct MockConnect { struct 55 MockConnect() : async(true), result(OK) { } in MockConnect() function 56 MockConnect(bool a, int r) : async(a), result(r) { } in MockConnect() function 152 MockConnect connect_data() const { return connect_; } in connect_data() 153 void set_connect_data(const MockConnect& connect) { connect_ = connect; } in set_connect_data() 156 MockConnect connect_; 249 MockConnect connect; 281 DelayedSocketData(const MockConnect& connect, int write_delay, 327 OrderedSocketData(const MockConnect& connect,
|
D | ssl_client_socket_pool_unittest.cc | 172 data.set_connect_data(MockConnect(false, ERR_CONNECTION_FAILED)); in TEST_F() 189 data.set_connect_data(MockConnect(true, ERR_CONNECTION_FAILED)); in TEST_F() 212 data.set_connect_data(MockConnect(false, OK)); in TEST_F() 419 data.set_connect_data(MockConnect(false, ERR_CONNECTION_FAILED)); in TEST_F() 438 data.set_connect_data(MockConnect(true, ERR_CONNECTION_FAILED)); in TEST_F() 461 data.set_connect_data(MockConnect(false, OK)); in TEST_F() 504 data.set_connect_data(MockConnect(false, ERR_CONNECTION_FAILED)); in TEST_F() 523 data.set_connect_data(MockConnect(true, ERR_CONNECTION_FAILED)); in TEST_F() 557 data.set_connect_data(MockConnect(false, OK)); in TEST_F()
|
D | deterministic_socket_data_unittest.cc | 51 MockConnect connect_data_;
|
D | socket_test_util.cc | 258 const MockConnect& connect, int write_delay, MockRead* reads, in DelayedSocketData() 309 const MockConnect& connect, in OrderedSocketData()
|
/external/chromium/net/spdy/ |
D | spdy_session_unittest.cc | 111 MockConnect connect_data(false, OK); in TEST_F() 172 MockConnect connect_data(false, OK); in TEST_F() 308 MockConnect connect_data(false, OK); in TEST_F() 399 MockConnect connect_data(false, OK); in TEST_F() 497 MockConnect connect_data(false, OK); in TEST_F() 582 MockConnect connect_data(false, OK); in IPPoolingTest()
|
D | spdy_stream_unittest.cc | 189 MockConnect connect_data(false, OK); in TEST_F()
|
D | spdy_proxy_client_socket_unittest.cc | 111 MockConnect connect_data_;
|
D | spdy_network_transaction_unittest.cc | 244 MockConnect never_finishing_connect(false, ERR_IO_PENDING); in AddData() 273 MockConnect never_finishing_connect(false, ERR_IO_PENDING); in AddDeterministicData() 736 MockConnect never_finishing_connect(false, ERR_IO_PENDING); in TEST_P() 823 MockConnect never_finishing_connect(true, ERR_IO_PENDING); in TEST_P()
|
/external/chromium/net/http/ |
D | http_proxy_client_socket_pool_unittest.cc | 158 data_->set_connect_data(MockConnect(async, 0)); in Initialize() 368 data_->set_connect_data(MockConnect(true, ERR_CONNECTION_CLOSED)); in TEST_P() 387 data_->set_connect_data(MockConnect(true, OK)); in TEST_P() 412 data_->set_connect_data(MockConnect(true, OK)); in TEST_P()
|
D | http_network_transaction_unittest.cc | 6497 MockConnect mock_connect(true, ERR_CONNECTION_REFUSED); in TEST_F() 6590 MockConnect never_finishing_connect(false, ERR_IO_PENDING); in TEST_F() 6658 MockConnect never_finishing_connect(false, ERR_IO_PENDING); in TEST_F() 6781 MockConnect never_finishing_connect(false, ERR_IO_PENDING); in TEST_F() 6929 MockConnect never_finishing_connect(false, ERR_IO_PENDING); in TEST_F() 7743 bug37454_connection.set_connect_data(MockConnect(true, ERR_UNEXPECTED)); in TEST_F() 8016 MockConnect never_finishing_connect(false, ERR_IO_PENDING); in TEST_F() 8070 MockConnect mock_connect(false, OK); in TEST_F()
|