Commit 67b7a470 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

explicitly enable DNSSEC in query tests. now we've added EDNS support

it cannot always be assumed.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1101 e5f2f494-b856-4b98-b285-d166d9295462
parent 205d3331
......@@ -66,7 +66,7 @@ TEST_F(DataSrcTest, Query) {
msg.makeResponse();
msg.setHeaderFlag(MessageFlag::AA());
msg.setRcode(Rcode::NOERROR());
Query q = Query(msg, false);
Query q = Query(msg, true);
ds.doQuery(q);
Message* m = &(q.message());
......@@ -127,7 +127,7 @@ TEST_F(DataSrcTest, NSQuery) {
msg.makeResponse();
msg.setHeaderFlag(MessageFlag::AA());
msg.setRcode(Rcode::NOERROR());
Query q = Query(msg, false);
Query q = Query(msg, true);
ds.doQuery(q);
Message* m = &(q.message());
......@@ -162,7 +162,7 @@ TEST_F(DataSrcTest, NxRRset) {
msg.makeResponse();
msg.setHeaderFlag(MessageFlag::AA());
msg.setRcode(Rcode::NOERROR());
Query q = Query(msg, false);
Query q = Query(msg, true);
ds.doQuery(q);
Message* m = &(q.message());
......@@ -186,7 +186,7 @@ TEST_F(DataSrcTest, Nxdomain) {
msg.makeResponse();
msg.setHeaderFlag(MessageFlag::AA());
msg.setRcode(Rcode::NOERROR());
Query q = Query(msg, false);
Query q = Query(msg, true);
ds.doQuery(q);
Message* m = &(q.message());
......@@ -212,7 +212,7 @@ TEST_F(DataSrcTest, NxZone) {
msg.makeResponse();
msg.setHeaderFlag(MessageFlag::AA());
msg.setRcode(Rcode::NOERROR());
Query q = Query(msg, false);
Query q = Query(msg, true);
ds.doQuery(q);
Message* m = &(q.message());
......@@ -228,7 +228,7 @@ TEST_F(DataSrcTest, Wildcard) {
msg.makeResponse();
msg.setHeaderFlag(MessageFlag::AA());
msg.setRcode(Rcode::NOERROR());
Query q = Query(msg, false);
Query q = Query(msg, true);
ds.doQuery(q);
Message* m = &(q.message());
......@@ -287,7 +287,7 @@ TEST_F(DataSrcTest, AuthDelegation) {
msg.makeResponse();
msg.setHeaderFlag(MessageFlag::AA());
msg.setRcode(Rcode::NOERROR());
Query q = Query(msg, false);
Query q = Query(msg, true);
ds.doQuery(q);
Message* m = &(q.message());
......@@ -346,7 +346,7 @@ TEST_F(DataSrcTest, Dname) {
msg.makeResponse();
msg.setHeaderFlag(MessageFlag::AA());
msg.setRcode(Rcode::NOERROR());
Query q = Query(msg, false);
Query q = Query(msg, true);
ds.doQuery(q);
Message* m = &(q.message());
......@@ -407,7 +407,7 @@ TEST_F(DataSrcTest, Cname) {
msg.makeResponse();
msg.setHeaderFlag(MessageFlag::AA());
msg.setRcode(Rcode::NOERROR());
Query q = Query(msg, false);
Query q = Query(msg, true);
ds.doQuery(q);
Message* m = &(q.message());
......@@ -438,7 +438,7 @@ TEST_F(DataSrcTest, CnameInt) {
msg.makeResponse();
msg.setHeaderFlag(MessageFlag::AA());
msg.setRcode(Rcode::NOERROR());
Query q = Query(msg, false);
Query q = Query(msg, true);
ds.doQuery(q);
Message* m = &(q.message());
......@@ -477,7 +477,7 @@ TEST_F(DataSrcTest, CnameExt) {
msg.makeResponse();
msg.setHeaderFlag(MessageFlag::AA());
msg.setRcode(Rcode::NOERROR());
Query q = Query(msg, false);
Query q = Query(msg, true);
ds.doQuery(q);
Message* m = &(q.message());
......@@ -514,7 +514,7 @@ TEST_F(DataSrcTest, Delegation) {
msg.makeResponse();
msg.setHeaderFlag(MessageFlag::AA());
msg.setRcode(Rcode::NOERROR());
Query q = Query(msg, false);
Query q = Query(msg, true);
ds.doQuery(q);
Message* m = &(q.message());
......@@ -557,7 +557,7 @@ TEST_F(DataSrcTest, DS) {
msg.makeResponse();
msg.setHeaderFlag(MessageFlag::AA());
msg.setRcode(Rcode::NOERROR());
Query q = Query(msg, false);
Query q = Query(msg, true);
ds.doQuery(q);
Message* m = &(q.message());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment