test(parts): add tests for Parts access and pmr messages on all transports

- Parts: variadic constructor, At() and operator[] (const and not),
  At() out of range throws, Empty(), Clear(), move
- Transfer of Parts with an empty part on all transports
- A pmr container from the transport memory resource becomes a message
  without a copy and transfers its data, on all transports
- Add disabled tests for two known defects: zeromq refuses an empty
  Parts and shmem sends it; shmem Receive(Parts) of a single-message
  Send() reads the message size as the number of parts and crashes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-11-03 14:52:14 +00:00
committed by Dennis Klein
parent bf128e0044
commit cc3297b2fd
3 changed files with 213 additions and 0 deletions

View File

@@ -84,6 +84,7 @@ add_testsuite(Protocols
add_testsuite(Parts
SOURCES
${CMAKE_CURRENT_BINARY_DIR}/runner.cxx
parts/_access.cxx
parts/_add_part.cxx
parts/_iterator_interface.cxx