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

Function test_java_no_dangling_edges

tests/test_languages.py:120–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118 assert all(e.get("context") == "import" for e in import_edges)
119
120def test_java_no_dangling_edges():
121 r = extract_java(FIXTURES / "sample.java")
122 node_ids = {n["id"] for n in r["nodes"]}
123 for e in r["edges"]:
124 assert e["source"] in node_ids
125
126
127def test_java_enum_constants_have_case_of_edge():

Callers

nothing calls this directly

Calls 1

extract_javaFunction · 0.90

Tested by

no test coverage detected