From: Mukund Sivaraman Date: Fri, 14 Feb 2014 13:44:58 +0000 (+0530) Subject: [2430] Add comment about before and after scaffolding in test X-Git-Tag: bind10-1.2.0beta1-release~50^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a96232b3826660654f5afe4bb6961e6929635e2a;p=thirdparty%2Fkea.git [2430] Add comment about before and after scaffolding in test --- diff --git a/src/lib/dns/tests/master_loader_unittest.cc b/src/lib/dns/tests/master_loader_unittest.cc index 3bfd9f943b..7ffa5672cf 100644 --- a/src/lib/dns/tests/master_loader_unittest.cc +++ b/src/lib/dns/tests/master_loader_unittest.cc @@ -337,6 +337,9 @@ TEST_F(MasterLoaderTest, generate) { EXPECT_TRUE(loader_->loadedSucessfully()); EXPECT_TRUE(errors_.empty()); + // The "before" and "after" scaffolding below checks that no + // extra records are added by $GENERATE outside the requested + // range. checkRR("before.example.org", RRType::A(), "192.0.2.0"); checkRR("host3.example.org", RRType::A(), "192.0.2.3"); checkRR("host4.example.org", RRType::A(), "192.0.2.4");