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

Function test_lfm_finds_component_classes

tests/test_pascal.py:159–166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157
158
159def test_lfm_finds_component_classes():
160 from graphify.extract import extract_lazarus_form
161 r = extract_lazarus_form(FIXTURES / "sample.lfm")
162 labels = _labels(r)
163 assert any("TPanel" in l for l in labels)
164 assert any("TButton" in l for l in labels)
165 assert any("TLabel" in l for l in labels)
166 assert any("TTimer" in l for l in labels)
167
168
169def test_lfm_finds_event_handlers():

Callers

nothing calls this directly

Calls 2

extract_lazarus_formFunction · 0.90
_labelsFunction · 0.70

Tested by

no test coverage detected