AbCip: ParseEnum transport error wording + probe test positive assertion #574

Closed
opened 2026-10-07 19:02:15 -04:00 by dohertj2 · 1 comment
Owner

Context: native .NET Allen-Bradley transport work (plan docs/plans/2026-10-07-native-ab-transport.md, branch feat/native-ab-transport, not yet merged). Parked as a Minor during per-task review — none of these block the plan.

Small AbCip config/probe polish:

  • ParseEnum error text for a bad transport reads "AB CIP tag 'driver' has unknown Transport" — the shared helper's wording assumes a tag context. Pre-existing for PlcFamily too.
  • The Test Connect probe test proves the libplctag path only by ShouldNotContain("Connection lost") — add a positive assertion on libplctag's own error text.
Context: native .NET Allen-Bradley transport work (plan `docs/plans/2026-10-07-native-ab-transport.md`, branch `feat/native-ab-transport`, not yet merged). Parked as a Minor during per-task review — none of these block the plan. Small AbCip config/probe polish: - [ ] `ParseEnum` error text for a bad `transport` reads "AB CIP tag 'driver' has unknown Transport" — the shared helper's wording assumes a tag context. Pre-existing for `PlcFamily` too. - [ ] The Test Connect probe test proves the libplctag path only by `ShouldNotContain("Connection lost")` — add a positive assertion on libplctag's own error text.
dohertj2 added the driver/abcip label 2026-10-07 19:02:15 -04:00
Author
Owner

Fixed: PlcFamily ParseEnum wording (Transport was already correct); probe tests positively assert libplctag's timeout text (later made load-tolerant in 277cd6ee). (merge 7105ef3e on master, pushed 2026-10-08)

Fixed: PlcFamily ParseEnum wording (Transport was already correct); probe tests positively assert libplctag's timeout text (later made load-tolerant in 277cd6ee). (merge `7105ef3e` on master, pushed 2026-10-08)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#574