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

Function test_split_header_chains

tests/test_cpp_receiver_chains.py:52–56  ·  view source on GitHub ↗
(tmp_path, parameter, expression, owner, reverse)

Source from the content-addressed store, hash-verified

50 ("app::SmartClient& x", "([&] { x.actions->Execute(); })()", "app::Smart"),
51])
52def test_split_header_chains(tmp_path, parameter, expression, owner, reverse):
53 paths, result = _extract(tmp_path, f"void Run({parameter}) {{ {expression}; }}", reverse=reverse)
54 assert _calls(result) == [(owner, ".Execute()", "INFERRED")]
55 cached = extract(paths, root=tmp_path, cache_root=tmp_path / "cache", parallel=False)
56 assert _calls(cached) == _calls(result)
57
58
59def test_scope_and_same_named_fields(tmp_path):

Callers

nothing calls this directly

Calls 3

extractFunction · 0.90
_extractFunction · 0.70
_callsFunction · 0.70

Tested by

no test coverage detected