HomePhabricator

Add some unit tests for write_name() for seeder

Description

Add some unit tests for write_name() for seeder

Summary:
Adds some unit tests for write_name() in seeder/dns.cpp. This
function, like parse_name() is critical for dns operations and should
have some tests to increase confidence in correct behavior.

Test Plan:

ninja check-bitcoin-seeder

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

Subscribers: deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D5469

Details

Provenance
nakihitoAuthored on Mar 11 2020, 22:25
nakihitoPushed on Mar 21 2020, 00:50
Reviewer
Restricted Owners Package
Differential Revision
D5469: Add some unit tests for write_name() for seeder
Parents
rABC50a1fbc83f20: Merge #14291: wallet: Add ListWalletDir utility function
Branches
Unknown
Tags
Unknown