test(transport): add tests for the transport factory API edges

- An unknown transport name throws; an empty id gets a uuid
- shmem refuses pub and sub sockets, zeromq creates them
- GetType() per transport
- Receive is interrupted after Interrupt() and works after Resume()
- NewSimpleMessage() copies string, literal and value data;
  NewStaticMessage() uses the caller's buffer

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-11-03 14:50:33 +00:00
committed by Dennis Klein
parent 03465e1993
commit bf128e0044
2 changed files with 150 additions and 0 deletions

View File

@@ -286,6 +286,7 @@ add_testsuite(Channel
add_testsuite(Transport
SOURCES
${CMAKE_CURRENT_BINARY_DIR}/runner.cxx
transport/_factory.cxx
transport/_transfer_timeout.cxx
transport/_options.cxx
transport/_shmem.cxx