Default backend info has name only¶
Tests › tests/unit/inference/backend_capabilities_test.cpp
What this test is for
Why it exists
The test says nothing about why.
tests/unit/inference/backend_capabilities_test.cpp:201 · its file's page
What it checks (7)
REQUIRE(bi.name == "default_mock")not attributedREQUIRE(bi.compute_device.empty())not attributedREQUIRE(bi.model_format.empty())not attributedREQUIRE(bi.architecture.empty())not attributedREQUIRE(bi.max_context_length == 0)not attributedREQUIRE(bi.parameter_count == 0)not attributedREQUIRE(bi.vram_bytes == 0)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
Default backend info has name only→WHEN→REQUIREWhat 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.