Home | History | Annotate | Download | only in http

Lines Matching full:parameters

247   HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
249 EXPECT_TRUE(parameters.valid());
251 EXPECT_TRUE(parameters.GetNext());
252 EXPECT_TRUE(parameters.valid());
253 EXPECT_EQ(std::string("realm"), parameters.name());
254 EXPECT_EQ(std::string("foobar"), parameters.value());
255 EXPECT_FALSE(parameters.GetNext());
263 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
265 EXPECT_TRUE(parameters.valid());
267 EXPECT_TRUE(parameters.GetNext());
268 EXPECT_TRUE(parameters.valid());
269 EXPECT_EQ(std::string("realm"), parameters.name());
270 EXPECT_EQ(std::string("foobar@baz.com"), parameters.value());
271 EXPECT_FALSE(parameters.GetNext());
279 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
281 EXPECT_TRUE(parameters.valid());
283 EXPECT_TRUE(parameters.GetNext());
284 EXPECT_TRUE(parameters.valid());
285 EXPECT_EQ(std::string("realm"), parameters.name());
286 EXPECT_EQ(std::string("foobar@baz.com"), parameters.value());
287 EXPECT_FALSE(parameters.GetNext());
295 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
297 EXPECT_TRUE(parameters.valid());
299 EXPECT_TRUE(parameters.GetNext());
300 EXPECT_TRUE(parameters.valid());
301 EXPECT_EQ(std::string("realm"), parameters.name());
302 EXPECT_EQ(std::string(""), parameters.value());
303 EXPECT_FALSE(parameters.GetNext());
312 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
314 EXPECT_TRUE(parameters.valid());
316 EXPECT_TRUE(parameters.GetNext());
317 EXPECT_TRUE(parameters.valid());
318 EXPECT_EQ(std::string("realm"), parameters.name());
319 EXPECT_EQ(std::string("foo bar"), parameters.value());
320 EXPECT_FALSE(parameters.GetNext());
329 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
331 EXPECT_TRUE(parameters.valid());
333 EXPECT_TRUE(parameters.GetNext());
334 EXPECT_TRUE(parameters.valid());
335 EXPECT_EQ(std::string("qop"), parameters.name());
336 EXPECT_EQ(std::string("auth-int"), parameters.value());
337 EXPECT_TRUE(parameters.GetNext());
338 EXPECT_TRUE(parameters.valid());
339 EXPECT_EQ(std::string("algorithm"), parameters.name());
340 EXPECT_EQ(std::string("md5"), parameters.value());
341 EXPECT_TRUE(parameters.GetNext());
342 EXPECT_TRUE(parameters.valid());
343 EXPECT_EQ(std::string("realm"), parameters.name());
344 EXPECT_EQ(std::string("foo"), parameters.value());
345 EXPECT_FALSE(parameters.GetNext());
353 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
355 EXPECT_TRUE(parameters.valid());
357 EXPECT_FALSE(parameters.GetNext());
358 EXPECT_FALSE(parameters.valid());
367 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
369 EXPECT_TRUE(parameters.valid());
371 EXPECT_TRUE(parameters.GetNext());
372 EXPECT_TRUE(parameters.valid());
373 EXPECT_EQ(std::string("algorithm"), parameters.name());
374 EXPECT_EQ(std::string("md5"), parameters.value());
375 EXPECT_TRUE(parameters.GetNext());
376 EXPECT_TRUE(parameters.valid());
377 EXPECT_EQ(std::string("realm"), parameters.name());
378 EXPECT_EQ(std::string("Oblivion"), parameters.value());
379 EXPECT_TRUE(parameters.GetNext());
380 EXPECT_TRUE(parameters.valid());
381 EXPECT_EQ(std::string("qop"), parameters.name());
382 EXPECT_EQ(std::string("auth-int"), parameters.value());
383 EXPECT_FALSE(parameters.GetNext());
384 EXPECT_TRUE(parameters.valid());
392 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs();
394 EXPECT_TRUE(parameters.valid());
396 EXPECT_FALSE(parameters.GetNext());