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

Function test_dfm_finds_component_classes

tests/test_pascal.py:259–266  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

257
258
259def test_dfm_finds_component_classes():
260 from graphify.extract import extract_delphi_form
261 r = extract_delphi_form(FIXTURES / "sample.dfm")
262 labels = _labels(r)
263 assert any("TPanel" in l for l in labels)
264 assert any("TButton" in l for l in labels)
265 assert any("TMemo" in l for l in labels)
266 assert any("TStatusBar" in l for l in labels)
267
268
269def test_dfm_finds_event_handlers():

Callers

nothing calls this directly

Calls 2

extract_delphi_formFunction · 0.90
_labelsFunction · 0.70

Tested by

no test coverage detected