Skip to content

Commit 280a21c

Browse files
committed
test(shm): add comprehensive unit tests for shared memory
- Test low-level API (acquire, get_mem, release, remove) - Test reference counting functionality (get_ref, sub_ref) - Test high-level handle class interface - Test all handle methods (valid, size, name, get, etc.) - Test handle lifecycle (construction, move, swap, assignment) - Test different access modes (create, open, create|open) - Test detach/attach functionality - Test multi-handle access to same memory - Test data persistence across handles - Test edge cases (large segments, multiple simultaneous handles)
1 parent 3d743d5 commit 280a21c

File tree

1 file changed

+499
-0
lines changed

1 file changed

+499
-0
lines changed

0 commit comments

Comments
 (0)