(file: string)
| 219 | |
| 220 | /** `qualifiedName (file)` of every call the file's symbols make. */ |
| 221 | const callsFrom = (file: string): string[] => { |
| 222 | const ids = cg.getNodesInFile(file).map((n) => n.id); |
| 223 | return cg.getOutgoingEdgesFrom(ids).filter((e) => e.kind === 'calls').map((e) => { |
| 224 | const target = cg.getNode(e.target)!; |
| 225 | return `${target.qualifiedName} (${target.filePath})`; |
| 226 | }); |
| 227 | }; |
| 228 | |
| 229 | describe('a C/C++ file named like a test that the program includes', () => { |
| 230 | it('links a call through the base class its suite derives from', () => { |
no test coverage detected