]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2389] added comment about use of isc::Exception in some cases
authorJINMEI Tatuya <jinmei@isc.org>
Mon, 25 Feb 2013 22:02:56 +0000 (14:02 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Mon, 25 Feb 2013 22:02:56 +0000 (14:02 -0800)
src/lib/dns/tests/rdata_soa_unittest.cc

index c733d2de95b8de1bb07e1dc0876aee4324d1d6d4..d919329c32f4c792e71aef9a6c6e6e969d78ad61 100644 (file)
@@ -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",