gh#162: seeded context reaches the child’s opening message¶
Tests › tests/unit/core/delegation_manager_test.cpp
What this test is for
Why it exists
The test says nothing about why.
tests/unit/core/delegation_manager_test.cpp:1366 · its file's page
What it checks (8)
REQUIRE(result.success)observesexecute_delegationviaresultCHECK(seen.opening.find("app/include/slam/SlamConfig.hpp") != std::string::npos)not attributedCHECK(seen.opening.find("lines 40-95") != std::string::npos)not attributedCHECK(seen.opening.find("fusion weights") != std::string::npos)not attributedCHECK(seen.opening.find("src/slam/FusedPoseEstimator.cpp") != std::string::npos)not attributedCHECK(seen.opening.find("Read them directly") != std::string::npos)not attributedCHECK(seen.opening.find("latency compensation") != std::string::npos)not attributedCHECK(result.task.find("SlamConfig.hpp") != std::string::npos)observesexecute_delegationviaresult
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
gh#162: seeded context reaches the child's opening message→make_mock_tier_res→execute_delegation→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.
Also reaches 6 requirements
Its run touches their code; that is reach, not proof.
- REQ-DELEG-002 inferred
- REQ-DELEG-003 inferred
- REQ-DELEG-004 inferred
- REQ-DELEG-005 inferred
- REQ-DELEG-006 inferred
- REQ-SAFE-001 inferred