testing: add method to publish extension-provided results

This commit is contained in:
Connor Peet
2021-02-18 17:29:39 -08:00
parent 52ebf0c7f8
commit 5a0bf3751a
11 changed files with 263 additions and 61 deletions

View File

@@ -1864,6 +1864,7 @@ export interface MainThreadTestingShape {
$publishDiff(resource: ExtHostTestingResource, uri: UriComponents, diff: TestsDiff): void;
$updateTestStateInRun(runId: string, testId: string, state: ITestState): void;
$runTests(req: RunTestsRequest, token: CancellationToken): Promise<string>;
$publishExtensionProvidedResults(results: ISerializedTestResults, persist: boolean): void;
$retireTest(extId: string): void;
}