Lines Matching refs:HTTPProxy
177 HTTPProxy* proxy() { return &proxy_; } in proxy()
178 HTTPProxy::State GetProxyState() { in GetProxyState()
192 EXPECT_EQ(HTTPProxy::kDefaultServerPort, proxy_.server_port_); in ExpectClientReset()
214 EXPECT_EQ(HTTPProxy::kStateIdle, proxy_.state_); in ExpectReset()
263 ExpectTimeout(HTTPProxy::kClientHeaderTimeoutSeconds); in ExpectClientHeaderTimeout()
266 ExpectTimeout(HTTPProxy::kConnectTimeoutSeconds); in ExpectConnectTimeout()
269 ExpectTimeout(HTTPProxy::kInputTimeoutSeconds); in ExpectInputTimeout()
273 PostDelayedTask(_, HTTPProxy::kInputTimeoutSeconds * 1000)) in ExpectRepeatedInputTimeout()
277 ExpectTimeout(HTTPProxy::kTransactionTimeoutSeconds); in ExpectTransactionTimeout()
285 EXPECT_EQ(HTTPProxy::kStateFlushResponse, GetProxyState()); in ExpectClientError()
291 ExpectClientError(500, HTTPProxy::kInternalErrorMsg); in ExpectClientInternalError()
433 EXPECT_EQ(HTTPProxy::kStateReadClientHeader, GetProxyState()); in SetupClient()
457 EXPECT_EQ(HTTPProxy::kStateTunnelData, GetProxyState()); in SetupConnectComplete()
475 HTTPProxy proxy_; // Destroy first, before anything it references.
559 EXPECT_EQ(HTTPProxy::kStateFlushResponse, GetProxyState()); in TEST_F()
568 EXPECT_EQ(HTTPProxy::kStateWaitConnection, GetProxyState()); in TEST_F()
672 EXPECT_EQ(HTTPProxy::kStateLookupServer, GetProxyState()); in TEST_F()
722 EXPECT_EQ(HTTPProxy::kStateTunnelData, GetProxyState()); in TEST_F()
732 EXPECT_EQ(HTTPProxy::kStateTunnelData, GetProxyState()); in TEST_F()
763 EXPECT_EQ(HTTPProxy::kStateTunnelData, GetProxyState()); in TEST_F()
780 EXPECT_EQ(HTTPProxy::kStateTunnelData, GetProxyState()); in TEST_F()
785 EXPECT_EQ(HTTPProxy::kStateFlushResponse, GetProxyState()); in TEST_F()
793 EXPECT_EQ(HTTPProxy::kStateWaitConnection, GetProxyState()); in TEST_F()
803 EXPECT_EQ(HTTPProxy::kStateWaitConnection, GetProxyState()); in TEST_F()
813 EXPECT_EQ(HTTPProxy::kStateWaitConnection, GetProxyState()); in TEST_F()
825 EXPECT_EQ(HTTPProxy::kStateWaitConnection, GetProxyState()); in TEST_F()
833 EXPECT_EQ(HTTPProxy::kStateWaitConnection, GetProxyState()); in TEST_F()
841 EXPECT_EQ(HTTPProxy::kStateWaitConnection, GetProxyState()); in TEST_F()
853 EXPECT_EQ(HTTPProxy::kStateWaitConnection, GetProxyState()); in TEST_F()