Expand description
Canonical cross-language Golden Fixtures embedded for consistency suites.
This module is available only with the non-default fixtures feature.
Every value is embedded directly from crates/protocol/fixtures, so users
do not need repository-relative filesystem paths and there is no copied
fixture body that can drift from the canonical source.
Structs§
- Canonical
Fixture - One canonical fixture embedded in the protocol crate.
Constants§
- CANONICAL_
FIXTURES - Every JSON fixture named by
MANIFEST_JSON, in stable path order. - DEVICES_
LIST_ REQUEST_ JSON - Canonical
devices.listrequest fixture. - DEVICES_
LIST_ RESPONSE_ JSON - Canonical
devices.listresponse fixture. - DEVICE_
CONNECT_ REQUEST_ JSON - Canonical
device.connectrequest fixture. - DEVICE_
CONNECT_ RESPONSE_ JSON - Canonical
device.connectresponse fixture. - EVENTS_
STREAM_ EVENT_ NOTIFICATION_ JSON - Canonical event-stream event notification fixture.
- EVENTS_
STREAM_ TERMINAL_ NOTIFICATION_ JSON - Canonical event-stream terminal notification fixture.
- MANIFEST_
JSON - Exact canonical fixture manifest JSON.
- RPC_
FAILURE_ JSON - Canonical JSON-RPC failure fixture.
- SYSTEM_
HELLO_ REQUEST_ JSON - Canonical
system.hellorequest fixture. - SYSTEM_
HELLO_ RESPONSE_ JSON - Canonical
system.helloresponse fixture.
Functions§
- fixture_
json - Returns the exact canonical JSON for a manifest-relative fixture path.