Browse Source

[2497] Add a comment for RRParamRegistryTest.createFromLexer

Mukund Sivaraman 12 years ago
parent
commit
2b8518d982
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/lib/dns/tests/rrparamregistry_unittest.cc

+ 3 - 0
src/lib/dns/tests/rrparamregistry_unittest.cc

@@ -161,6 +161,9 @@ void dummyCallback(const string&, size_t, const string&) {
 }
 
 TEST_F(RRParamRegistryTest, createFromLexer) {
+    // This test basically checks that the string version of
+    // AbstractRdataFactory::create() is called by the MasterLexer
+    // variant of create().
     boost::scoped_ptr<AbstractRdataFactory> rdf(new TestRdataFactory);
 
     std::stringstream ss("192.168.0.1");