rust-lightning/lightning
Jeffrey Czyz 80e81fbea3
Mock-like expectations for TestChainSource
Add a method to TestChainSource to test chain::Filter expectations. This
is limited to register_output, allowing tests to assert that the method
was called with a specific output and dictate what the return value is.

Multiple expectations are checked in the order in which they were added.
Failure occurs if a call doesn't match the next expectation or if there
are unsatisfied expectations. If not expectations are added, then no
calls are checked.
2021-03-27 18:21:05 -04:00
..
src Mock-like expectations for TestChainSource 2021-03-27 18:21:05 -04:00
Cargo.toml Update licenses and add missing fields in Cargo.toml files 2021-03-09 16:53:03 -05:00