| 724 | } |
| 725 | |
| 726 | Context create_context(std::shared_ptr<TestKernelNotifications> notifications, ChainType chain_type, std::shared_ptr<TestValidationInterface> validation_interface = nullptr) |
| 727 | { |
| 728 | ContextOptions options{}; |
| 729 | ChainParams params{chain_type}; |
| 730 | options.SetChainParams(params); |
| 731 | options.SetNotifications(notifications); |
| 732 | if (validation_interface) { |
| 733 | options.SetValidationInterface(validation_interface); |
| 734 | } |
| 735 | auto context{Context{options}}; |
| 736 | return context; |
| 737 | } |
| 738 | |
| 739 | BOOST_AUTO_TEST_CASE(btck_chainman_tests) |
| 740 | { |
no test coverage detected