BIND 10 #275: refactoring CC session class for easier tests

BIND 10 Development do-not-reply at isc.org
Fri Jul 2 02:04:05 UTC 2010


#275: refactoring CC session class for easier tests
----------------------------------------+-----------------------------------
 Reporter:  jinmei                      |        Owner:  jelte                      
     Type:  enhancement                 |       Status:  reviewing                  
 Priority:  major                       |    Milestone:  06. 4th Incremental Release
Component:  Inter-module communication  |   Resolution:                             
 Keywords:                              |    Sensitive:  0                          
----------------------------------------+-----------------------------------
Changes (by jinmei):

  * owner:  jinmei => jelte
  * status:  new => reviewing


Comment:

 branches/trac275 is ready for review.

 The diff is pretty big, but I believe (hope) it's quite straightforward.

 I forgot to mention one more good sideeffect of this change: we now don't
 need the "getSocket()" method in ModuleCCSession and (Abstract)Session.

 Proposed !ChangeLog entry is as follows:
 {{{
   72    [func]*         jinmei
         Refactored the cc::Session class by introducing an abstract base
         class.  Test code can use their own derived mock class so that
         tests can be done without establishing a real CC session.  This
         change also modified some public APIs, mainly in the config
         module. (Trac #275, rTBD)
 }}}

 I think Jelte would be the best reviewer for this change, so I'm
 tentatively assigning it to him.

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


More information about the bind10-tickets mailing list