queue: observer registration is allowed pre-configure¶
Tests › tests/unit/api/message_queue_abi_test.cpp
What this test is for
Why it exists
The test says nothing about why.
tests/unit/api/message_queue_abi_test.cpp:99 · its file's page
What it checks (3)
REQUIRE(h != nullptr)not attributedREQUIRE(entropic_set_queue_observer(h, cb, nullptr) == ENTROPIC_OK)observesentropic_set_queue_observerREQUIRE(entropic_set_queue_observer(h, nullptr, nullptr) == ENTROPIC_OK)observesentropic_set_queue_observer
Where the product reaches it
No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.
Call flow
queue: observer registration is allowed pre-configure→entropic_create→entropic_create→REQUIRE→entropic_set_queue_observer→entropic_destroy→entropic_destroyWhat it reaches
Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.
Also reaches 10 requirements
Its run touches their code; that is reach, not proof.
- REQ-ABI-001 inferred
- REQ-API-002 inferred
- REQ-API-003 inferred
- REQ-API-005 inferred
- REQ-API-010 inferred
- REQ-BRIDGE-001 inferred
- REQ-LOOP-006 inferred
- REQ-MCP-006 inferred
- REQ-MCP-025 inferred
- REQ-TYPE-001 inferred