BIND 10 #398: we should use more specific tests than EXPECT_TRUE

BIND 10 Development do-not-reply at isc.org
Wed Oct 27 23:18:08 UTC 2010


#398: we should use more specific tests than EXPECT_TRUE
---------------------------+------------------------------------------------
  Reporter:  jinmei        |            Owner:                      
      Type:  enhancement   |           Status:  new                 
  Priority:  minor         |        Milestone:  feature backlog item
 Component:  Unclassified  |         Keywords:                      
 Sensitive:  0             |   Estimatedhours:  0                   
     Hours:  0             |         Billable:  1                   
Totalhours:  0             |         Internal:  0                   
---------------------------+------------------------------------------------
 See http://bind10.isc.org/ticket/365#comment:8

 In general, when we do
 {{{
     EXPECT_TRUE(a <op> b);
 }}}

 it's better to be changed to:
 {{{
     EXPECT_<op>(a, b);
 }}}

 because when the test fails the latter will provide more detailed
 information (the values of a and b).

-- 
Ticket URL: <http://bind10.isc.org/ticket/398>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list