almost complete update for run configurations

This commit is contained in:
Connor Peet
2021-07-12 17:28:01 -07:00
parent 9a09d4817d
commit fa9255c0de
23 changed files with 472 additions and 164 deletions

View File

@@ -2087,13 +2087,17 @@ export interface ExtHostTestingShape {
* Requires file coverage to have been previously requested via $provideFileCoverage.
*/
$resolveFileCoverage(runId: string, taskId: string, fileIndex: number, token: CancellationToken): Promise<CoverageDetails[]>;
/** Configures a test run config. */
$configureRunConfig(controllerId: string, configId: number): void;
}
export interface MainThreadTestingShape {
// --- test lifecycle:
/** Registeres that there's a test controller with the given ID */
$registerTestController(controllerId: string): void;
/** Registers that there's a test controller with the given ID */
$registerTestController(controllerId: string, label: string): void;
/** Updates the label of an existing test controller. */
$updateControllerLabel(controllerId: string, label: string): void;
/** Diposes of the test controller with the given ID */
$unregisterTestController(controllerId: string): void;
/** Requests tests published to VS Code. */