shutdown clears in-process servers and is safe to call multiple times

Tests › tests/unit/mcp/server_manager_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/mcp/server_manager_test.cpp:264 · its file's page

What it checks (3)

  1. REQUIRE_FALSE(mgr.server_names().empty()) observes server_names
  2. REQUIRE(mgr.server_names().empty()) observes server_names
  3. REQUIRE(mgr.server_names().empty()) observes server_names

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

shutdown clears in-process servers and is safe to call multiple times→register_server→initialize→server_names→shutdown→REQUIRE→PingServer

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.

shutdown clears in-process servers and is safe to call multiple times · 3 checksPingServerregister_toolREQ-MCP-001 · inferredPingServerregister_toolREQ-MCP-003 · inferredshutdownREQ-MCP-006 · inferredserver_namesREQ-MCP-007 · inferredshutdownREQ-MCP-025 · inferredinitialize… 4 calls …send_initializeREQ-MCP-026 · inferred
Also reaches 6 requirements

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