BIND 10 trac2218_2, updated. d1d08475aec2b0f3c45fa35db5ad629ab14dfb26 [2218] Document NSEC3 test data structure

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Sep 24 06:02:18 UTC 2012


The branch, trac2218_2 has been updated
       via  d1d08475aec2b0f3c45fa35db5ad629ab14dfb26 (commit)
       via  45e74198ebeee9d0e2eee780185d91c20fa63513 (commit)
      from  c200bbcb68071fb2148344d629c5605498bf0656 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d1d08475aec2b0f3c45fa35db5ad629ab14dfb26
Author: Mukund Sivaraman <muks at isc.org>
Date:   Mon Sep 24 11:32:05 2012 +0530

    [2218] Document NSEC3 test data structure

commit 45e74198ebeee9d0e2eee780185d91c20fa63513
Author: Mukund Sivaraman <muks at isc.org>
Date:   Mon Sep 24 11:27:18 2012 +0530

    [2218] Update comment for InMemoryZoneFinderNSEC3Test

-----------------------------------------------------------------------

Summary of changes:
 .../datasrc/memory/tests/zone_finder_unittest.cc   |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/memory/tests/zone_finder_unittest.cc b/src/lib/datasrc/memory/tests/zone_finder_unittest.cc
index 0ded2bb..cf54157 100644
--- a/src/lib/datasrc/memory/tests/zone_finder_unittest.cc
+++ b/src/lib/datasrc/memory/tests/zone_finder_unittest.cc
@@ -1449,7 +1449,7 @@ TEST_F(InMemoryZoneFinderTest, findNSEC3ForBadZone) {
                  DataSourceError);
 }
 
-/// \brief Test fixture for the InMemoryZoneFinder class
+/// \brief NSEC3 specific tests fixture for the InMemoryZoneFinder class
 class InMemoryZoneFinderNSEC3Test : public InMemoryZoneFinderTest {
 public:
     InMemoryZoneFinderNSEC3Test() {
@@ -1481,8 +1481,16 @@ TEST_F(InMemoryZoneFinderNSEC3Test, findNSEC3) {
 }
 
 struct TestData {
+     // String for the name passed to findNSEC3() (concatenated with
+     // "example.org.")
      const char* const name;
+     // Should recursive findNSEC3() be performed?
      const bool recursive;
+     // The following are members of the FindNSEC3Result returned by
+     // findNSEC3(). The proofs are given as char*, which are converted
+     // to Name objects and checked against getName() on the returned
+     // ConstRRsetPtr. If any of these is NULL, then it's expected that
+     // ConstRRsetPtr() will be returned.
      const bool matched;
      const uint8_t closest_labels;
      const char* const closest_proof;



More information about the bind10-changes mailing list