[svn] commit: r1489 - /trunk/src/lib/auth/tests/datasrc_unittest.cc

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Mar 17 19:06:53 UTC 2010


Author: each
Date: Wed Mar 17 19:06:53 2010
New Revision: 1489

Log:
expand on the rootDS test a bit

Modified:
    trunk/src/lib/auth/tests/datasrc_unittest.cc

Modified: trunk/src/lib/auth/tests/datasrc_unittest.cc
==============================================================================
--- trunk/src/lib/auth/tests/datasrc_unittest.cc (original)
+++ trunk/src/lib/auth/tests/datasrc_unittest.cc Wed Mar 17 19:06:53 2010
@@ -729,7 +729,9 @@
 }
 
 TEST_F(DataSrcTest, RootDSQuery) {
-    createAndProcessQuery(Name("."), RRClass::IN(), RRType::DS());
+    EXPECT_NO_THROW(createAndProcessQuery(Name("."), RRClass::IN(),
+                                          RRType::DS()));
+    headerCheck(msg, Rcode::REFUSED(), true, false, true, 0, 0, 0);
 }
 
 // Non-existent name in the "static" data source.  The purpose of this test




More information about the bind10-changes mailing list