test_standaloneMsgKeepAlive

test_standaloneMsgKeepAlive.test_addSubscriberKeepsSourceAlive()[source]

A reader returned by addSubscriber() keeps its C++ source alive.

test_standaloneMsgKeepAlive.test_copyAssignmentSurvivesReentrantUnsubscribe()[source]

A reader-vector copy assignment commits after a reentrant unsubscribe.

test_standaloneMsgKeepAlive.test_messageRecorderKeepsSourceAlive()[source]

A recorder keeps its stand-alone C++ source alive until the recorder is destroyed.

test_standaloneMsgKeepAlive.test_moveAssignmentRejectsReentrantKeepAlive()[source]

A reentrant subscribe during move assignment does not leak its source.

test_standaloneMsgKeepAlive.test_releaseKeepAliveIsReentrantSafe()[source]

A source weakref callback may safely re-enter unsubscribe().

test_standaloneMsgKeepAlive.test_standaloneMsgSurvivesGarbageCollection()[source]

A C++ reader subscribed to a stand-alone C++ message keeps that message alive across GC.

test_standaloneMsgKeepAlive.test_unsubscribeRejectsReentrantKeepAlive()[source]

A reentrant subscribe during unsubscribe does not retain its source.

test_standaloneMsgKeepAlive.test_unsubscribeReleasesKeepAlive()[source]

unsubscribe() must drop the keep-alive reference without crashing.