C API NULL handle returns error¶
Tests › tests/unit/storage/c_interface_test.cpp
What this test is for
Why it exists
The test says nothing about why.
tests/unit/storage/c_interface_test.cpp:89 · its file's page
What it checks (2)
REQUIRE(entropic_storage_initialize(nullptr) == ENTROPIC_ERROR_INVALID_ARGUMENT)observesentropic_storage_initializeREQUIRE(entropic_storage_save_conversation( nullptr, "id", "[]") == ENTROPIC_ERROR_INVALID_ARGUMENT)observesentropic_storage_save_conversation
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 NULL handle returns error→WHEN→REQUIRE→entropic_storage_initialize→entropic_storage_initialize→entropic_storage_save_conversation→entropic_storage_save_conversation→entropic_storage_destroy→entropic_storage_destroyWhat 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.
Also reaches 7 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-001 inferred
- REQ-STOR-002 inferred
- REQ-STOR-003 inferred
- REQ-STOR-004 inferred