oxidecomputer / dropshot

expose REST APIs from a Rust program
Apache License 2.0
843 stars 74 forks source link

[13/n] [dropshot_endpoint] support channels in API traits #1038

Closed sunshowers closed 2 months ago

sunshowers commented 3 months ago

Building on the work in the last few PRs, this is relatively straightforward. The bulk of the PR is simply tests for bad channels -- we now have mirrored tests for all four combinations of (macro kind, endpoint kind).

sunshowers commented 3 months ago

@ahl whenever you're back a review on this would be really appreciated. It is mostly tests with ~500 lines of real code. thanks!