Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(486)

Unified Diff: net/dns/dns_response_unittest.cc

Issue 9190031: DnsClient refactoring + features (timeout, suffix search, server rotation). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added comments. Fixed tests. Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/dns/dns_response_unittest.cc
diff --git a/net/dns/dns_response_unittest.cc b/net/dns/dns_response_unittest.cc
index 51d7cffd47400b15f67bfa9d5858fa8b4488ba87..3644703c1b9b83ea7e46295c1476babbff4808cd 100644
--- a/net/dns/dns_response_unittest.cc
+++ b/net/dns/dns_response_unittest.cc
@@ -219,8 +219,7 @@ TEST(DnsResponseTest, InitParse) {
EXPECT_TRUE(resp.InitParse(sizeof(response_data), *query));
// Check header access.
- EXPECT_EQ(0x81, resp.flags0());
- EXPECT_EQ(0x80, resp.flags1());
+ EXPECT_EQ(0x8180, resp.flags());
mmenke 2012/01/13 16:44:37 I assume you planned to do so already, but just in
EXPECT_EQ(0x0, resp.rcode());
EXPECT_EQ(2, resp.answer_count());

Powered by Google App Engine
This is Rietveld 408576698