C API delegation round-trip

Tests › tests/unit/storage/c_interface_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/storage/c_interface_test.cpp:145 · its file's page

What it checks (3)

  1. REQUIRE(err == ENTROPIC_OK) observes entropic_storage_create_delegation via err
  2. REQUIRE(del_id.size() == 36) not attributed
  3. REQUIRE(err == ENTROPIC_OK) observes entropic_storage_complete_delegation 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

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.

C API delegation round-trip · 3 checksentropic_storage_complete_delegationREQ-ABI-001 · inferredentropic_storage_complete_delegationREQ-ABI-002 · inferredWHENfailure_detailREQ-API-012 · inferredentropic_storage_complete_delegationcomplete_delegationexecuteREQ-STOR-002 · inferredentropic_storage_create_conversationREQ-STOR-003 · inferredentropic_storage_complete_delegationREQ-STOR-005 · inferred
Also reaches 6 requirements

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