Per-file results still carry the ABSOLUTE path the extractor was handed.
()
| 173 | |
| 174 | |
| 175 | def _per_file() -> list[dict]: |
| 176 | """Per-file results still carry the ABSOLUTE path the extractor was handed.""" |
| 177 | return [ |
| 178 | {"nodes": [{"id": "datamodules_shared_pas", "label": "Shared.pas", |
| 179 | "source_file": r"C:\proj\DataModules\Shared.pas"}], |
| 180 | "edges": [], "raw_calls": [], |
| 181 | "global_vars": {"shareddm": "tshareddm"}}, |
| 182 | {"nodes": [{"id": "projects_app_appform_pas", "label": "AppForm.pas", |
| 183 | "source_file": r"C:\proj\Projects\App\AppForm.pas"}], |
| 184 | "edges": [], |
| 185 | "raw_calls": [{"source_file": r"C:\proj\Projects\App\AppForm.pas", |
| 186 | "source_location": "L15", "caller_nid": "appform_go", |
| 187 | "callee": "loadperiod", "qualifier": "shareddm"}], |
| 188 | "global_vars": {}}, |
| 189 | ] |
| 190 | |
| 191 | |
| 192 | def test_uses_resolves_when_the_unit_stub_has_no_node_yet(): |
no outgoing calls
no test coverage detected