BIND 10 #2497: introduce wrapper version of "from lexer" rdata factory

BIND 10 Development do-not-reply at isc.org
Thu Nov 29 00:36:25 UTC 2012


#2497: introduce wrapper version of "from lexer" rdata factory
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:  muks
  jinmei                             |                Status:  reviewing
                       Type:  task   |             Milestone:
                   Priority:         |  Sprint-20121204
  medium                             |            Resolution:
                  Component:         |             Sensitive:  0
  libdns++                           |           Sub-Project:  DNS
                   Keywords:         |  Estimated Difficulty:  0
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:         |
  loadzone-ng                        |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------

Comment (by muks):

 `OldRdataFactory` is not exported outside `rrparamregistry.cc`, so it's
 not possible to call the `create()` method on any templated classes in
 that file, except on mock objects derived from `AbstractRdataFactory` such
 as `TestRdataFactory`. Testing more than `in::A()` in `TestRdataFactory`
 did not appear to do more in this context (as this test just asserts that
 the string variant of `create()` is called).

 Either all this, or I'm not following the question. I'll take another look
 and see if we can rewrite bits to help testing.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2497#comment:9>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list