queue: depth on unconfigured handle reads zero¶
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:74 · its file's page
What it checks (3)
REQUIRE(h != nullptr)not attributedREQUIRE(entropic_user_message_queue_depth(h, &depth) == ENTROPIC_OK)observesentropic_user_message_queue_depthREQUIRE(depth == 0)not attributed
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: depth on unconfigured handle reads zero→entropic_create→entropic_create→REQUIRE→entropic_user_message_queue_depth→entropic_user_message_queue_depth→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 9 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-BRIDGE-001 inferred
- REQ-LOOP-006 inferred
- REQ-MCP-006 inferred
- REQ-MCP-025 inferred
- REQ-TYPE-001 inferred