gh#220: a port another listener holds is refused, not shared

Tests › tests/unit/api/http_listener_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/http_listener_test.cpp:323 · its file's page

What it checks (3)

  1. REQUIRE(first.start(err)) observes start
  2. CHECK_FALSE(started) observes start via started
  3. CHECK(slurp(first.token_file()) == token) observes slurp

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

gh#220: a port another listener holds is refused, not shared→dir→REQUIRE→start→port→slurp→token_file→stop

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.

gh#220: a port another listener holds is refused, not shared · 3 checksstart… 4 calls …entropic_versionREQ-ABI-001 · inferredstart… 6 calls …entropic_session_bind_workspaceREQ-ABI-002 · inferredstart… 6 calls …entropic_last_errorREQ-API-003 · inferredstart… 6 calls …entropic_session_bind_workspaceREQ-API-005 · inferredstart… 6 calls …entropic_last_errorREQ-API-007 · inferredstart… 4 calls …entropic_versionREQ-API-008 · inferredstart… 7 calls …claim_exclusiveREQ-API-009 · inferredstart… 8 calls …entropic_set_state_observerREQ-API-010 · inferredstart… 6 calls …handle_askREQ-API-012 · inferredstopREQ-BRIDGE-001 · inferredstart… 9 calls …resolve_data_dirREQ-CFG-008 · inferredstart… 8 calls …entropic_run_session_asREQ-IDEN-001 · inferred

and 21 more requirement paths, listed below.

Also reaches 41 requirements

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