testing: implement retired test state

Fixes https://github.com/microsoft/vscode/issues/115086
This commit is contained in:
Connor Peet
2021-02-10 15:32:11 -08:00
parent e9b69cd273
commit c36a09929c
9 changed files with 75 additions and 2 deletions

View File

@@ -51,6 +51,17 @@ export class MainThreadTesting extends Disposable implements MainThreadTestingSh
}
}
/**
* @inheritdoc
*/
$retireTest(extId: string): void {
for (const result of this.resultService.results) {
if (result instanceof LiveTestResult) {
result.retire(extId);
}
}
}
/**
* @inheritdoc
*/