Validation and bring-up assertion tests¶
Test cases for validation and bring-up assertions (Validation and bring-up ass... (FEAT_0085)).
Live under crates/ethercat-netcfg-codegen/tests/validation/.
A fixture with two routings overlapping the same bit range in the same
SubDevice and direction fails the build. Adding |
A table-driven test feeds one fixture per fault — a slice past the ESI
process-image size, |
A fixture leaving an unmapped bit range in a device’s process image builds successfully and emits a non-fatal warning naming the gap. |
Driving the generated identity / alias table and |
Resolution + arithmetic + codegen. An rx-carrying device with no
override resolves to FTTI/2 (default 100 ms → 500 ticks of 100 µs at
divider 2498); a per-device |
The Validate the SM-watchdog bo... (REQ_0845) matrix. PASS: ESI output SM with the watchdog
trigger enabled and default FTTI/2; an override below the bound. FAIL:
an override above FTTI/2; an ESI output SM declaring the watchdog
trigger disabled; an inline output device with no
|
|