Commit Graph

9 Commits

Author SHA1 Message Date
Claude
69064731af 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>
2026-11-03 17:00:01 +01:00
Claude
df403279a5 fix(test): compare the string event value with the expected value
- the SubscribeAsString() callback compared the received value with its
  own string conversion, so the check could not fail
- compare it with the string conversion of the value that the test set

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 17:00:01 +01:00
Dennis Klein
05b734ee0d feat!: Migrate to std::filesystem consistently 2023-03-06 15:32:48 +01:00
Dennis Klein
cb4335e59f Add test coverage for --channel-config name selector 2021-03-05 02:02:14 +01:00
Alexey Rybalchenko
0e5978b160 Properties: add output support for shorts 2020-10-06 16:17:37 +02:00
Alexey Rybalchenko
5a782e8726 Add a test for unregisted options 2020-05-28 17:23:18 +02:00
Dennis Klein
4af0393c11 Test.Properties: Refine 2019-07-10 19:35:18 +02:00
Dennis Klein
12f05355d3 ProgOptions: Fix minor things 2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
4cefb9fb5b Add tests for property conversions and subscriptions 2019-07-10 19:35:18 +02:00