Home
last modified time | relevance | path

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

/external/chromium/webkit/glue/
Dmultipart_response_delegate_unittest.cc506 WebURLResponse response2; in TEST() local
507 response2.initialize(); in TEST()
508 response2.setMIMEType("image/png"); in TEST()
510 response2.setHTTPHeaderField("Content-Length", "300"); in TEST()
511 response2.setHTTPHeaderField("Last-Modified", in TEST()
513 response2.setHTTPHeaderField("Date", "Thu, 11 Sep 2008 18:21:42 GMT"); in TEST()
517 response2, &multipart_boundary); in TEST()
585 WebURLResponse response2; in TEST() local
586 response2.initialize(); in TEST()
587 response2.setMIMEType("application/pdf"); in TEST()
[all …]
/external/chromium/net/spdy/
Dspdy_network_transaction_unittest.cc782 const HttpResponseInfo* response2 = trans2->GetResponseInfo(); in TEST_P() local
783 EXPECT_TRUE(response2->headers != NULL); in TEST_P()
784 EXPECT_TRUE(response2->was_fetched_via_spdy); in TEST_P()
785 out.status_line = response2->headers->GetStatusLine(); in TEST_P()
786 out.response_info = *response2; in TEST_P()
882 const HttpResponseInfo* response2 = trans2->GetResponseInfo(); in TEST_P() local
883 EXPECT_TRUE(response2->headers != NULL); in TEST_P()
884 EXPECT_TRUE(response2->was_fetched_via_spdy); in TEST_P()
885 out.status_line = response2->headers->GetStatusLine(); in TEST_P()
886 out.response_info = *response2; in TEST_P()
[all …]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DExcludedProxyTest.java80 String response2 = ""; in test_usingProxy() local
84 response2 += new String(b2, 0, count2); in test_usingProxy()
85 assertTrue("Response to POST method invalid", response2 in test_usingProxy()
/external/chromium/net/http/
Dhttp_cache_unittest.cc4124 net::HttpResponseInfo response2; in TEST() local
4126 EXPECT_TRUE(response2.InitFromPickle(pickle, &response_truncated)); in TEST()
4130 EXPECT_TRUE(response2.was_cached); // InitFromPickle sets this flag. in TEST()
4131 EXPECT_EQ("1.2.3.4", response2.socket_address.host()); in TEST()
4132 EXPECT_EQ(80, response2.socket_address.port()); in TEST()
4133 EXPECT_EQ("HTTP/1.1 200 OK", response2.headers->GetStatusLine()); in TEST()