refactor(test): merge the state action test devices

- Replace TestExceptions, TestErrorState, TestSignals and TestWaitFor
  with one StateAction device; the id selects the action and the state
- Run the device tests through test::RunDevices() instead of
  EXPECT_EXIT() and check the exit code and the expected log line

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-11-03 14:27:49 +00:00
committed by Dennis Klein
parent be400e4752
commit 2a57a38efe
11 changed files with 224 additions and 477 deletions

View File

@@ -50,9 +50,8 @@ add_testhelper(runTestDevice
helper/devices/TestReq.h
helper/devices/TestSub.h
helper/devices/TestDevice.h
helper/devices/TestStateAction.h
helper/devices/TestTransferTimeout.h
helper/devices/TestWaitFor.h
helper/devices/TestExceptions.h
LINKS FairMQ
${definitions}