test(properties): add tests for the JSON and suboption channel parsers

- JSONParser: sub-channels inherit and override the channel values,
  numSockets expansion, defaults, device selection by key or id,
  errors for no id, no fairMQOptions, no channel name and no file
- SuboptParser: all keys with their types, one sub-channel per address,
  numSockets, unknown keys, no channel name, no device id
- Add disabled tests for a known defect: a value of the wrong type
  silently gives the default

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-11-03 14:48:18 +00:00
committed by Dennis Klein
parent dadbecf49b
commit 69064731af
3 changed files with 248 additions and 0 deletions

View File

@@ -247,6 +247,7 @@ add_testsuite(EventManager
add_testsuite(Properties
SOURCES
${CMAKE_CURRENT_BINARY_DIR}/runner.cxx
properties/_jsonparser.cxx
properties/_properties.cxx
properties/_suboptparser.cxx