Lines Matching refs:MockRead
101 MockRead data_reads[] = {
102 MockRead("HTTP/1.1 200 OK\r\n"
104 MockRead("Bypass message"),
105 MockRead(SYNCHRONOUS, OK),
113 MockRead data_reads[],
124 MockRead data_reads[],
148 MockRead data_reads2[3];
150 data_reads2[data_reads2_index++] = MockRead("HTTP/1.0 200 OK\r\n"
153 data_reads2[data_reads2_index++] = MockRead(content.c_str());
154 data_reads2[data_reads2_index++] = MockRead(SYNCHRONOUS, OK);
181 MockRead data_reads[] = {
182 MockRead("HTTP/1.1 200 OK\r\n"
184 MockRead("Bypass message"),
185 MockRead(SYNCHRONOUS, OK),
197 MockRead data_reads2[] = {
198 MockRead("HTTP/1.0 200 OK\r\n"
200 MockRead("content"),
201 MockRead(SYNCHRONOUS, OK),
229 MockRead data_reads[] = {
230 MockRead("HTTP/1.1 200 OK\r\n"
232 MockRead("Bypass message"),
233 MockRead(SYNCHRONOUS, OK),
295 MockRead data_reads[] = {
296 MockRead("HTTP/1.0 200 OK\r\n\r\n"),
297 MockRead("hello world"),
298 MockRead(SYNCHRONOUS, OK),
334 MockRead data_reads[] = {
335 MockRead("HTTP/1.0 200 OK\r\n\r\n"),
336 MockRead("hello world"),
337 MockRead(SYNCHRONOUS, OK),
369 MockRead data_reads[] = {
370 MockRead(ASYNC, ERR_CONNECTION_RESET),