Browse Source

[2389] added comment about use of isc::Exception in some cases

JINMEI Tatuya 12 years ago
parent
commit
bd43cb2eaa
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/lib/dns/tests/rdata_soa_unittest.cc

+ 4 - 0
src/lib/dns/tests/rdata_soa_unittest.cc

@@ -53,6 +53,10 @@ protected:
 };
 
 TEST_F(Rdata_SOA_Test, createFromText) {
+    // Below we specify isc::Exception as a dummy value for the exception type
+    // in case it's not expected to throw an exception; the type isn't used
+    // in the check code.
+
     // A simple case.
     checkFromTextSOA<isc::Exception, isc::Exception>(
         "ns.example.com. root.example.com. 2010012601 3600 300 3600000 1200",