HomePhabricator

Add unit tests for CSeederNode::ProcessMessage()

Description

Add unit tests for CSeederNode::ProcessMessage()

Summary:
Adds some unit tests for the CSeederNode class by using a test class wrapper
for CSeederNode.

Depends on D4449

Test Plan:

../configure
make check
cmake -GNinja ..
ninja check-bitcoin-seeder

../configure CXX=clang++ CC=clang --with-gui=no
make check
cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -GNinja ..
ninja check-bitcoin-seeder

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc

Reviewed By: Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc

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

Details

Provenance
nakihitoAuthored on Oct 28 2019, 20:06
nakihitoPushed on Feb 27 2020, 23:01
Reviewer
Restricted Owners Package
Differential Revision
D4436: Add unit tests for CSeederNode::ProcessMessage()
Parents
rSTAGING9224e2c142c5: Add update-manpages to automated-commits
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/16558, tag: phabricator/base/16557