Lines Matching refs:MockRead
147 void Initialize(bool async, MockRead* reads, size_t reads_count,
149 MockRead* spdy_reads, size_t spdy_reads_count,
243 MockRead reads[] = {
245 MockRead(true, 1, "HTTP/1.1 407 Proxy Authentication Required\r\n"),
246 MockRead(true, 2, "Proxy-Authenticate: Basic realm=\"MyRealm1\"\r\n"),
247 MockRead(true, 3, "Content-Length: 10\r\n\r\n"),
248 MockRead(true, 4, "0123456789"),
259 MockRead spdy_reads[] = {
261 MockRead(true, 0, 3)
305 MockRead reads[] = {
306 MockRead(false, 1, "HTTP/1.1 200 Connection Established\r\n\r\n"),
330 MockRead reads[] = {
331 MockRead(false, "HTTP/1.1 200 Connection Established\r\n\r\n"),
340 MockRead spdy_reads[] = {
342 MockRead(true, 0, 2)
442 MockRead reads[] = {
443 MockRead(true, 1, "HTTP/1.1 200 Conn"),
444 MockRead(true, ERR_CONNECTION_CLOSED, 2),
451 MockRead spdy_reads[] = {
452 MockRead(true, ERR_CONNECTION_CLOSED, 1),
480 MockRead reads[] = {
481 MockRead(true, 1, "HTTP/1.1 304 Not Modified\r\n\r\n"),
491 MockRead spdy_reads[] = {
493 MockRead(true, 0, 3),