Documentation
¶
Overview ¶
Package contract holds shared conformance checks that every implementation of a core interface must pass. Registry plugins call these from their tests so a new backend or protocol can't silently drift from the interface contract. See docs/testing.md (Tier 2).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RxDatapath ¶
func RxDatapath(t testing.TB, d datapath.RxDatapath)
RxDatapath asserts a receive datapath honors the contract: polling and releasing must not panic, and an empty poll must not block indefinitely (the backend bounds it with a deadline).
func TxDatapath ¶
func TxDatapath(t testing.TB, d datapath.TxDatapath)
TxDatapath asserts a transmit datapath honors the contract. The datapath must be usable without external setup (e.g. memory/discard).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.