c3bf8d2054
In this commit, we create a new channel arb test context struct as the current `createTestChannelArbitrator` has several return parameters, and upcoming changes will likely at first glance need to add one or more additional parameters. Rather than extend the existing set of return parameters, we opt to instead create this struct that wraps the existing state. Along the way we add several new utility methods to this context, and use them in the existing tests where applicable: * `AssertStateTransitions` * `AssertState` * `Restart` * `CleanUp` |
||
---|---|---|
.. | ||
briefcase_test.go | ||
briefcase.go | ||
chain_arbitrator_test.go | ||
chain_arbitrator.go | ||
chain_watcher_test.go | ||
chain_watcher.go | ||
channel_arbitrator_test.go | ||
channel_arbitrator.go | ||
commit_sweep_resolver.go | ||
contract_resolvers.go | ||
htlc_incoming_contest_resolver.go | ||
htlc_incoming_resolver_test.go | ||
htlc_outgoing_contest_resolver.go | ||
htlc_success_resolver.go | ||
htlc_timeout_resolver_test.go | ||
htlc_timeout_resolver.go | ||
interfaces.go | ||
log.go | ||
mock_registry_test.go | ||
utils_test.go |