/** * Reader for the `/xml:` result document SysTestConsole writes. * * This lives beside the runner rather than in `src/eval/` because it is loaded * at runtime by `sysTestRunner.ts`, and `src/eval/**` is a dev-only tree that * package.json's `files` list keeps out of the published tarball * (`"!dist/eval/**"`). A shipped module importing across that boundary makes * the installed server fail to start with ERR_MODULE_NOT_FOUND. The eval * oracle re-exports this from `src/eval/oracle/systest.ts`; the dependency * runs eval → tools, never the other way. */ /** One test method's outcome, read from the runner's XML result document. */ export interface SysTestCaseOutcome { name: string; passed: boolean; message?: string; } /** * Per-method outcomes from the `/xml:` document SysTestConsole writes. * * The shape is the platform's own: SysTestListenerXML builds * `` and adds a * `…` child for a failing one (the element * names are #define'd at the top of that class). Reading it beats the regex over * combined stdout that the runner used to classify with: a class named * …ErrorHandlingTest made "error" appear in the output of a passing run, and a * green run was reported as failed. * * Returns [] when the text is not such a document, so callers can fall back. */ export declare function parseSysTestXml(xml: string | null | undefined): SysTestCaseOutcome[]; //# sourceMappingURL=sysTestXml.d.ts.map