queue: NULL message argument is rejected¶
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:39 · its file's page
What it checks (2)
REQUIRE(h != nullptr)not attributedREQUIRE(entropic_queue_user_message(h, nullptr) == ENTROPIC_ERROR_INVALID_ARGUMENT)observesentropic_queue_user_message
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: NULL message argument is rejected→entropic_create→entropic_create→REQUIRE→entropic_queue_user_message→entropic_queue_user_message→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