MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / test_dispatch_edge_shape

Function test_dispatch_edge_shape

tests/test_swift_protocol_dispatch.py:103–111  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

101
102
103def test_dispatch_edge_shape(tmp_path):
104 # INFERRED: the target is forced once there is a single conformer, but the
105 # source text never names it. Anchored at the conformer, where the method is.
106 _, r = _extract(tmp_path, _INJECTED)
107 edge = next(e for e in r["edges"] if e["relation"] == "dispatches_to")
108 assert edge["confidence"] == "INFERRED"
109 assert edge["confidence_score"] == 0.85
110 assert edge["context"] == "call"
111 assert edge["source_file"].endswith("RemoteStore.swift")
112
113
114def test_conformance_declared_in_an_extension_links(tmp_path):

Callers

nothing calls this directly

Calls 1

_extractFunction · 0.70

Tested by

no test coverage detected