Wiki
  • Requirements
  • Flows
  • Tests
  • Change impact
  • Map
  • Architecture
  • Docs
  • API
  • SBOM

C API search¶

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:213 · its file's page

What it checks (2)

  1. REQUIRE(err == ENTROPIC_OK) observes entropic_storage_search_conversations via err
  2. REQUIRE(arr.size() >= 1) not attributed

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

C API search→entropic_storage_create_conversation→entropic_storage_create_conversation→entropic_storage_save_conversation→entropic_storage_save_conversation→WHEN→entropic_storage_search_conversations→entropic_storage_search_conversations→REQUIRE

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 search · 2 checksentropic_storage_create_conversationREQ-ABI-001 · inferredentropic_storage_create_conversationREQ-ABI-002 · inferredWHENfailure_detailREQ-API-012 · inferredentropic_storage_create_conversationcreate_conversationexecuteREQ-STOR-002 · inferredentropic_storage_create_conversationREQ-STOR-003 · inferredentropic_storage_search_conversationsREQ-STOR-004 · inferred
Also reaches 6 requirements

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

  • REQ-ABI-001 inferred
  • REQ-ABI-002 inferred
  • REQ-API-012 inferred
  • REQ-STOR-002 inferred
  • REQ-STOR-003 inferred
  • REQ-STOR-004 inferred
Wiki Generated by clew wiki from the repository's index