Double-configure on one handle is refused

Tests › tests/unit/api/multi_handle_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/multi_handle_test.cpp:76 · its file's page

What it checks (3)

  1. REQUIRE(entropic_create(&h) == ENTROPIC_OK) observes entropic_create
  2. REQUIRE(entropic_configure(h, R"({"log_level":"WARN"})") == ENTROPIC_OK) observes entropic_configure
  3. REQUIRE(err == ENTROPIC_ERROR_INVALID_STATE) observes entropic_configure via err

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

Double-configure on one handle is refused→REQUIRE→entropic_create→entropic_create→entropic_configure→entropic_configure→WHEN→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.

Double-configure on one handle is refused · 3 checksentropic_createREQ-ABI-001 · inferredentropic_configureREQ-ABI-002 · inferredentropic_createREQ-API-002 · inferredentropic_createREQ-API-003 · inferredentropic_configureREQ-API-004 · inferredentropic_configureREQ-API-005 · inferredentropic_configure… 10 calls …entropic_last_errorREQ-API-007 · inferredentropic_configure… 8 calls …entropic_versionREQ-API-008 · inferredentropic_configure… 3 calls …rewire_observersREQ-API-010 · inferredWHENfailure_detailREQ-API-012 · inferredentropic_configuredo_configure_jsonconfigure_commoninit_orchestratorREQ-API-013 · inferredentropic_destroystopREQ-BRIDGE-001 · inferred

and 64 more requirement paths, listed below.

Also reaches 79 requirements

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