queue: enqueue on idle handle returns INVALID_STATE

Tests › tests/unit/api/message_queue_abi_test.cpp

absent Not in the packaged run: no test report names it.

What this test is for

Why it exists

The test says nothing about why.

tests/unit/api/message_queue_abi_test.cpp:61 · its file's page

What it checks (2)

  1. REQUIRE(h != nullptr) not attributed
  2. REQUIRE(entropic_queue_user_message(h, "x") == ENTROPIC_ERROR_INVALID_STATE) observes entropic_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: enqueue on idle handle returns INVALID_STATE→entropic_create→entropic_create→REQUIRE→entropic_queue_user_message→entropic_queue_user_message→entropic_destroy→entropic_destroy

What 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.

queue: enqueue on idle handle returns INVALID_STATE · 2 checksentropic_createREQ-ABI-001 · inferredentropic_createREQ-API-002 · inferredentropic_createREQ-API-003 · inferredentropic_queue_user_messageREQ-API-005 · inferredentropic_destroystopREQ-BRIDGE-001 · inferredentropic_destroystopjoin_async_workersinterruptREQ-LOOP-006 · inferredentropic_destroyshutdownREQ-MCP-006 · inferredentropic_destroyshutdownREQ-MCP-025 · inferredentropic_destroyunregister_handle_logREQ-TYPE-001 · inferred
Also reaches 9 requirements

Its run touches their code; that is reach, not proof.