BIND 10 #892: move generic test utils from lib/dns/tests to lib/util/unittests
BIND 10 Development
do-not-reply at isc.org
Tue May 3 06:35:13 UTC 2011
#892: move generic test utils from lib/dns/tests to lib/util/unittests
-------------------------------------+-------------------------------------
Reporter: jinmei | Owner: jreed
Type: enhancement | Status: new
Priority: major | Milestone: New
Component: build system | Tasks
Sensitive: 0 | Keywords:
Sub-Project: Core | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket:
Total Hours: 0 | Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
As I commented in #813, I propose:
- move things except DNS specific things (matchName and
createRequestMessage) in lib/dns/tests/unittest_util to
lib/util/unittests/
- unify addDataPath and (part of) readWireData with
lib/util/unittests/testdata. basically I'd keep the latter and remove the
duplicate functionality from the former.
- in addition I'd change the interface of matchWireData() so that expected
data is given before the actual data in the parameter list to be more
comatible with other gtest interfaces (and variable names should be
renamed to actual/expect, etc)
--
Ticket URL: <http://bind10.isc.org/ticket/892>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list