Page MenuHomePhabricator

[avalanche] Introduce a test context in the processor tests
ClosedPublic

Authored by Fabien on Oct 6 2021, 09:35.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Commits
rABC3a00cc436cba: [avalanche] Introduce a test context in the processor tests
Summary

This context object provides an interface which can be used for proofs, and make it possible to run the same test on both blocks and proofs where relevant thanks to the boost test case template feature. A single test is converted now to use the context in order to demonstrate the features, and others can be converted as well as needed.

Ref T1854.

Depends on D10260.

Test Plan
ninja check-avalanche-processor_tests

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable